ProductContents
Content per catalogue item (ProductContent, revisions).
Create the draft content of a catalogue item
CreateProductContent. The item must exist in the local CatalogItemView (fed by offer-availability events) and must not be discontinued. The content starts DRAFT at revision 1; the body may be incomplete (the publish gate is checked by POST /product-contents/{catalogItemId}/publications). A second create for the same item is a 409 concurrent-update.
List product contents, paged (projection bootstrap)
Keyset-paged list of product contents of every state, 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 a 400 unknown-query-parameter.
Get the content of one catalogue item
Returns the ProductContent with its current revision.
Revise the content of a catalogue item
ReviseDraft (DRAFT to DRAFT) or ReviseContent (PUBLISHED to PUBLISHED), chosen by the state. The body replaces the whole editable content and takes a new revision. PUBLISHED content must stay complete (incomplete-content otherwise) and shoppers see the revision only after POST /product-contents/{catalogItemId}/publications publishes it. Revising RETIRED content is a 409 content-retired.
Publish the content of a catalogue item
PublishContent. DRAFT to PUBLISHED, or PUBLISHED to PUBLISHED when a revision is waiting. Publish needs a description, exactly one PRIMARY medium and a category (ErrIncompleteContent) and a catalogue item that is not discontinued. Publishes ProductContentPublished with the current revision. PUBLISHED content whose current revision is already published is returned unchanged and publishes nothing.
Retire the published content of a catalogue item
RetireContent. PUBLISHED to RETIRED (terminal). A DRAFT is discarded with DELETE /product-contents/{catalogItemId}/draft instead. RetireOnDiscontinue retires content automatically when the network discontinues the item. Publishes ProductContentRetired.
Discard the draft content of a catalogue item
DiscardDraft. DRAFT to RETIRED with retiredReason DISCARDED. Nothing was ever published, so no event is raised. DELETE is idempotent by method and takes no Idempotency-Key; a repeat finds the content already RETIRED and answers 409 illegal-transition.