Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
We have created a webhook when the product is created.we have got all data for product information, product variants, product options but images and image are not getting when the product is created. when the product updates then we have got the response from image and image.
We have checked the documentation for Shopify webhook (Ref:- http://prntscr.com/mr5z9v, http://prntscr.com/mr5zgx) but don't get information for the webhook response from not getting image and image when the product is created.
Images may be quite large and need to be stored not only in a database as a path or otherwise, but also on a file store (AWS S3 in Shopify's case). That takes a while and depends on the size of the images being uploaded. The image upload job itself is most likely asynchronous while the product created event and thus webhook fire as soon as the product has been added.
If you'd wait for images to upload, you'd potentially be waiting several seconds for a response from APIs thus clogging up network and processes.
So this is expected behaviour and you need to work with it.
We have upload image and wait for second and minute but don't get any image and images when the product is created and updated.
I am a bit lost what exactly you're trying to achieve and what exactly your question is now. Sorry, could you explain a little further?
We have created one product and upload the image and also images(thumbnail). the image is uploaded successfully but webhook response is don't get image and images when the product is created and updated.we have uploaded an image and also wait for second and minutes than you provide in reply about 'If you'd wait for images to upload, you'd potentially be waiting several seconds for a response from APIs thus clogging up network and processes' this line.
Could you post the JSON body you are using to create the product if you're doing this via API? Please no cURL, PHP etc.
When I test product creation or update with images, the webhook for products/create or products/update includes the images array so without more details from your side, I honestly can't tell what the issue is.
We have created Webhook in my Shopify store when the product is created(Ref:- http://prntscr.com/mtctud). We have also checked the Shopify Webhook documentation but don't get any information(Ref:- http://prntscr.com/mtctjy) and also create test product in my store check this link https://fine-pratical.myshopify.com/admin/products/2114269544507.
Problem is that when a product is created and updated in my store and response is getting in this https://webhook.site/424723fc-3033-4b90-8826-19d2872e032a URL but all information like product information, variants, options are getting perfect but image and images are not getting in above URL (Ref:- http://prntscr.com/mtcvnl) we have set in webhook. So please read my comment and check if any query then let me know.
Please give a needfull reply I have stuck on this issue.
@keyur_shopify wrote:We have created Webhook in my Shopify store when the product is created(Ref:- http://prntscr.com/mtctud). We have also checked the Shopify Webhook documentation but don't get any information(Ref:- http://prntscr.com/mtctjy) and also create test product in my store check this link https://fine-pratical.myshopify.com/admin/products/2114269544507.
Problem is that when a product is created and updated in my store and response is getting in this https://webhook.site/424723fc-3033-4b90-8826-19d2872e032a URL but all information like product information, variants, options are getting perfect but image and images are not getting in above URL (Ref:- http://prntscr.com/mtcvnl) we have set in webhook. So please read my comment and check if any query then let me know.
Please give a needfull reply I have stuck on this issue. I am using the wrong way or what I am wrong?
@keyur_shopify wrote:Please give a needfull reply I have stuck on this issue.
@keyur_shopify wrote:We have created Webhook in my Shopify store when the product is created(Ref:- http://prntscr.com/mtctud). We have also checked the Shopify Webhook documentation but don't get any information(Ref:- http://prntscr.com/mtctjy) and also create test product in my store check this link https://fine-pratical.myshopify.com/admin/products/2114269544507.
Problem is that when a product is created and updated in my store and response is getting in this https://webhook.site/424723fc-3033-4b90-8826-19d2872e032a URL but all information like product information, variants, options are getting perfect but image and images are not getting in above URL (Ref:- http://prntscr.com/mtcvnl) we have set in webhook. So please read my comment and check if any query then let me know.