We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey folks - just started playing around with this package and so far it's been great!
I did encounter a Type error issue with the V3 Managed API for both the /catalog/products/{product_id} and /catalog/products endpoints.
/catalog/products/{product_id}
/catalog/products
It seems that the PUT request (updateProduct) has the same required fields as the POST request (createProduct) so the below throws a Type error requiring weight, price and type however only product_id should be required (https://developer.bigcommerce.com/api-reference/b3A6MzU5MDQyODk-update-a-product).
weight
price
type
product_id
this.bigcommerceClient.v3.put('/catalog/products/{product_id}', { path: { product_id: 123 }, body: { name: "Updated Name", } }).then( result => { // 200 -> response.body.data; 204 -> null console.dir(result); }, error => { // non-2xx console.error(error); }, )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey folks - just started playing around with this package and so far it's been great!
I did encounter a Type error issue with the V3 Managed API for both the
/catalog/products/{product_id}
and/catalog/products
endpoints.It seems that the PUT request (updateProduct) has the same required fields as the POST request (createProduct) so the below throws a Type error requiring
weight
,price
andtype
however onlyproduct_id
should be required (https://developer.bigcommerce.com/api-reference/b3A6MzU5MDQyODk-update-a-product).The text was updated successfully, but these errors were encountered: