A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Is it possible to create new products and update existing products in one bulk import job?
Solved! Go to the solution
This is an accepted solution.
Hi @Joe237 ,
Thanks for your post. Currently only one of the supported bulk mutations can be submitted at a time when running bulk ops, with productCreate and productUpdate being separate mutations. More info can be found in the limitations section of the bulk import docs found here:
https://shopify.dev/docs/api/usage/bulk-operations/imports#limitations
Have a great day,
Jon551
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi @Joe237 ,
Thanks for your post. Currently only one of the supported bulk mutations can be submitted at a time when running bulk ops, with productCreate and productUpdate being separate mutations. More info can be found in the limitations section of the bulk import docs found here:
https://shopify.dev/docs/api/usage/bulk-operations/imports#limitations
Have a great day,
Jon551
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
@ShopifyDevSup thank you for the reply, I had a feeling that would be the answer.
Do you know if there are any development plans to create a mutation that can both create and update a product, based on if a product ID has been supplied.
Also are there any plans for a bulk product delete mutation?
Hi @Joe237 ,
Thanks for your reply. While we're not able to comment on any unpublished future plans, you can keep up to date with announcements about upcoming changes on these pages:
Have a great day,
Jon551
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog