我正在使用 shopifyGraphQL 店面为 shopify 申请。
在 shopify 网站上使用了一些主题。从主题管理员可以发送横幅和一些广告信息。
现在我想在我的移动应用程序上获取这些主页数据(数据是在主题上设置的,所以问题是如何使用 API 或任何其他方式获取这些数据。) 使用 GraphQL API 或任何普通的 Rest API?
在这种情况下,您可以使用 Shopify Storefront Graphql API。
参考:
https://shopify.dev/docs/api/storefront
https://shopify.dev/docs/custom-storefronts/building-with-the-storefront-api/products-collections/getting-started