Skip to content
New issue

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

Is there a way to update products in batches (more than 1 at a time)? #92

Open
HaiSycamore opened this issue May 5, 2020 · 1 comment

Comments

@HaiSycamore
Copy link

Currently, I'm using the following to update information about a single product.

api.Products.get(1234).update(inventory_level=20)

Is there a way to update multiple products? I've tried something like this, but got a 404 error.

api.Products.get([123, 456]).update(inventory_level=20)

ERROR:
404 Not Found @ products/[123,456]: b'[{"status":404,"message":"The requested resource was not found."}]'

BigCommerce allow 10 product updates at a time, so I'm trying to see if that is possible.
https://developer.bigcommerce.com/api-reference/catalog/catalog-api/products/updateproducts

@obrien-k
Copy link

obrien-k commented May 8, 2020

Hello there @HaiSycamore -- The Python API tool is currently using Catalog V2 API calls to make requests, you can find more info about the V2 Catalog API on our DevCenter here: https://developer.bigcommerce.com/legacy/v2-products/v2-v3

The capability you describe is added with the V3 Catalog API, and you can follow progress for the open issue to upgrade our Python API tool here: #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants