Anchor to checkoutAndAccountsConfigurationUpdatecheckout
checkoutAndAccountsConfigurationUpdate
mutation
Requires access scope. Also: User must have
permission and shop must have access to the checkout and accounts editor as well as the contextualized checkouts and customer accounts feature.
Updates a checkout and accounts configuration.
Anchor to Arguments
Arguments
- Anchor to configurationconfiguration•
The intended changes to the configuration.
- •ID!required
The ID of the configuration to update.
Was this section helpful?
Anchor to CheckoutAndAccountsConfigurationUpdatePayload returnsCheckoutAndAccountsConfigurationUpdatePayload returns
- Anchor to configurationconfiguration•
The updated configuration.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation checkoutAndAccountsConfigurationUpdate($configuration: CheckoutAndAccountsConfigurationInput!, $id: ID!) {
checkoutAndAccountsConfigurationUpdate(configuration: $configuration, id: $id) {
configuration {
# CheckoutAndAccountsConfiguration fields
}
userErrors {
field
message
}
}
}
Input
{
"configuration": {
"brandingSettings": {
"customizations": "",
"designSystem": ""
},
"overrides": [
{
"brandingSettings": "",
"id": "gid://shopify/<objectName>/10079785100"
}
]
},
"id": "gid://shopify/<objectName>/10079785100"
}
{
"configuration": {
"brandingSettings": {
"customizations": "",
"designSystem": ""
},
"overrides": [
{
"brandingSettings": "",
"id": "gid://shopify/<objectName>/10079785100"
}
]
},
"id": "gid://shopify/<objectName>/10079785100"
}
input CheckoutAndAccountsConfigurationInput {
brandingSettings: CheckoutBrandingInput
overrides: [CheckoutAndAccountsConfigurationOverrideInput!]
}
input CheckoutBrandingInput {
customizations: CheckoutBrandingCustomizationsInput
designSystem: CheckoutBrandingDesignSystemInput
}
input CheckoutAndAccountsConfigurationOverrideInput {
brandingSettings: CheckoutBrandingInput
id: ID
}