StartStorefrontEditInput
Starts an AI edit of the storefront theme.
input StartStorefrontEditInput {
blockId: String
device: String
draft: JSON!
fieldId: String
pageId: String!
request: String!
sectionId: String
}
Fields
StartStorefrontEditInput.blockId ● String scalar
The selected block's id, when a block of the selected section is selected.
StartStorefrontEditInput.device ● String scalar
The preview the seller is looking at: 'desktop' or 'mobile'.
StartStorefrontEditInput.draft ● JSON! non-null scalar
The editor's draft as it is on screen (a StorefrontDraft document from @arc/theme-engine), checked like a save. Read to build what the model sees; never stored.
StartStorefrontEditInput.fieldId ● String scalar
Write with Minori in one text field: the id of a text, textarea or richtext field of the selected section (or of its selected block). Only that field may change; any other edit the model writes is skipped with the reason. Needs sectionId.
StartStorefrontEditInput.pageId ● String! non-null scalar
The id of the page on screen. Its sections, with the shared header and footer, are what the edits may change.
StartStorefrontEditInput.request ● String! non-null scalar
The seller's own sentence asking for a change to the page's values (copy, options, style, visibility, order, names, theme).
StartStorefrontEditInput.sectionId ● String scalar
The selected section's id, when one is selected.
Member Of
startStorefrontEditGeneration mutation