Cancel a scheduled sale window
POST/item-prices/:catalogItemId/sales/:saleId/cancellations
CancelSale. Transition resource: answers 200 with the updated item price. Cancelling a live sale emits ItemPriceChanged at the boundary.
Request
Responses
- 200
- 400
- 404
- 409
The updated item price.
Response Headers
"true" when this response is the stored answer of an earlier request carrying the same Idempotency-Key (the handler did not run again). Absent on the first execution.
idempotency-key-required (header missing), idempotency-key-invalid (not 1-128 printable ASCII characters) or malformed-request (bad JSON, an unknown field, a wrong type, an empty body, trailing data, a body over 64 KiB or a NUL character in the body or query string).
not-found (the resource does not exist, or an unknown sale) or resource-not-found (a path identifier that is empty, over 128 characters or carries a NUL).
illegal-transition, concurrent-update or idempotency-key-reused.