Is there any way to get specific fields from variants objects which is under products basically, i am using below REST api to get fields but it is return all fields from variants but i want few.
Solved! Go to the solution
This is an accepted solution.
Unfortunately, there is no way to limit the list of fields returned for embedded objects, i.e. variants within products, using Rest API. You might want to have a look at GraphQL API - https://shopify.dev/docs/admin-api/graphql/reference