Pimcore data can be exposed with Datahub. Under the hood it utilizes GraphQL query language. For the component to work this bundle must be installed and enabled.
Once the bundle is installed you can go to Datahub - Add Configurations -> GraphQL and setup query, mutation schemas, API keys, permission access, etc. from there.
The component has been tested with Pimcore v10.5.14.
No required variables.
This component has no trigger functions. This means it will not be accessible to select as a first component during the integration flow design.
Action to execute provided raw GraphQL request string
There is no configuration fields in this action.
query {
getCar(id: 308) {
name
description
color
priceInEUR
}
}
{
"data": {
"getCar": {
"name": "600",
"description": "<p>The BMW 600 is a four-seater microcar produced by the German automaker BMW from mid-1957 until November 1959. Partially based on the BMW Isetta two-seater, it was BMW's first postwar four-seater economy car. It was not a sales success, but it began the design process for its more successful successor, the BMW 700.</p>\n",
"color": [
"red",
"white"
],
"priceInEUR": 47195.95
}
}
}