Skip to content

Commit 6c81c11

Browse files
authored
Add docs section on product creation webhook (#312)
Signed-off-by: Philipp Daun <[email protected]>
1 parent aff7f59 commit 6c81c11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/en/CMS/webhooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ Your URL should point to the following endpoint:
5151
https://YOURSITE/!/shopify/webhook/collection/delete
5252
```
5353

54-
5554
## Product Update
5655

5756
Similarly, rather than running the full import to catch any changes to products, you can add a webhook on **Product Update** that sends any updated data to Statamic and queues a refresh of that product.
5857

58+
Note that Shopify will send the update hook on product creation as well, so no separate webhook is required for that.
59+
5960
Your URL should point to the following endpoint:
6061

6162
```bash
@@ -102,4 +103,3 @@ StatamicRadPack\Shopify\Events\OrderCreate
102103
```
103104

104105
Each event has one property `$data` with the payload data decoded to a `stdClass`.
105-

0 commit comments

Comments
 (0)