For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello Team,
We have a question regarding the usage of assests.json API.
Can we access the assets.json API to detect whether the store owner has enabled the app embed block?
If we use this API to detect, Will it affect our build for the Shopify badge?
Please let us know so that we can move forward according to it.
Solved! Go to the solution
This is an accepted solution.
Hi Shaileshbizspic,
Apps on the Shopify App Store can make GET requests to the Assets API, and this won't affect Built for Shopify, as you're not making any changes with GET requests.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi Shaileshbizspic,
Apps on the Shopify App Store can make GET requests to the Assets API, and this won't affect Built for Shopify, as you're not making any changes with GET requests.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog