POST
/
subscriptions
/
{subscriptionId}
/
promotions
/
{id}
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
required

The unique identifier of the subscription

id
string
required

The identifier of the promotion to apply

Response

200
application/json

Successfully applied the promotion

The response is of type object.