docs
  1. Events
  2. Order Events
  3. Order-item-unshippable

order-item-unshippable

An order-item-unshippable event is triggered

  1. When an item is out of stock and unshippable while the order is being transitioned from “Delegated” to “Shipped”.
  2. When an item of the order or the whole order is cancelled by the user while the order is in the "Delegated" state

Example:

Properties:

  • key string
  • locale object
    • appId integer
    • countryCode string (minimum length: ) (maximum length: 3)
    • currencyCode string (optional) (minimum length: ) (maximum length: 3)
    • languageCode string (minimum length: ) (maximum length: 5)
  • occurredAt string
  • payload object
    • items array
      • id integer (optional)
      • availableQuantity integer (optional)
      • basketItemKey string (optional)
      • campaignKey string (optional)
      • currency string (optional) (minimum length: ) (maximum length: 3)
      • customData object (optional) (object is extensible as desired)
      • deliveryForecast object (optional)
      • isManuallyReturnedByCci boolean (optional)
      • itemGroup **** (optional)
      • key string
      • lowestPriorPrice **** (optional)
      • merchant object (optional)
      • packageId integer
      • price object
      • product object (object is extensible as desired)
      • promotion object (optional)
      • reservationKey string (optional)
      • status enum (available unavailable deliverable undeliverable cancelled returned delivered created pended confirmed delegated partially_shipped shipped delivered cancelled)
      • variant object (object is extensible as desired)
      • warehouseId null,integer (optional)
      • warehousePackageGroupId null,integer (optional)
      • createdAt string (date-time ISO 8601)
      • updatedAt string (date-time ISO 8601)
    • order object (object is extensible as desired)
      • id integer
      • address object (optional)
      • basketKey string
      • confirmedAt string (date-time ISO 8601) (optional)
      • contacts array (optional)
      • cost object
      • currencyCode string
      • customData object (optional) (object is extensible as desired)
      • customer object (optional)
      • detailedStatus object (optional) (object is extensible as desired)
      • invoicedAt string (date-time ISO 8601) (optional)
      • items array (optional)
      • loyaltyCard object (optional)
      • membershipDiscount object (optional)
      • packages array (optional)
      • payment array (optional)
      • promotions array (optional)
      • publicKey string (optional) (minimum length: ) (maximum length: 100)
      • referenceKey string (optional) (minimum length: ) (maximum length: 100)
      • shipping object (optional)
      • shop object (optional)
      • status enum (order_open payment_pending payment_reserved invoice_completed cancellation_pending cancellation_completed invoice_partially_completed)
      • vouchers array (optional)
      • createdAt string (date-time ISO 8601)
      • updatedAt string (date-time ISO 8601)
  • type enum (order-item-unshippable)