Menu
Get an promotion item set by id
Get an promotion item set by id
GET
/promotions/item-sets/{promotionItemSetId}Use it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Get an promotion item set by id action (under PromotionItemSets).
- Fill in the fields below, then reference the result from later steps as
{{getAnPromotionItemSetById.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getAnPromotionItemSetById.response.data.<field>}}.
{
"name": "T-Shirts",
"eligibleItemsQuantity": 1,
"id": "64cbc70225ae598c0d0d0334",
"variantIds": [
1,
2,
3
],
"condition": "payload.items.exists(i, 11003 in i.variant.id)"
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?