Skip to Content
CerebrumDocs
GuidesAPI referenceTrust & security

Update Order

Related workflow: Order lifecycle · Standard screening orders · Adding searches to orders

PATCH
/v1/orders/{id}

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: null clears the custom score.

Related: Score, Status and Alert

Authorization

apiKey
headerapikey<token>

Path Parameters

id*string

Request Body

application/json
  1. body
status?string

New status of the order

Value in"PENDING""IN_PROGRESS""IN_DISPUTE""COMPLETE""INCOMPLETE"
score?string

New 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|null

Custom score to associate with the order

Response Body

The order's ID, status, score and custom score after the update.

application/json
  1. response
id*string

Order ID

status*string|null

Current status of the order

Value in"PENDING""IN_PROGRESS""IN_DISPUTE""COMPLETE""INCOMPLETE"
score*string|null

Current 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|null

Current custom score of the order

Example Request
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"}