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
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | |
logicalFacilityId | ID | no | Re-home the selling facility (active; refused while published). |
theme | String | no | Re-theme (a canned key; refused while published). |
customDomain | String | no | Set (the bare-hostname grammar) or null-CLEAR the domain (refused while published). |
collectionIds | ID [ID!] | no | The wholesale replacement (strips every collection); each active. |
categoryId | ID | no | Set (active) or null-CLEAR the browse-tree anchor. |
divisionId | ID | no | Set (active + channel-kind) or null-CLEAR the channel framing. |