Delegated token with Storefront API to access to protected metafields?

etrolmos
Shopify Partner
23 1 5

Is it possible to have something like a protected/authenticated metafields for Storefront API using a delegated token?

 

Main use-case is for server-side rendering of a page that needs access to metafields we don't want to be public, if possible. Main use-case for the Storefront API is to not be rate limited for non-admin requests.

 

Private metafields are too limited with only 10 allowed per resource. Unlike private metafields we might also want them editable by the Shopify admin/staff in some cases. That also rules out app-owned metafields.

 

Of course we could store the metafields outside of Shopify but it's nice to keep it within Shopify, and to also retrieve them with in the same API call.

Replies 0 (0)