PATCH
/
work-orders
/
{id}
/
approvals
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": "cddaa2ad-a813-4e07-9ada-2d9c5fa02907",
  "status": "APPROVED",
  "comment": "Looks good! Let'\''s get this going"
}'

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
required
status
enum<string>
required
Available options:
APPROVED,
REJECTED
comment
string