cURL
curl --request POST \ --url https://api.smokeball.com/subscriptions/{subscriptionId}/promotions/{id} \ --header 'Authorization: <api-key>' \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET" }
Applies a promotion to a subscription.
Important considerations:
The unique identifier of the subscription
The identifier of the promotion to apply
Successfully applied the promotion
The response is of type object.
object