Order creation

This webhook will be called when one or more orders have been created. The request from the webhook would look like this:

{
  "name": "createOrder",
  "sent": "2018-04-13T08:12:56.320Z",
  "data": [
    {
      "orderId": "5ad066886a9deecd679e6ac5",
      "orderNumber": "WUX-123-45678901",
      "requisition": "this-is-requisition",
      "createType": "order",
      "tntKey": "9bd85a17-0c5a-47df-a623-9f8c770e1ba8"
    }
  ]
}

The data contains:

Key

Description

orderId

The id of the created order.

orderNumber

The order number the order have been given.

requisition

The requisition the order have been given.

createType

How the order was created. This can be order which is an order created manually. api is when it is created from API or from a file. truckFinder is when the order is created from a TruckFinder search.

tntKey

The key that can be used to create the Track & Trace link

If orderNumber or requisition is not set, it will not be in the payload.