Post Orders Create

Creates a comprehensive order with task groups, tasks, milestones, and cargo.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
order_client_createobjectRequired
task_client_creates_bundle_groupingslist of lists of objectsRequired
These become Task Groups
cargo_client_creates_mapmap from strings to objectsRequired
A cargo may be shared by Tasks so we use a mapping
order_created_by_typeenumRequired
Allowed values:
order_dispatch_typeenumRequired
If a shipper or chrt creates an order, this field is required.
Allowed values:
transport_typeenumRequired
Allowed values:
shipper_org_idstring or nullOptional

Optionally used when a courier places a DTC order or chrt places a DTC/FF order

shipper_user_idstring or nullOptional
off_chrt_shipper_org_info_idstring or nullOptional

Used for off-platform shipper orders. Mutually exclusive with shipper_org_id.

courier_org_idstring or nullOptional
For DTC orders placed by shippers or chrt, this field is required.

Response

Successful Response
order_idstring
order_short_idstring

Errors