younifyd
Menu

Get V2 Promotions Promotionid Jobs Jobid File

Get Promotion Code Exported File

GET/v2/promotions/{promotionID}/jobs/{jobID}/file

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Get V2 Promotions Promotionid Jobs Jobid File action (under Promotions).
  3. Fill in the fields below, then reference the result from later steps as {{getV2PromotionsPromotionidJobsJobidFile.response.data}}.

Request

Path parameters

promotionIDstringrequired

The unique identifier of a promotion.

jobIDstringrequired

The unique identifier of a job associated with the file.

Headers

Authorizationstring (Bearer)required

The Bearer token required to get access to the API.

Response

Returns 200 with an object. Read it in later steps with {{getV2PromotionsPromotionidJobsJobidFile.response.data.<field>}}.

hrefstring

URL to download the CSV file.

json
{
  "href": "string"
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Get V2 Promotions Promotionid Jobs Jobid File — Elastic Path — Documentation