Skip to navigation

Open draft

Opens a new draft order shell with org assignments based on caller’s organization type. | authz: min_org_role=operator | (OrdersOpenDraftReq) -> (OrdersOpenDraftRes)

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
coordinator_org_idstring or nullOptional
creation_idempotency_keystring or nullOptional

Optional key, unique per caller org, that makes draft creation idempotent: re-sending the same key returns the already-created draft instead of creating a duplicate.

department_idslist of stringsOptional
labelslist of stringsOptional
off_chrt_reference_idstring or nullOptionalformat: "^[A-Za-z0-9._~\-]{1,64}$"1-64 characters
off_chrt_shipper_org_data_idstring or nullOptional
service_lineenumOptional
Allowed values:
shipper_org_idstring or nullOptional
task_lists_to_apply_at_order_creationlist of objectsOptional

OperationsTaskList applications to materialize on the Order for the coordinator org at draft creation, each with optional department override and first-deadline pin.

task_lists_to_apply_at_order_staginglist of objectsOptional
OperationsTaskList applications stored on the Order for deferred application at staging, each with an optional department override.

Response

Successful Response
order_idstring
order_short_idstring

Errors

422
Unprocessable Entity Error