You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the /catalog/products/{product_id}/metafields endpoint to fetch metafields for the product. This product whose id I used exists, it has a metafields and the store api credentials are valid. But I keep getting this response.
Why is this so and how to get around this problem?
I have also tried /products/{product_id}/metafields as the get request endpoint.
I am trying to use the /catalog/products/{product_id}/metafields endpoint to fetch metafields for the product. This product whose id I used exists, it has a metafields and the store api credentials are valid. But I keep getting this response.
Why is this so and how to get around this problem?
I have also tried /products/{product_id}/metafields as the get request endpoint.
Hi @satyasaadhak
I think you should add the apiVersion attribute when you create the bigCommerce.
constbigCommerce=newBigCommerce({storeHash: 'xxxxxxxx',clientId: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx',accessToken: 'xxxxxxxxxxxxxxxxxxxxxxxxxxx',responseType: 'json',apiVersion: "v3",// default is v2. but v2 doesn't support /catalog});
I am trying to use the
/catalog/products/{product_id}/metafields
endpoint to fetch metafields for the product. This product whoseid
I used exists, it has a metafields and the store api credentials are valid. But I keep getting this response.Why is this so and how to get around this problem?
I have also tried
/products/{product_id}/metafields
as the get request endpoint.The code I am trying.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: