Order Created Callback

After submitting an order via /order endpoint the response will provide a requestId. This requestId will also be visible in the callback. An example of the callback post:

{
   "success":true,
   "data":{
      "status":"ORDER_CREATED",
      "message":"Order Created",
      "orderId":3024897,
      "orderReferenceId": "test",
      "orderItems":[
         {
            "itemId":"3024897-4285185",
            "itemReferenceId":"test1"
         }
      ]
   },
   "requestId":"61b361532230c"
}

Order(Item) Shipped Callback

Once the order(item) has been shipped the callback will post the following message:

{
   "success":true,
   "data":{
      "status":"SHIPPED",
      "message":"Order Shipped",
      "orderId":3024897,
      "orderReferenceId": "test",
      "orderItems":[
         {
            "itemId":"3024897-4285185",
            "itemReferenceId":"test1",
            "trackingUrls":[
            	"https://www.ups.com?parcel=ABC"
            ]
         }
      ]
   }
}

Error: Order Could not be Created due to unknown variantKey

The combination of variantKey, destination country and quantity is not found

{
  "status": "ERROR",
  "message": "Unknown combination: variantKey=exampleproductkey~examplesku, serviceLevel=saver, quantity=1",
  "requestId": "your-request-id"
}