How to catch the HTTP POST request sent by a Shopify Webhook

前端 未结 5 623
时光取名叫无心
时光取名叫无心 2021-01-31 05:50

I\'m somewhat of a noob, and not afraid to admit that, I\'m working on this project as a learning experience to get better with php and serverside script/ing handling.

I

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 06:36

    To answer your question about the URL, this is the endpoint on your server that is going to handle receiving the webhook. This is pretty straightforward to set up with most web frameworks, it just needs to handle the post request and respond with a 200 OK.

    Once you have an endpoint set up on your server you can create the webhook on shopify with the URL being the endpoint on the webserver.

提交回复
热议问题