API ReferencePromotions
Stop a promotion
POST /rest/v1/promotions/{id}/stop
Ends a running or scheduled promotion now; channel prices go back. 409 promotion_not_running otherwise.
Required scope: promotions:write.
Authorization
apiKey AuthorizationBearer <token>
Authorization: Bearer nbl_live_... (or nbl_test_... for test mode). Test-mode writes are validated and simulated but never persisted and never touch channels; simulated results are marked simulated.
In: header
Path Parameters
id*string
Header Parameters
Idempotency-Key?string
Unique client-generated key (max 255 chars), stored 24h.
Length
length <= 255Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/promotions/string/stop"{ "id": "promo_66f0a1", "object": "promotion", "name": "string", "status": "draft", "discount": { "type": "percentage", "value": 0 }, "starts_at": "2019-08-24T14:15:22Z", "ends_at": "2019-08-24T14:15:22Z", "channels": [ "string" ], "product_ids": [ "string" ], "variant_ids": { "property1": [ "string" ], "property2": [ "string" ] }, "show_countdown": true, "target_counts": { "property1": 0, "property2": 0 }, "targets": [ { "product_id": "string", "channel": "string", "status": "string", "error": "string" } ], "created_at": "2019-08-24T14:15:22Z"}Last updated on October 18, 2026
Need help?
Email us and a human replies, usually within one business day.