Withdraw the price of a catalogue item
POST/item-prices/:catalogItemId/withdrawals
WithdrawPrice (merchandising). ACTIVE to WITHDRAWN; the item can no longer be quoted and ItemPriceWithdrawn is published. The same transition runs automatically when the item is discontinued (WithdrawOnDiscontinue). Transition resource: answers 200 with the withdrawn item price.
Request
Responses
- 200
- 400
- 404
- 409
The withdrawn 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 (already WITHDRAWN), concurrent-update or idempotency-key-reused.