younifyd
Menu

checkoutAndAccountsConfiguration

A checkout and accounts configuration for a shop.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the checkoutAndAccountsConfiguration action (under Checkout).
  3. 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.

graphql
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.

idstringrequired

The ID of the configuration.

json
{
  "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}}.

brandingobject
componentsobject17 fields
designTokensobject3 fields
surfacesobject3 fields
createdAtstring
editedAtstring
idstring
isPublishedboolean
namestring
overridesarray<object>
brandingobject
createdAtobject
editedAtobject
idobject
nameobject
updatedAtobject
updatedAtstring

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

checkoutAndAccountsConfiguration — Shopify — Documentation