Menu
Get A Custom Api
Get a Custom API
GET
/v2/settings/extensions/custom-apis/{custom-api-id}Use it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get A Custom Api action (under Commerce Extensions).
- Fill in the fields below, then reference the result from later steps as
{{getACustomApi.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getACustomApi.response.data.<field>}}.
{
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"type": "string",
"name": "string",
"description": "string",
"slug": "string",
"api_type": "string",
"allow_upserts": false,
"presentation": {
"page": "string",
"section": "string"
},
"links": {
"self": "string"
},
"meta": {
"timestamps": {
"created_at": "2017-01-10T11:41:19.244Z",
"updated_at": "2017-01-10T11:41:19.244Z"
}
},
"relationships": {
"parent_apis": {
"data": [
{
"id": "652e39d8-d613-493e-8c20-fef99ad6327a",
"type": "custom_api"
}
]
}
}
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?