Skip to main content

SaveStorefrontDraftInput

Saves the storefront theme draft.

input SaveStorefrontDraftInput {
draft: JSON!
expectedUpdatedAt: DateTime
}

Fields​

SaveStorefrontDraftInput.draft ● JSON! non-null scalar​

The draft theme, as JSON.

SaveStorefrontDraftInput.expectedUpdatedAt ● DateTime scalar​

The stored draft's updatedAt as this editor last read or saved it. The save is refused with VERSION_CONFLICT when the draft was saved since; null when the editor found no draft (create only). Omit only from a client that cannot know it: the save then overwrites.

Member Of​

saveStorefrontDraft mutation