Skip to main content

StartStorefrontSectionInput

Starts AI generation of a storefront section.

input StartStorefrontSectionInput {
images: [StorefrontSectionImageInput!]
pageType: String
placement: String
repair: StorefrontSectionRepairInput
request: String!
revise: StorefrontSectionReviseInput
}

Fields​

StartStorefrontSectionInput.images ● [StorefrontSectionImageInput!] list input​

Up to 3 images the seller attached: a screenshot or sketch of a layout, or photos. They reach the model on the first turn only and are never stored.

StartStorefrontSectionInput.pageType ● String scalar​

'home' or 'page'.

StartStorefrontSectionInput.placement ● String scalar​

Where on the page the section goes, e.g. 'below Hero'.

StartStorefrontSectionInput.repair ● StorefrontSectionRepairInput input​

Ask for a corrected version of a previously generated section, with the errors found in it.

StartStorefrontSectionInput.request ● String! non-null scalar​

The seller's own sentence describing the section they want. With revise, the change they want made to it.

StartStorefrontSectionInput.revise ● StorefrontSectionReviseInput input​

Change an existing section as request asks (a follow-up instruction). The model keeps its setting ids, block types and field types where it can, so the values the seller already typed still apply, and returns the whole section. Not together with repair.

Member Of​

startStorefrontSectionGeneration mutation