Skip to main content

Discontinue a catalogue item (DiscontinueItem)

POST 

/catalog-items/:catalogItemId/discontinuations

Moves the item from ACTIVE to DISCONTINUED, publishes CatalogItemDiscontinued and, in the same transaction, suppresses every LIVE or node-suppressed listing of the item with reason DISCONTINUED (one ListingSuppressed each; Gap Register G24). Discontinuing a DISCONTINUED item returns it unchanged and publishes nothing.

Request​

Responses​

The item, now DISCONTINUED.

Response Headers
    Idempotency-Replayed

    "true" when the response replays the stored answer of the same Idempotency-Key (only a success, a final refusal or a recorded outcome is stored; see the Idempotency-Key parameter).