younifyd
Menu

shop

Returns the Shop associated with the storefront access token. The Shop object provides general store information such as the shop name, description, and primary domain.

Use it in a workflow

  1. Add a step and choose the Shopify Storefront connector.
  2. Pick the shop action (under Shop).
  3. Fill in the fields below, then reference the result from later steps as {{shop.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 Shop {
  shop {
    brand {
      colors {
        primary
        secondary
      }
      coverImage {
        alt
        id
        image
        mediaContentType
        presentation
        previewImage
      }
      logo {
        alt
        id
        image
        mediaContentType
        presentation
        previewImage
      }
      shortDescription
      slogan
      squareLogo {
        alt
        id
        image
        mediaContentType
        presentation
        previewImage
      }
    }
    contactInformation {
      body
      handle
      id
      title
      url
    }
    customerAccountTranslations {
      key
      value
    }
    customerAccountUrl
    description
    id
    legalNotice {
      body
      handle
      id
      title
      url
    }
    moneyFormat
    name
    paymentSettings {
      acceptedCardBrands
      cardVaultUrl
      countryCode
      currencyCode
      enabledPresentmentCurrencies
      shopifyPaymentsAccountId
      supportedDigitalWallets
    }
    primaryDomain {
      host
      sslEnabled
      url
    }
    privacyPolicy {
      body
      handle
      id
      title
      url
    }
    refundPolicy {
      body
      handle
      id
      title
      url
    }
    shippingPolicy {
      body
      handle
      id
      title
      url
    }
    shipsToCountries
    shopPayInstallmentsPricing {
      financingPlans {
        id
        maxPrice
        minPrice
        terms
      }
      maxPrice {
        amount
        currencyCode
      }
      minPrice {
        amount
        currencyCode
      }
    }
    socialLoginProviders {
      handle
    }
    subscriptionPolicy {
      body
      handle
      id
      title
      url
    }
    termsOfSale {
      body
      handle
      id
      title
      url
    }
    termsOfService {
      body
      handle
      id
      title
      url
    }
  }
}

Response

Read the result with {{shop.response.data.data.shop}}. If the API returns errors, the step fails and they are at {{shop.response.data.errors}}.

brandobject
colorsobject2 fields
coverImageobject6 fields
logoobject6 fields
shortDescriptionstring
sloganstring
squareLogoobject6 fields
contactInformationobject
bodystring
handlestring
idstring
titlestring
urlstring
customerAccountTranslationsarray<object>
keyobject
valueobject
customerAccountUrlstring
descriptionstring
idstring
legalNoticeobject
bodystring
handlestring
idstring
titlestring
urlstring
moneyFormatstring
namestring
paymentSettingsobject
acceptedCardBrandsarray<object>
cardVaultUrlstring
countryCodestring

One ofAFAXALDZADAOAIAGARAMAWACAUATAZBSBHBDBBBYBEBZBJBMBTBOBABWBVBRIOBNBGBFBIKHCACVBQKY

currencyCodestring

One ofUSDEURGBPCADAFNALLDZDAOAARSAMDAWGAUDBBDAZNBDTBSDBHDBIFBZDBMDBTNBAMBRLBOBBWPBNDBGNMMKKHRCVEKYDXAFCLPCNYCOPKMFCDFCRCHRKCZK

enabledPresentmentCurrenciesarray<object>
shopifyPaymentsAccountIdstring
supportedDigitalWalletsarray<object>
primaryDomainobject
hoststring
sslEnabledboolean
urlstring
privacyPolicyobject
bodystring
handlestring
idstring
titlestring
urlstring
refundPolicyobject
bodystring
handlestring
idstring
titlestring
urlstring
shippingPolicyobject
bodystring
handlestring
idstring
titlestring
urlstring
shipsToCountriesarray<string>
shopPayInstallmentsPricingobject
financingPlansarray<object>
maxPriceobject2 fields
minPriceobject2 fields
socialLoginProvidersarray<object>
handleobject
subscriptionPolicyobject
bodystring
handlestring
idstring
titlestring
urlstring
termsOfSaleobject
bodystring
handlestring
idstring
titlestring
urlstring
termsOfServiceobject
bodystring
handlestring
idstring
titlestring
urlstring

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