younifyd
Menu

site_brand

Fetch a brand by its ID — name, image, SEO and products.

Use it in a workflow

  1. Add a step and choose the BigCommerce Storefront connector.
  2. Pick the site_brand action (under Brand).
  3. Fill in the fields below, then reference the result from later steps as {{siteBrand.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 SiteBrand($entityId: Int!) {
  site {
    brand(entityId: $entityId) {
      id
      entityId
      name
      defaultImage {
        altText
        isDefault
      }
      pageTitle
      metaDesc
      metaKeywords
      seo {
        pageTitle
        metaDescription
        metaKeywords
      }
      searchKeywords
      path
    }
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

entityIdnumberrequired

Brand ID.

json
{
  "entityId": 0
}

Response

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

idstring
entityIdnumber
namestring
defaultImageobject
altTextstring
isDefaultboolean
pageTitlestring
metaDescstring
metaKeywordsarray<string>
seoobject
pageTitlestring
metaDescriptionstring
metaKeywordsstring
searchKeywordsarray<string>
pathstring

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

site_brand — BigCommerce Storefront — Documentation