Apply to order

Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id overrides the caller's Order department when supplied. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])

Authentication

AuthorizationBearer

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

Path parameters

task_list_idstringRequired
order_idstringRequired

Query parameters

department_idstringOptional
Overrides the Order department for tasks materialized by this application.
initial_deadline_timestampdatetimeOptional

If set, pins the first entry’s deadline; later FROM_PREVIOUS_TASK entries cascade from it.

Response

Successful Response

Errors

422
Operations Task Lists Apply to Order V1request Unprocessable Entity Error