younifyd
Menu

site_settings

Store settings — name, URLs, logo, currencies, locales, tax display, checkout, inventory and B2B configuration.

Use it in a workflow

  1. Add a step and choose the BigCommerce Storefront connector.
  2. Pick the site_settings action (under Settings).
  3. Fill in the fields below, then reference the result from later steps as {{siteSettings.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 SiteSettings {
  site {
    settings {
      storeName
      storeHash
      storeCountryCode
      status
      logo {
        title
        image {
          altText
          isDefault
        }
      }
      logoV2 {
        __typename
        ... on StoreTextLogo {
          text
        }
        ... on StoreImageLogo {
          __typename
        }
      }
      contact {
        address
        country
        addressType
        email
        phone
      }
      url {
        vanityUrl
        cdnUrl
        checkoutUrl
        paymentBaseUrl
      }
      display {
        shortDateFormat
        extendedDateFormat
        showProductRating
      }
      channelId
      tax {
        pdp
        plp
      }
      search {
        productFilteringEnabled
        defaultSearchProductSort
        semanticSearchEnabled
      }
      storefront {
        catalog {
          productComparisonsEnabled
        }
      }
      isGoogleAiPredictionEnabled
      inventory {
        productOutOfStockBehavior
        optionOutOfStockBehavior
        stockLevelDisplay
        defaultOutOfStockMessage
        hideInProductFiltering
        showPreOrderStockLevels
        showOutOfStockMessage
        updateStockBehavior
        showQuantityOnBackorder
        showQuantityOnHand
        showBackorderMessage
        showBackorderAvailabilityPrompt
        backorderAvailabilityPrompt
        showDefaultShippingExpectationPrompt
        defaultShippingExpectationPrompt
      }
      reCaptcha {
        siteKey
        isEnabledOnStorefront
        isEnabledOnCheckout
        failedLoginLockoutDurationSeconds
      }
      socialMediaLinks {
        name
        url
      }
      checkout {
        reCaptchaEnabled
        persistentCartEnabled
        termsAndConditionsEnabled
        termsAndConditionsType
        termsAndConditionsUrl
        termsAndConditionsTextarea
      }
      statusMessage
      customers {
        passwordComplexitySettings {
          minimumPasswordLength
          requireLowerCase
          requireUpperCase
          requireNumbers
          minimumNumbers
          requireSpecialCharacters
          minimumSpecialCharacters
        }
      }
      locales {
        code
        isDefault
        fullPath
        path
      }
      faviconUrl
      webAnalytics {
        ga4 {
          tagId
        }
        segment {
          writeKey
        }
        metaPixel {
          pixelId
        }
      }
      currency {
        defaultCurrency
      }
      formFields {
        __typename
      }
      b2b {
        config {
          __typename
        }
        extraFields {
          __typename
        }
      }
      seo {
        pageTitle
        metaDescription
        metaKeywords
      }
      robotsTxt
      security {
        customCspHeader
        xFrameOptions
        hsts {
          hstsOnStorefrontEnabled
          hstsInPreloadEnabled
          hstsInSubdomainsEnabled
          hstsMaxAgeDurationSeconds
        }
      }
      privacy {
        cookieConsentEnabled
        privacyPolicyUrl
      }
      inactivity {
        shopperInactivityDurationSeconds
        shopperActivityExtendsDuration
        controlPanelInactivityDurationSeconds
      }
      shipping {
        supportedShippingDestinations {
          __typename
        }
      }
      reviews {
        enabled
        onlyAcceptPreviousCustomerReviews
      }
      newsletter {
        showNewsletterSignup
        newsletterCheckedByDefault
      }
    }
  }
}

Response

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

storeNamestring
storeHashstring
storeCountryCodestring
statusstring

One ofHIBERNATIONLAUNCHEDMAINTENANCEPRE_LAUNCH

logoobject
titlestring
imageobject2 fields
logoV2object

This field can return one of several different object shapes — properties from every possible shape are shown together.

textstring
imageobject2 fields
contactobject
addressstring
countrystring
addressTypestring
emailstring
phonestring
urlobject
vanityUrlstring
cdnUrlstring
checkoutUrlstring
paymentBaseUrlstring
displayobject
shortDateFormatstring
extendedDateFormatstring
showProductRatingboolean
channelIdstring
taxobject
pdpstring

One ofBOTHEXINC

plpstring

One ofBOTHEXINC

searchobject
productFilteringEnabledboolean
defaultSearchProductSortstring

One ofA_TO_ZBEST_REVIEWEDBEST_SELLINGFEATUREDHIGHEST_PRICELOWEST_PRICENEWESTRELEVANCEZ_TO_A

semanticSearchEnabledboolean
storefrontobject
catalogobject1 fields
isGoogleAiPredictionEnabledboolean
inventoryobject
productOutOfStockBehaviorstring

One ofDO_NOTHINGHIDE_PRODUCTHIDE_PRODUCT_AND_ACCESSIBLEHIDE_PRODUCT_AND_REDIRECT

optionOutOfStockBehaviorstring

One ofDO_NOTHINGHIDE_OPTIONLABEL_OPTION

stockLevelDisplaystring

One ofDONT_SHOWSHOWSHOW_WHEN_LOW

defaultOutOfStockMessagestring
hideInProductFilteringboolean
showPreOrderStockLevelsboolean
showOutOfStockMessageboolean
updateStockBehaviorstring

One ofORDER_COMPLETED_OR_SHIPPEDORDER_PLACED

showQuantityOnBackorderboolean
showQuantityOnHandboolean
showBackorderMessageboolean
showBackorderAvailabilityPromptboolean
backorderAvailabilityPromptstring
showDefaultShippingExpectationPromptboolean
defaultShippingExpectationPromptstring
reCaptchaobject
siteKeystring
isEnabledOnStorefrontboolean
isEnabledOnCheckoutboolean
failedLoginLockoutDurationSecondsstring
socialMediaLinksarray<object>
nameobject
urlobject
checkoutobject
reCaptchaEnabledboolean
persistentCartEnabledboolean
termsAndConditionsEnabledboolean
termsAndConditionsTypestring
termsAndConditionsUrlstring
termsAndConditionsTextareastring
statusMessagestring
customersobject
passwordComplexitySettingsobject7 fields
localesarray<object>
codeobject
isDefaultobject
fullPathobject
pathobject
faviconUrlstring
webAnalyticsobject
ga4object1 fields
segmentobject1 fields
metaPixelobject1 fields
currencyobject
defaultCurrencystring

One ofADPAEDAFAAFNALKALLAMDANGAOAAOKAONAORARAARLARMARPARSATSAUDAWGAZMAZNBADBAMBANBBDBDTBECBEFBELBGLBGMBGNBGOBHDBIFBMDBNDBOBBOL

formFieldsobject
b2bobject
configobject4 fields
extraFieldsobject3 fields
seoobject
pageTitlestring
metaDescriptionstring
metaKeywordsstring
robotsTxtstring
securityobject
customCspHeaderstring
xFrameOptionsstring
hstsobject4 fields
privacyobject
cookieConsentEnabledboolean
privacyPolicyUrlstring
inactivityobject
shopperInactivityDurationSecondsstring
shopperActivityExtendsDurationboolean
controlPanelInactivityDurationSecondsstring
shippingobject
supportedShippingDestinationsobject1 fields
reviewsobject
enabledboolean
onlyAcceptPreviousCustomerReviewsboolean
newsletterobject
showNewsletterSignupboolean
newsletterCheckedByDefaultboolean

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