> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Complete a work order

> Complete a work order

### Path parameters

<ParamField path="id" type="string" required>
  Work order ID
</ParamField>

### Responses

<ResponseField name="200" type="object">
  Work order completed
</ResponseField>

<ResponseField name="401" type="ErrorResponse">
  Unauthorized
</ResponseField>

<ResponseField name="403" type="ErrorResponse">
  Forbidden
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.stateset.com/api/v1/work-orders/{id}/complete' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
