Menu
Get variant reduction for given campaign
Get variant reduction for given campaign
GET
/shops/{shopKey}/campaigns/{campaignId}/reductions/variantsUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Get variant reduction for given campaign action (under Campaigns).
- Fill in the fields below, then reference the result from later steps as
{{getVariantReductionForGivenCampaign.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getVariantReductionForGivenCampaign.response.data.<field>}}.
{
"entities": [
{
"reduction": 10,
"id": 1,
"productVariantId": 1,
"productVariantReferenceKey": "M0001-red-s"
}
],
"cursor": {
"next": "MQ=="
}
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?