POST
/
subscriptions
/
{subscriptionId}
/
promotions
/
{id}
Apply promotion to subscription
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"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

subscriptionId
string<uuid>
required

The unique identifier of the subscription

id
string<uuid>
required

The identifier of the promotion to apply

Response

200
application/json

Successfully applied the promotion

The response is of type object.