AlmondTill/G3N API

NewStorefrontInput

input type

Create-input for a Storefront. The tenant (org group) derives SERVER-SIDE from the principal; organizationId (the parent) is tenant-scoped server-side and must be ACTIVE; the config refs (selling LF / theme roster / collections / channel division / root category) gate record-aware at create AND re-validate at every publish.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the domain when given ('storefront at <domain>'), else the theme ('<theme caption> storefront'); when supplied it must be non-blank.
organizationIdID ID!yesThe parent Organization (whose storefront this is) — tenant-scoped + ACTIVE. Immutable after birth.
logicalFacilityIdID ID!yesThe designated selling LF — tenant-scoped + ACTIVE.
themeString String!yesA canned theme key — cannedStorefrontThemes lists the roster (an unknown key refuses NAMING it).
customDomainStringnoThe optional custom domain (the bare-hostname grammar) — validated for SHAPE here; the claim happens at publish.
collectionIdsID [ID!]noThe merchandised collections (0..24, distinct, each ACTIVE); omitted =.
categoryIdIDnoThe optional browse-tree root category (ACTIVE).
divisionIdIDnoThe optional CHANNEL-type division (ACTIVE + channel-kind — a different kind refuses).

Used by