Update Order
Related workflow: Order lifecycle · Standard screening orders · Adding searches to orders
PATCH
Partially update an order's status, score, and custom score. At least one field is required.
Behavior
- Only the fields present in the request change.
customScore: nullclears the custom score.
Related: Score, Status and Alert
apiKeyheader
apikey<token>id*stringapplication/json- body
status?stringNew status of the order
Value in
"PENDING""IN_PROGRESS""IN_DISPUTE""COMPLETE""INCOMPLETE"score?stringNew score of the order
Value in
"CLIENT_REVIEW""NO_ALERTS""ON_HOLD""ADVERSE_ACTION""REVIEW_REQUIRED""WITHDRAWN""ID_VERIFIED""ID_NOT_VERIFIED""ALERTS_FOUND""PENDING""PRE_ADVERSE""NO_DRUG_TEST""SCREENING_CLEAR""SCREENING_ALERT""SCREENING_NO_ALERT""SCREENING_PENDING""REVIEW_PASS"customScore?string|nullCustom score to associate with the order
The order's ID, status, score and custom score after the update.
application/json- response
id*stringOrder ID
status*string|nullCurrent status of the order
Value in
"PENDING""IN_PROGRESS""IN_DISPUTE""COMPLETE""INCOMPLETE"score*string|nullCurrent score of the order
Value in
"CLIENT_REVIEW""NO_ALERTS""ON_HOLD""ADVERSE_ACTION""REVIEW_REQUIRED""WITHDRAWN""ID_VERIFIED""ID_NOT_VERIFIED""ALERTS_FOUND""PENDING""PRE_ADVERSE""NO_DRUG_TEST""SCREENING_CLEAR""SCREENING_ALERT""SCREENING_NO_ALERT""SCREENING_PENDING""REVIEW_PASS"customScore*string|nullCurrent custom score of the order
curl -X PATCH 'https://api.cerebrum.com/v1/orders/string' \ -H 'apikey: CEREBRUM_API_KEY' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "status": "PENDING", "score": "CLIENT_REVIEW", "customScore": "string"}