Skip to main content
GET
List product traits

Authorizations

X-API-Key
string
header
required

Path Parameters

gtin
string<gtin>
required

GTIN-8, GTIN-12, GTIN-13, or GTIN-14 digits (no separators) with a valid GS1 check digit. Normalized to GTIN-14 for lookup; an invalid GTIN returns 422.

Required string length: 8 - 14

Query Parameters

category
enum<string>

Only traits of this category.

Available options:
ALLERGEN,
DIETARY

Response

OK

id
string<shortuuid>
required

URL-safe 22-character shortuuid encoding of the row's UUID primary key. Stable across the row's lifetime; suitable for sharing in URLs, log lines, and external SDK clients. Accepted on input as either the shortuuid form or the canonical UUID form (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$
category
enum<string>
required

ALLERGEN or DIETARY.

Available options:
ALLERGEN,
DIETARY
name
string
required

The trait's display name, e.g. 'Milk' or 'Gluten-Free'.

created
string<date-time>
required

Server-side ISO 8601 timestamp of creation (UTC).

modified
string<date-time>
required

Server-side ISO 8601 timestamp of last modification (UTC).