From 394d7881f285d371efa1abc7a0d2c71aee530a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gatis=20Pel=C4=8Ders?= Date: Mon, 5 Nov 2018 14:36:43 +0200 Subject: [PATCH] Updated available webhook list. (#18) --- src/Structures/Webhook/WebhookItem.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Structures/Webhook/WebhookItem.php b/src/Structures/Webhook/WebhookItem.php index 9a24152..12c7f54 100644 --- a/src/Structures/Webhook/WebhookItem.php +++ b/src/Structures/Webhook/WebhookItem.php @@ -18,6 +18,12 @@ class WebhookItem extends BaseItem const TYPE_PRODUCT_SYNCED = 'product_synced'; /** Is called when stock is updated for some of product's variants. */ const TYPE_STOCK_UPDATED = 'stock_updated'; + /** Is called when order is put on hold. */ + const TYPE_ORDER_PUT_HOLD = 'order_put_hold'; + /** Is called when order is removed from hold. */ + const TYPE_ORDER_REMOVE_HOLD = 'order_remove_hold'; + /** Is called when a shipment is processed as returned to the fulfillment facility. */ + const TYPE_PACKAGE_RETURNED = 'package_returned'; /** * @var string