Skip to main content

Receive a case that has no label under an SSCC of our own

POST 

/receipts/:receiptId/sscc-assignments

For a case that arrived with no SSCC label (ADR 0024). Give the case GTIN; the service receives ONE case of the active CASE pack under a new SSCC of the receiver's own GS1 company prefix (extension digit 0, a serial from a never-reused per-prefix sequence, a valid check digit), raises UnlabelledCarton against a carton ASN as always, and answers 201 with what a printer needs: sscc, humanReadable ((00)<sscc>), elementString (the GS1-128 data) and symbology. The service has no printer driver: the floor client prints. The carton carries ssccSource: receiver on ReceiptCartonReceived.

409 sscc-prefix-not-configured until the business supplies a GS1 company prefix (RECEIVER_GS1_COMPANY_PREFIX, 7 to 10 digits): the prefix is a licensed asset and there is no default. 409 sscc-serial-exhausted when every serial of the prefix is used. Not naturally idempotent, so the Idempotency-Key is required: a retry with the same key replays the same SSCC and receives nothing twice.

Request​

Responses​

The case was received under the new SSCC.

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