HyperTrackDocs
Orders

Update Order Task

Updates the details of a specific task associated with an order. This endpoint is used to modify the status and details of a task by its ID.

PATCH
/orders/{order_handle}/tasks/{task_id}

Updates the details of a specific task associated with an order. This endpoint is used to modify the status and details of a task by its ID.

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

order_handle*string
task_id*string

Query Parameters

fulfillment_attempt?|

The attempt number for order fulfillment.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/orders/string/tasks/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "task_id": "b7e6f8c2-1d2a-4e3b-9c3d-2e5a6b7c8d9e",  "label": "order_summary",  "description": "Generate order summary for order 001",  "priority": "high",  "status": "in_progress",  "created_at": "2023-10-01T12:00:00Z",  "updated_at": "2023-10-01T12:00:00Z"}
{  "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"}