Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

GraphQL Product API

GraphQL Product API

muhammad_haroon
Shopify Partner
34 0 2

I manually import the CSV file and only use the API for exporting products. I retrieve all the information related to the products and save it on my local server in a CSV file. Once the CSV file is created, I manually import it into my store or another store. Could you please clarify if I can export metafields, both with and without definitions, using the REST API? If it's possible, how can I achieve this? Because the REST API response does not seem to include custom created metafields, whether they have definitions or not.

My main issue is that when I use the REST API to export products, it doesn't export the metafields, both with and without definitions. That's why I switched to using the GraphQL API, which provides me with both types of metafields, with and without definitions. I want to know if there's a way to get custom-created metafields with or without definitions using the REST API, so I don't have to use the GraphQL API. Both APIs have different structures, so I'm trying to determine which one is more suitable for my needs.

Replies 0 (0)