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