Menu
Get Catalog By ID
Get a catalog by ID
GET
/catalogs/{catalog_id}Use it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Get Catalog By ID action (under Catalog).
- Fill in the fields below, then reference the result from later steps as
{{getCatalogById.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getCatalogById.response.data.<field>}}.
{
"data": {
"id": "8dbb35b2-ef04-477e-974d-e5f3abe6faae",
"attributes": {
"name": "catalog-123",
"hierarchy_ids": [
"string"
],
"created_at": "2020-09-22T09:00:00",
"updated_at": "2020-09-22T09:00:00",
"description": "Catalog for Store 123",
"pricebook_id": "string",
"pricebook_ids": [
{
"id": "00000000-0000-0000-0000-000000000000",
"priority": 0
}
],
"locales": {},
"owner": "store",
"enable_price_segmentation": true,
"include_draft_products": false
},
"type": "catalog",
"relationships": {
"rules": {
"links": {
"related": "string"
}
},
"releases": {
"links": {
"related": "string"
},
"meta": {
"count": 0
}
}
}
},
"links": {
"self": "string",
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?