Delete a promotion by ID
Deactivates the promotion, item or cart, by its ID alone. New carts stop receiving the discount; subscriptions that already captured it keep their terms. A promotion still in draft is deleted outright.
Admins and Developers can obtain their Bolt API key from the Bolt Merchant Dashboard. Send it together with X-Publishable-Key.
In: header
Path Parameters
ID of the promotion to delete.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/subscriptions/promotions/bcp_V9y3q4Jw8kQe"{ "success": true}Create a cart promotion POST
Creates a cart promotion for the division, created active. Its discount applies to the whole cart, so it takes no plans. Catalog divisions only.
Get a subscription GET
Retrieves a subscription by its ID. Results are limited to only show subscriptions authorized by the X-API-Key and X-Publishable-Key. This is the only read that includes the subscription's `billing_address` and `shipping_address` (the shipping address is absent for digital goods).