Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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'
Same issue here! Did you find a solution?
Thanks!
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024