---
title: "Set the order status to 'delivered', 'collected', or 'partially' by Id. Note: The order must be scheduled for delivery."
method: PUT
path: "/Order/Id/{id}/Complete"
tags: ["Order"]
---

# Set the order status to 'delivered', 'collected', or 'partially' by Id. Note: The order must be scheduled for delivery.

`PUT /Order/Id/{id}/Complete`

## Path parameters

- `id` string, required

## Request body

- CompleteOrder — Optional
  - `StatusDate` string, date-time, nullable — Local date and time when the status changed, yyyy-MM-ddTHH:mm:ss. If empty, the default will be now UTC+0.
  - `DriverComment` string, nullable — Driver note
  - `SignatureName` string, nullable — Recipient's signature name on ePOD
  - `CODActual` number, double, nullable — Actual cash on delivery (COD)
  - `GoodsList` CompleteOrderGoods[], nullable — Optional
    - `OrderLineId` string, nullable — Order line (goods line in the order) unique identifier in user accounting system
    - `GoodsId` string, nullable — Goods (directory) unique identifier in user accounting system
    - `GoodsName` string, nullable — Item Description - Goods, load, packaging
    - `QuantityFact` number, double, nullable — Actual quantity or weight
    - `GoodsRejectReasonId` integer, nullable — Goods Reject Reason Id from GoodsIssue list of GET /RejectReason endpoint. Applicable when the actual quantity is less than the quantity.

## Response `200`

Order was updated

## Other responses

- `400` — Bad request. The response payload contains an error description
- `401` — Unauthorized. Invalid X-API-KEY in the request header
- `404` — Not found. Order not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/track-pod/apis/track-pod-api.md) · [All operations](https://skmtc.net/track-pod/apis/track-pod-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/track-pod/track-pod-api/versions/833e05afe46e/schema)
