Menu
Post V2 Promotions Promotionid Jobs Jobid Cancel
Cancel a Job
POST
/v2/promotions/{promotionID}/jobs/{jobID}/cancelUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Post V2 Promotions Promotionid Jobs Jobid Cancel action (under Promotions).
- Fill in the fields below, then reference the result from later steps as
{{postV2PromotionsPromotionidJobsJobidCancel.response.data}}.
Request
Path parameters
Headers
Response
Returns 200 with an object. Read it in later steps with {{postV2PromotionsPromotionidJobsJobidCancel.response.data.<field>}}.
{
"data": {
"id": "string",
"type": "promotion_job",
"promotion_id": "string",
"job_type": "string",
"name": "string",
"parameters": {},
"status": "string",
"meta": {
"timestamps": {
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:00:00Z"
}
}
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?