Webhook for csv upload?

Solved
BeamJokerFavor
Excursionist
47 2 3

Which webhook should I listen for to know if a bulk import CSV has finished loading?

Accepted Solution (1)

Accepted Solutions
cdarne
Shopify Staff
Shopify Staff
19 1 2

This is an accepted solution.

Hello,

 

There's a new webhook topic available for this in the Admin API version 2021-10 and higher: https://shopify.dev/api/usage/bulk-operations/imports#wait-for-the-operation-to-finish.

This should make waiting for the bulk result easier to implement!

 

Cheers,

 

Cédric | Developer @ Shopify

View solution in original post

Replies 2 (2)
cdarne
Shopify Staff
Shopify Staff
19 1 2

This is an accepted solution.

Hello,

 

There's a new webhook topic available for this in the Admin API version 2021-10 and higher: https://shopify.dev/api/usage/bulk-operations/imports#wait-for-the-operation-to-finish.

This should make waiting for the bulk result easier to implement!

 

Cheers,

 

Cédric | Developer @ Shopify

IvanYul
Shopify Partner
5 0 0

could you please provide full code example for nodejs. both bulk request, webhook subscription and the receive handler?