/shipping/orders

Add task artifact

Changed on

Adds a task artifact to an order task. Draft orders require draft_creator_org_operator and create DRAFT artifacts; operational orders require driver_for_executor, executor_org_operators, or coordinator_org_operators and create STAGED or COMPLETED artifacts. | authz_personas=[draft_creator_org_operator, driver_for_executor, executor_org_operators, coordinator_org_operators] | (OrdersAddTaskArtifactReq) -> (PydanticObjectId)

post/shipping/orders/task_artifact/add/v1/{task_id}

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/shipping/orders/task_artifact/add/v1/{task_id}
  • Auth
    HTTP bearer

Path parameters

task_idstring required

Request body

status'staged' | 'completed' nullable

Initial status for a non-draft task artifact. Defaults to STAGED. Omit for draft orders.

Response

Successful Response

string required

Changes