Get Promotion Stack
curl --request GET \
--url https://{cluster}.voucherify.io/v1/promotions/{campaignId}/stacks/{stackId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"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"
}
}Get Promotion Stack
This method returns the details of a promotion stack, including the promotion tiers grouped within the stack.
GET
/
v1
/
promotions
/
{campaignId}
/
stacks
/
{stackId}
Get Promotion Stack
curl --request GET \
--url https://{cluster}.voucherify.io/v1/promotions/{campaignId}/stacks/{stackId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"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"
}
}Authorizations
X-App-Id & X-App-TokenX-Voucherify-OAuth
Scopes
Path Parameters
Response
Returns a stack object if valid identifiers were provided in the path.
Response body schema for GET v1/promotions/{campaignId}/stacks/{stackId}.

