Skip to main content

Create a listing (CreateListing)

POST 

/listings

Creates the listing of one catalogue item on one node and publishes ListingCreated. The listing starts LIVE when the node is ACTIVE in the local node status view. Otherwise (node proposed, suspended, retired or not yet known) it starts SUPPRESSED with reason NODE_NOT_SELLABLE; for a DISCONTINUED item it starts SUPPRESSED with reason DISCONTINUED (Gap Register G24); for an ownerRef whose seller the local seller status view says is SUSPENDED it starts SUPPRESSED with reason OWNER_SUSPENDED (ADR 0013). The highest cause wins: DISCONTINUED, then NODE_NOT_SELLABLE, then OWNER_SUSPENDED. Its availability starts at 0, basis UNKNOWN, with no asOf.

Request​

Responses​

Created.

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).