Brand
A brand (menu concept) — what a customer sees on a delivery app. Top of the three-level identity map: brand -> location -> store.
Fields
- idstring
OneTablet's identifier for the brand, and what the brand-scoped operations accept.
- codestring
Short reference code for the brand, where one has been configured.
OFTEN ABSENT — the underlying value is optional and many brands have none. Do not key on it; it exists so a partner who supplied us a code can recognise its own record.
- namestring
URL-friendly unique name, lowercase and hyphenated, e.g. "jars-by-dani". Unique across all of OneTablet, so it works as a human-readable join key where there is nowhere to keep an id.
- displayNamestring
Public-facing brand name as shown in the portal and printed on tickets. The one to display;
nameis the slug. - organizationIdstring
The organization that owns the brand — always the one your api key resolves to on
fetchBrandsrows. Echoed so a partner holding keys for several organizations can attribute a merged result set. - deactivatedAtstring<date-time>
When the brand was retired, as an ISO-8601 UTC instant. Absent means active.
Retired brands ARE returned by
fetchBrands, deliberately: a partner reconciling last year's orders still has to resolve the id it recorded then.