Menu
site_brand
Fetch a brand by its ID — name, image, SEO and products.
Use it in a workflow
- Add a step and choose the BigCommerce Storefront connector.
- Pick the site_brand action (under Brand).
- 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.
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.
{
"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}}.
Need more? See the BigCommerce Storefront guide for connection setup and behaviour shared by every action.
Was this page helpful?