inbound/orders endpoint, at which point you should receive a response that the request was successfully received. That does not indicate that the order was successfully created, as your request will be queued and processed asynchronously. For this to work, you'll need to follow the steps below:https://api.ordermesh.io/v1/inbound/orders{
"body": //...request body to be transformed and published,
"merchantId": "2575fc98-b0e5-4124-92ae-7a5f27bd7210",
"transformationId": "c03ecd9c-7a64-4282-b2bd-32bd18e0b417"
}OrderId – Unique identifier for the order generated by our system upon order creation.ExternalOrderId – Your own internal order identifier submitted with the order.SafeId – The globally unique and URL-safe identifier for the order, generated by the system upon order creation.responseCode and responseDescription values:Order has been successfully created – at which point you should receive:{
"IsSuccessful": true,
"Reprint": null,
"OrderId": "670e58fe7741035996cf7d20",
"ExternalOrderId": "WBTEST22",
"SafeId": "WebhooksTest22",
"Description": "Order created",
"SubscriberId": "261c6102-0b72-4506-9a84-98a80a03e7f0",
"ChildSubscriberId": null,
"RequestId": "20260114T175400Z-15865bd54cdnnv7zhC1ATL7twc000000087g000000008mh4",
"EventType": "OrderCreation"
}Order failed to be created – at which point you should receive:{
"IsSuccessful": false,
"Reprint": null,
"ResponseCode": 400,
"ExternalOrderId": "WBTEST23",
"SafeId": "WebhooksTest23",
"Description": "Order could not be created",
"SubscriberId": "261c6102-0b72-4506-9a84-98a80a03e7f0",
"ChildSubscriberId": null,
"RequestId": "20260114T175400Z-15865bd54cdnnv7zhC1ATL7twc000000087g000000008mh4",
"EventType": "OrderCreation"
}Please note: The failed order Webhook is triggered only in case you're submitting orders via a POST API request to the inbound/ordersendpoint and transforming your order payload. In case you're submitting orders via a POST API request directly to a Create a New Order endpoint, you'll receive a response directly from our Orders API notifying you that the order creation failed.
OldStatus – The order status before the update was applied.NewStatus – The order status after the update was applied.{
"NewStatus": "ReadyForFulfillment",
"OldStatus": "Open",
"Reprint": null,
"OrderId": "670e58fe7741035996cf7d20",
"ExternalOrderId": "WBTEST22",
"SafeId": "WebhooksTest22",
"Description": "Order updated: status updated from Open to ReadyForFulfillment",
"SubscriberId": "261c6102-0b72-4506-9a84-98a80a03e7f0",
"ChildSubscriberId": null,
"RequestId": "20260114T175400Z-176b66d6fcbrtv95hS1BNRzww00000000n4000000000b0ua",
"EventType": "OrderUpdate"
}OrderID or Order SafeID in that payload to then make a GET call to the Order API and retrieve the full order data if needed.ShipmentId – Unique identifier for the shipment generated by our system.{
"ShipmentId": "3ed09cf5-80c4-4450-8c64-245f2e2061bc",
"ResponseCode": 200,
"OrderId": "670e58fe7741035996cf7d20",
"ExternalOrderId": "WBTEST22",
"SafeId": "WebhooksTest22",
"Description": "OK",
"SubscriberId": "261c6102-0b72-4506-9a84-98a80a03e7f0",
"ChildSubscriberId": null,
"RequestId": "20260114T175400Z-15865bd54cdnnv7zhC1ATL7twc000000087g000000008mh4",
"EventType": "ShipmentCreated"
}ShipmentID in that payload to then make a GET call to the Shipment API and retrieve the full shipment data.{
"ShipmentId": "3ed09cf5-80c4-4450-8c64-245f2e2061bc",
"NewStatus": "InProduction",
"OldStatus": "ReadyForFulfillment",
"Packages": [],
"OrderMeta": {},
"OrderId": "670e58fe7741035996cf7d20",
"ExternalOrderId": "WBTEST_123",
"SafeId": "WebhooksTest123",
"Description": "",
"SubscriberId": "261c6102-0b72-4506-9a84-98a80a03e7f0",
"ChildSubscriberId": null,
"RequestId": "20260114T175400Z-15865bd54cdnnv7zhC1ATL7twc000000087g000000008mh4",
"EventType": "ShipmentUpdate"
}{
"ShipmentId": "3ed09cf5-80c4-4450-8c64-245f2e2061bc",
"NewStatus": "Fulfilled",
"OldStatus": "InProduction",
"Packages": {
"PackageId": "6e4d1eb2-493f-4664-a784-57d26412738a",
"ShortId": "P09680270",
"CarrierName": "USPS",
"CarrierMethodName": "USPS Ground Advantage",
"ShippedDate": "2022-04-10T15:20:00",
"FulfilledDate": "2022-04-10T13:05:00",
"CarrierTrackingNumber": "9400136208551280752547",
"CarrierLink": "https://tools.usps.com/go/TrackConfirmAction.action?tLabels=9400136208551280752547",
"CarrierAccount": false,
"OrderItemIDs": [
"670e58fe7741035996cf7d21"
],
"PackageOrderItems": [
{
"OrderItemId": "670e58fe7741035996cf7d21",
"ExternalId": "16862939873452-16740582916268",
"Quantity": 1,
"ItemMeta": {
"shopifyVariantId": "45094067830956",
"shopifyFulfillmentOrderLineItemId": "16862939873452",
"shopifyOrderLineItemId": "16740582916268"
}
}
],
"PackingSlipId": null
},
"OrderMeta": {
"integrator": "Shopify",
"shopifyFulfillmentOrderId": "8048734273708",
"shopifyOrderId": "7061367619756"
},
"OrderId": "670e58fe7741035996cf7d20",
"ExternalOrderId": "WBTEST22",
"SafeId": "WebhooksTest22",
"Description": "Package was successfully updated with tracking information",
"SubscriberId": "261c6102-0b72-4506-9a84-98a80a03e7f0",
"ChildSubscriberId": null,
"RequestId": "20260114T175400Z-15865bd54cdnnv7zhC1ATL7twc000000087g000000008mh4",
"EventType": "ShipmentUpdate"
}