Create (or Update) Order
REST API for a single order. Requests with the same reference ID will upsert an existing order if it exists.
See Upload Orders for more information.
Body
application/json
- Type: stringFormat: uuidfacility
_id required - Type: stringFormat: uuidreference
_id required - Type: stringtyperequired
- Type: stringcarrier
- Type: stringcustomer
- Type: stringFormat: date-timeearliest
_scheduled _start _time the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: stringFormat: uuidexternal
_reference _id - Type: stringitem
_ids - Type: stringload
_type _name - Type: stringnotes
- Type: array object[]order
_reference _types - Type: stringshipper
_receiver
Responses
- 202
- 400
Bad Request
Request Example for post/conduit.v1.create_facility_order
curl https://api.getconduit.ai/conduit.v1.create_facility_order \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"type": "",
"item_ids": "",
"load_type_name": "",
"shipper_receiver": "",
"reference_id": "",
"external_reference_id": "",
"facility_id": "",
"carrier": "",
"customer": "",
"notes": "",
"order_reference_types": [
{
"key": "",
"value": ""
}
],
"earliest_scheduled_start_time": ""
}'
No Body

