younifyd
Menu

Get Rule Promotion Job File

Get Rule Promotion Code Exported File

GET/v2/rule-promotions/{uuid}/jobs/{job-uuid}/file

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Get Rule Promotion Job File action (under Promotions Builder).
  3. Fill in the fields below, then reference the result from later steps as {{getRulePromotionJobFile.response.data}}.

Request

Path parameters

uuidstringrequired

The unique identifier of the rule promotion.

job-uuidstringrequired

The unique identifier of the job associated with the file.

Response

Returns 200 with an object. Read it in later steps with {{getRulePromotionJobFile.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 Rule Promotion Job File — Elastic Path — Documentation