ItemPrices
List price and sale windows per catalogue item (ItemPrice).
Create the price record of a catalogue item
Creates the ItemPrice aggregate for a catalogue item that exists in the local CatalogItemView (fed by offer-availability events). The initial list price is set here; sale windows are scheduled separately. An id outside 1-64 characters of A-Z a-z 0-9 . _ : - (starting with a letter or digit) is 422 validation-failed.
List item prices, keyset-paged (projection bootstrap)
Keyset-paged list of item prices ordered by (catalogItemId). Used by product-discovery's projection rebuild (snapshot + catch-up); not part of a user request path. Follow nextCursor until it is absent. Any query parameter other than limit and cursor is answered 400 unknown-query-parameter.
Get the price record of one catalogue item
Returns the ItemPrice with its list price, sale windows and version.
Set the list price of a catalogue item
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.
Withdraw the price of a catalogue item
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.
Schedule a sale window for a catalogue item
ScheduleSale. A sale price is always below the list price and windows of one item never overlap; a window ends after it starts, ends in the future, and an item holds at most 50 live windows (else 422 validation-failed). PublishEffectivePriceOnWindowBoundary emits ItemPriceChanged when the sale starts or ends.
Cancel a scheduled sale window
CancelSale. Transition resource: answers 200 with the updated item price. Cancelling a live sale emits ItemPriceChanged at the boundary.