Skip to main content

Register an ASN

POST 

/asns

Registers the supplier's announcement of a delivery in state Registered. asnNumber (1 to 64 characters of [A-Za-z0-9._-]) is the identity; registering an existing number is 409 asn-already-exists. lines is non-empty, lineNo runs exactly 1..n in order, SKUs are unique across lines and every expectedQty is positive. An unknown SKU (not in the known_skus local copy) is 422 unknown-sku. Publishes ASNRegistered.

Request​

Responses​

The ASN was registered.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when this response is the replay of a stored answer for the same Idempotency-Key.

    ETag

    Strong entity tag of the resource: the quoted version, for example "3".

    Location

    URL of the new ASN.