package-undeliverable
A package-undeliverable event is triggered when a package is deemed undeliverable to the end customer. This event indicates that a delivery attempt has failed and the package will not reach its intended recipient. Common reasons include an incorrect address, customer unavailability, or issues with the courier.
Typically, the carrier informs the merchant of the failed delivery, and the merchant then notifies SCAYLE about the undeliverable package.
Example:
Properties:
keystringlocaleobjectappIdintegercountryCodestring (maximum length: 3)currencyCodestring (optional) (maximum length: 3)languageCodestring (maximum length: 5)
occurredAtstringpayloadobjectitemsarrayidinteger (optional)availableQuantityinteger (optional)basketItemKeystring (optional)campaignKeystring (optional)currencystring (optional) (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-timevalidation) (optional)contactsarray (optional)costobjectcurrencyCodestringcustomDataobject (optional) (object is extensible as desired)customerobject (optional)detailedStatusobject (optional) (object is extensible as desired)invoicedAtstring (date-timevalidation) (optional)itemsarray (optional)loyaltyCardobject (optional)membershipDiscountobject (optional)packagesarray (optional)paymentarray (optional)promotionsarray (optional)publicKeystring (optional) (maximum length: 100)referenceKeystring (optional) (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 (package-undeliverable)