Add to order draft

Adds a task group to an existing order draft. Validates order is in DRAFT status and owned by caller. The task group is created with no executor — TG-level party assignments happen post-stage via /shipping/task_groups/add_executor/v1. | (OrderDraftAddTaskGroupReq) -> (PydanticObjectId)

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
task_group_typeenumRequired
Allowed values:
order_idstringRequired
order_schedule_template_pathstringOptional
vehicle_typeenumOptional

Response

Successful Response

Errors

422
Task Group Add V1request Unprocessable Entity Error