Menu
Publish Release
Publishes a catalog
POST
/catalogs/{catalog_id}/releasesUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Publish Release action (under Catalog).
- Fill in the fields below, then reference the result from later steps as
{{publishRelease.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"export_full_delta": false,
"include_organization_resources": false
}
}
Response
Returns 201 with an object. Read it in later steps with {{publishRelease.response.data.<field>}}.
{
"data": {
"id": "8dbb35b2-ef04-477e-974d-e5f3abe6faae",
"attributes": {
"name": "Clothing",
"published_at": "1970-01-01T00:00:00.000",
"catalog_id": "0194f54d-f2a1-4e33-9a6e-9ec366152490",
"description": "Catalog for Store 123",
"hierarchies": [
{
"id": "65477ce0-fcb8-436b-a120-3d57979421dd",
"label": "category",
"name": "Formal dresswear"
}
]
},
"relationships": {
"delta": {
"links": {
"related": "string"
}
},
"products": {
"links": {
"related": "string"
}
},
"hierarchies": {
"links": {
"related": "string"
}
}
},
"type": "string",
"meta": {
"created_at": "1970-01-01T00:00:00.000",
"started_at": "1970-01-01T00:00:00.000",
"updated_at": "1970-01-01T00:00:00.000",
"release_status": "PENDING",
"language": "en-GB",
"is_full_publish": false,
"is_full_delta": false,
"total_products": 0,
"total_nodes": 0,
"percent_completed": 0,
"owner": "store",
"price_segmentation_enabled": false
}
},
"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?