Menu
checkoutAndAccountsConfiguration
A checkout and accounts configuration for a shop.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the checkoutAndAccountsConfiguration action (under Checkout).
- Fill in the fields below, then reference the result from later steps as
{{checkoutandaccountsconfiguration.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query CheckoutAndAccountsConfiguration($id: ID!) {
checkoutAndAccountsConfiguration(id: $id) {
branding {
components {
checkbox
choiceList
control
divider
favicon
footer
header
headingLevel1
headingLevel2
headingLevel3
main
merchandiseThumbnail
primaryButton
secondaryButton
select
shared
textField
}
designTokens {
colors
cornerRadius
typography
}
surfaces {
checkout
customerAccounts
signIn
}
}
createdAt
editedAt
id
isPublished
name
overrides {
branding {
components
designTokens
surfaces
}
createdAt
editedAt
id
name
updatedAt
}
updatedAt
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"id": "string"
}
Response
Read the result with {{checkoutandaccountsconfiguration.response.data.data.checkoutAndAccountsConfiguration}}. If the API returns errors, the step fails and they are at {{checkoutandaccountsconfiguration.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?