Skip to main content

Item Fulfillment Error

This notification is received when there is an error in fulfilling an order item.

Payload

{
  "eventType": "com.example..OrderItemFulfillmentError",
  "cloudEventsVersion": "0.1",
  "eventTypeVersion": "1.0",
  "eventID": "4bb2257c-7768-4c40-a867-4d71acf0e93d",
  "source": "api/v1/order/EXAMPLE-ORDER-123456",
  "contentType": "application/json",
  "data": {
    "merchantOrderId": "example-merchant-order-1234",
    "orderNumber": "EXAMPLE-ORDER-123456",
    "internalOrderState": "Created",
    "orderCancelState": "None",
    "billingAddress": {
      "firstName": "John",
      "lastName": "Doe",
      "email": "john.doe@example.com",
      "phone": "0123456789",
      "streetName": "Example Street",
      "streetNumber": "123",
      "postalCode": "12345",
      "city": "Example City",
      "region": "Example Region",
      "state": "Example State",
      "country": "EX"
    },
    "errorDetails": "The item could not be fulfilled due to a stock issue."
  },
  "eventTime": "2024-10-11T10:24:50.702Z"
}