Set the list price of a catalogue item
PUT/item-prices/:catalogItemId/list-price
SetListPrice. Replaces the list price attribute of the item price (PUT, idempotent by method; an Idempotency-Key header is accepted and ignored). Publishes ItemPriceChanged when the effective price changes.
Request
Responses
- 200
- 400
- 404
- 409
- 422
The updated item price.
malformed-request: bad JSON, an unknown field, a wrong type, an empty body, trailing data, a body over 64 KiB, or a NUL character (U+0000) in the body or the 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 (price WITHDRAWN) or concurrent-update (also a version that does not match).
validation-failed, negative-amount (ErrNegativeAmount), currency-mismatch (ErrCurrencyMismatch) or unknown-catalog-item (ErrUnknownCatalogItem).