AlmondTill/G3N API

EditStorefrontInput

input type

Edit-input for a Storefront. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved — customDomain/categoryId/divisionId take null to CLEAR (the EditPlugin.apiKeyId nullish-clear law); a supplied collectionIds REPLACES wholesale. THE PUBLISHED EDIT-LOCK: while published, theme / logicalFacilityId / customDomain refuse naming the fields (unpublish → edit → republish — the domain marker never dangles); caption/collections/category/division edit freely on a live site (merchandising is normal lifecycle). The parent Organization is IMMUTABLE at birth.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
logicalFacilityIdIDnoRe-home the selling facility (ACTIVE; refused while published).
themeStringnoRe-theme (a canned key; refused while published).
customDomainStringnoSet (the bare-hostname grammar) or null-CLEAR the domain (refused while published).
collectionIdsID [ID!]noThe wholesale replacement (strips every collection); each ACTIVE.
categoryIdIDnoSet (ACTIVE) or null-CLEAR the browse-tree anchor.
divisionIdIDnoSet (ACTIVE + channel-kind) or null-CLEAR the channel framing.

Used by