cURL
curl --request PATCH \ --url https://api.serial.io/work-orders/{id}/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "status": "COMPLETE", "updated_by_user_id": "ff74beb8-f6c2-4202-b886-07321bd1ac70", "comment": "We don'\''t need as many as we thought. Moving to completion before meeting qty." }'
This response does not have an example.
Promote or demote the work order status. For example, after a work order has been drafted it can be promoted to review, the released for production
DRAFT
REVIEW
PRODUCTION
COMPLETE
CANCELED
ARCHIVED