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_idstringOptional

Must be a string starting with org_

service_typeenumOptional
Allowed values:

Response

Successful Response

Errors