order-item-out-of-stock
An order-item-out-of-stock event is triggered when an item is removed from the order, due to being out-of-stock, when delegated to the merchant.
- After the order is delegated: The webhook is sent whenever an item is out of stock on delegation.
- After the order is shipped: The webhook is sent whenever an item is out of stock on shipping.
Example:
Properties:
keystringlocaleobjectappIdintegercountryCodestring (minimum length: ) (maximum length: 3)currencyCodestring (optional) (minimum length: ) (maximum length: 3)languageCodestring (minimum length: ) (maximum length: 5)
occurredAtstringpayloadobjectitemsarrayidinteger (optional)availableQuantityinteger (optional)basketItemKeystring (optional)campaignKeystring (optional)currencystring (optional) (minimum length: ) (maximum length: 3)customDataobject (optional) (object is extensible as desired)deliveryForecastobject (optional)isManuallyReturnedByCciboolean (optional)itemGroup**** (optional)keystringlowestPriorPrice**** (optional)merchantobject (optional)packageIdintegerpriceobjectproductobject (object is extensible as desired)promotionobject (optional)reservationKeystring (optional)statusenum (availableunavailabledeliverableundeliverablecancelledreturneddeliveredcreatedpendedconfirmeddelegatedpartially_shippedshippeddeliveredcancelled)variantobject (object is extensible as desired)warehouseIdnull,integer (optional)warehousePackageGroupIdnull,integer (optional)createdAtstring (date-timeISO 8601)updatedAtstring (date-timeISO 8601)
orderobject (object is extensible as desired)idintegeraddressobject (optional)basketKeystringconfirmedAtstring (date-timeISO 8601) (optional)contactsarray (optional)costobjectcurrencyCodestringcustomDataobject (optional) (object is extensible as desired)customerobject (optional)detailedStatusobject (optional) (object is extensible as desired)invoicedAtstring (date-timeISO 8601) (optional)itemsarray (optional)loyaltyCardobject (optional)membershipDiscountobject (optional)packagesarray (optional)paymentarray (optional)promotionsarray (optional)publicKeystring (optional) (minimum length: ) (maximum length: 100)referenceKeystring (optional) (minimum length: ) (maximum length: 100)shippingobject (optional)shopobject (optional)statusenum (order_openpayment_pendingpayment_reservedinvoice_completedcancellation_pendingcancellation_completedinvoice_partially_completed)vouchersarray (optional)createdAtstring (date-timeISO 8601)updatedAtstring (date-timeISO 8601)
typeenum (order-item-out-of-stock)