HyperTrackDocs
Orders

List Order Tasks

Retrieves a list of all tasks associated with a specific order.

GET
/orders/{order_handle}/tasks

Retrieves a list of all tasks associated with a specific order.

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

order_handle*string

Query Parameters

fulfillment_attempt?|

The attempt number for order fulfillment.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/orders/string/tasks"
{  "tasks": [    {      "label": "string",      "task_definition_id": "string",      "description": "string",      "metadata": {        "property1": null,        "property2": null      },      "priority": "none",      "task_id": "string",      "status": "string",      "created_at": "string",      "updated_at": "string",      "attachments": [        {          "type": "image",          "url": "string",          "caption": "string",          "attachment_id": "string"        }      ]    }  ]}
{  "detail": {},  "message": "string"}
{  "code": "order_not_found",  "title": "Order Not Found",  "detail": {    "description": "Order not found for handle <order_handle>"  }}
{  "detail": {    "<location>": {      "<field_name>": [        "string"      ]    }  },  "message": "string"}