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
captionStringno
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