Delete a promotion
Deactivates the promotion. 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 product.
ID of the promotion to delete.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/subscriptions/products/sp_Tlj0Osm0N76T/promotions/bcp_V9y3q4Jw8kQe"{ "success": true}Create a promotion POST
Creates an item promotion on the product: its discount applies to the plans listed in `plan_ids`, which must belong to the product (at least one). The promotion is created active, or as a draft while the product has never been active. Plans can be attached and detached later with `attachPlanPromotion` and `detachPlanPromotion`. Catalog divisions only.
List all promotions GET
Retrieves the division's promotions, newest first, ten to a page, each with the products and plans it targets.