User guide migration in progress! Read the migration guide ๐
cURL
curl --request DELETE \ --url https://{cluster}.voucherify.io/v1/promotions/tiers/{promotionTierId} \ --header 'Authorization: Bearer <token>' \ --header 'X-App-Id: <api-key>' \ --header 'X-App-Token: <api-key>'
{ "code": 404, "key": "not_found", "message": "Resource not found", "details": "Cannot find promotion_tier with id promo_2EnAik6Jt7dKTOMkRTIgEjZ", "request_id": "v-0ae284707e9027a79d", "resource_id": "promo_2EnAik6Jt7dKTOMkRTIgEjZ", "resource_type": "promotion_tier" }
This method deletes a promotion tier.
The access token received from the authorization server in the OAuth 2.0 flow.
Unique promotion tier ID.
"promo_2EnAik6Jt7dKTOMkRTIgEjZH"
Returns no content if deletion is successful.
Was this page helpful?