Offers
Retire a pricing option
Removes the option outright when nothing has ever subscribed to it; otherwise deactivates it, so existing subscriptions' priceId reference stays resolvable. Either way, subscribers already on the option keep billing their agreed terms. Fails with 409 if it is the offer's last active option.
Authorization
apiKey X-API-Key<token>
Your merchant API key, shown once at creation in the dashboard (Settings → API key).
In: header
Path Parameters
offerId*string
priceId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/offers/string/pricing/string"{ "id": "string", "deleted": true, "active": true, "hasActiveSubscriptions": true}