Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Field 'brand' doesn't exist on type 'Shop'

Field 'brand' doesn't exist on type 'Shop'

ertanb
Shopify Partner
13 0 2

I want to get a stores name, description and logo. I am trying to do that by calling the shop query https://shopify.dev/docs/api/storefront/2024-04/objects/Shop#field-shop-brand

 

 

const {
    admin: { rest, graphql },
} = await authenticate.admin(request);

const query = `
{
    shop {
        name
        description
        brand {

             logo {

                 image {

                      url

                 }

             }

        }

    }
}

`;

const response = await graphql(query);

 

 

 

But I am getting the following error:

Error: Field 'brand' doesn't exist on type 'Shop'

 

Reply 1 (1)

drs997
Shopify Partner
17 0 5

Same issue here! Did you find a solution?

Thanks!