Add to order draft

Adds a task group to an existing order draft. Validates order is in DRAFT status and owned by caller. | (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
courier_org_idstring or nullOptional

Response

Successful Response

Errors