Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
I am trying to retrieve all metafields when the OwnerResource is set to 'Product', but the API only returns metafields that have a value. Metafields without a value are not included in the response.
Example:
Product 1:
Using the REST API, only metafield1 is returned. Metafield2 is not returned in response because it does not have a value.
Can you have a look at this?
Can you explain where you use fetch API
This is an admin API, and my question is: where do you use these endpoints, on the admin App or the storefront?