Skip to main content

Revise the content of a catalogue item

POST 

/product-contents/:catalogItemId/revisions

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.

Request​

Responses​

The revised content.

Response Headers
    Idempotency-Replayed

    "true" when the answer is the stored response of an earlier request with the same Idempotency-Key; absent on the first execution.