Skip to main content

Credentials

Returns the admission credentials for an order: the barcode values a venue scans. This is the only endpoint in the contract that carries a credential, and it is kept separate from Fulfilment on purpose: fulfilment is polled and logged, this is called once, at delivery.

The value, not a document

Gomry shows the buyer their barcode inside Gomry’s own ticket design, and never names or implies where the ticket came from. A seller-branded PDF, or a link to one, cannot be used. Return the barcode value itself, decrypted if your system encrypts it, as a short opaque string.
Do not cache or log what this endpoint returns. A barcode is the ticket. Neither Retail nor your integration keeps a copy; Retail passes it straight to the buyer’s Gomry ticket. Fetch it from your system when asked, and let it go.

Query Parameters

string
required
Your supplier identifier.
string
required
Your order id, from Place order.
Answer 404 if you do not know this order.

Response

string
required
The order asked about.
array
default:"[]"
One entry per admission.An empty array means “not yet”, never “none”. Barcodes are often assigned only when a seller accepts, so an order can legitimately answer [] for hours. Retail keeps asking.