validate

Validate a GS1 GLN (Global Location Number) - 13 digits...

Validate a GS1 GLN (Global Location Number) — 13 digits with the GS1 mod-10 check digit. GLNs identify trading parties and physical locations (ship-to, bill-to, warehouse) across CPG supply chains and EDI. Returns {valid, gln, checkDigit, reason}. Catches transposed digits a length check misses.

get/api/validate/gln

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/validate/gln
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

glnstring required

GLN.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.