Menu
Get promotions codes belonging to a specific promotion
Get promotions codes belonging to a specific promotion
GET
/promotions/{promotionId}/codesUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Get promotions codes belonging to a specific promotion action (under PromotionCodes).
- Fill in the fields below, then reference the result from later steps as
{{getPromotionsCodesBelongingToASpecificPromotion.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getPromotionsCodesBelongingToASpecificPromotion.response.data.<field>}}.
{
"entities": [
{
"code": "BF24",
"enabled": true
}
],
"cursor": {
"next": "MQ=="
}
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?