Skip to Content
CerebrumDocs
GuidesAPI referenceTrust & security

Update Order Score

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

PATCH
/v1/orders/{orderId}/score

Update an order's score and optional custom score value.

Behavior

  • customScore changes only when the field is present; null clears it.

Related: Update Order · Score, Status and Alert

Authorization

apiKey
headerapikey<token>

Path Parameters

orderId*string

Request Body

application/json
  1. body
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

Optional custom score to associate with the order

Response Body

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

application/json
  1. response
id*string

order id

score*string|null

Updated 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

Updated custom score of the order, if any

Example Request
curl -X PATCH 'https://api.cerebrum.com/v1/orders/string/score' \  -H 'apikey: CEREBRUM_API_KEY' \  -H 'Content-Type: application/json' \  -d '{  "score": "NO_ALERTS"}'
Example Response
{  "id": "string",  "score": "CLIENT_REVIEW",  "customScore": "string"}