How to access brand logo information without using StoreFront API?

How to access brand logo information without using StoreFront API?

wdroush
Shopify Partner
2 0 2

We'd like to pull the store's logo from the brand information, we can snag it in the StoreFront API from the brand object here:

https://shopify.dev/api/storefront/2022-10/objects/Brand

 

but this presents a list of problems:

  • We cannot pull a storefront API token, because we do not have a sales channel enabled on our app
    • You cannot enable a sales channel on an already deployed app
    • Deploying a new app is extremely disruptive to already deployed and established applications
  • According to the documentation, we can use delegated access tokens (see https://shopify.dev/api/storefront#authentication and https://shopify.dev/api/usage/authentication#getting-started-with- authenticated-access, but...
    • No matter what I do with a delegated token, I get 401 unauthorized from Shopify's API's
    • Some scope combinations return 422 unprocessable entries
    • (Not entirely Shopify's fault), support for delegated tokens doesn't exist in ShopifySharp, ugh
  • There is no way to read this from the admin API, REST nor GraphQL

 

 

Am I missing something or is brand support really shallow? Is there a plan to add better support?

Replies 2 (2)

dasmodal
Shopify Partner
1 0 1

@wdroush 

I have exactly the same problem and understand you. How did you solve this?


 

wdroush
Shopify Partner
2 0 2

Nope, we ended up back-burnering the need for this on our platform, it's annoying because it's nice polish but it isn't really a required feature for our main flow.

 

We may revisit it later/open a ticket with Shopify regarding this since we don't have a great pipeline for feature requests or platform issues (this community isn't really a good way to manage that), but that's a whole larger task and we're not really sure the juice is worth the squeeze for our need (at least currently).