Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Why shopify not provide batch update interface

Solved

Why shopify not provide batch update interface

Hoswey
Visitor
3 0 1

Sometime We need to update 100 products. But shopify only provide the below api to update one product each time.

https://shopify.dev/api/admin/rest/reference/products/product

So we need to call this api 100 times.

 

As a developer, I am very curious why not provide a batch update api. Any difficulty from the technique view?

Accepted Solution (1)

PaulNewton
Shopify Partner
7450 657 1565

This is an accepted solution.

Modernize to use the GraphQL API, and or the GraphQL bulk operations

https://shopify.dev/api/admin/graphql/reference 

https://shopify.dev/api/usage/bulk-operations 

 

https://www.shopify.com/partners/blog/shopify-api-release-july-2021#bulk-mutations 

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


View solution in original post

Reply 1 (1)

PaulNewton
Shopify Partner
7450 657 1565

This is an accepted solution.

Modernize to use the GraphQL API, and or the GraphQL bulk operations

https://shopify.dev/api/admin/graphql/reference 

https://shopify.dev/api/usage/bulk-operations 

 

https://www.shopify.com/partners/blog/shopify-api-release-july-2021#bulk-mutations 

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org