cURL
curl --request GET \ --url https://{cluster}.voucherify.io/v1/promotions/{campaignId}/stacks/{stackId} \ --header 'Authorization: Bearer <token>' \ --header 'X-App-Id: <api-key>' \ --header 'X-App-Token: <api-key>'
200
Example
{ "id": "stack_p0WhtyyDU95crobleMpRabhH", "name": "First stack", "created_at": "2022-09-22T13:03:25.740Z", "campaign_id": "camp_99HUWI53bVyLzPN1Fg5TBLWX", "object": "promotion_stack", "tiers": { "ids": [ "promo_dJNhAEeV5sR5oPQq1UrUdnMC", "promo_aaAF8mVAzA0PF1igia2OC63d" ], "hierarchy_mode": "MANUAL" }}
This method returns the details of a promotion stack, including the promotion tiers grouped within the stack.
Show child attributes
promotion_stack
Was this page helpful?