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.

Bulk create / update products

Solved

Bulk create / update products

Joe237
Shopify Partner
2 0 0

Is it possible to create new products and update existing products in one bulk import job?

Accepted Solution (1)

ShopifyDevSup
Shopify Staff
1453 239 534

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

View solution in original post

Replies 3 (3)

ShopifyDevSup
Shopify Staff
1453 239 534

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

Joe237
Shopify Partner
2 0 0

@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?

ShopifyDevSup
Shopify Staff
1453 239 534

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