Skip to main content
PATCH
/
work-orders
/
{id}
/
approvals
Approve or Reject Review
curl --request PATCH \
  --url https://api.serial.io/work-orders/{id}/approvals \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "approver_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "APPROVED",
  "comment": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>

Path Parameters

id
string
required

The work order UUID (work_order.id) or work order number (work_order.wo_number). Both will map to the same work order

Body

application/json
approver_user_id
string<uuid>
required
status
enum<string>
required
Available options:
APPROVED,
REJECTED
comment
string

Response

OK