Orders with regulated items
Check age and identity verification requirements for regulated orders and record the verification outcome.
Some orders contain regulated items, such as alcohol, tobacco, age-restricted products or pharmacy items. These orders can require you to verify the buyer's age or identity, collect a signature, or check the buyer's date of birth at delivery. Use the regulated information operations to learn what an order requires and to record whether verification succeeded.
Before you begin
- Get an access token. Reading an order needs the
orders:readscope, and recording an outcome needsorders:write. See Authentication. - Have the order's
purchaseOrderId. See Retrieve orders.
Step 1: Get the verification requirements
Call Get regulated information for an order before you ship the order.
GET /v4/orders/1234567891234/regulated-info
Authorization: Bearer <access_token>{
"payload": {
"regulatedCategory": "ALCOHOL",
"requiredVerificationMethod": "DRIVERS_LICENSE",
"requiredAgeMinimum": 21,
"signatureRequired": true,
"buyerDateOfBirthRequired": true,
"valueAddedServices": [
{ "code": "ADULT_SIGNATURE", "description": "Adult signature required at delivery" }
]
}
}| Field | Values and meaning |
|---|---|
regulatedCategory | NOT_REGULATED, ALCOHOL, TOBACCO, AGE_RESTRICTED or PHARMACY. NOT_REGULATED means no regulated category applies. |
requiredVerificationMethod | NONE, DRIVERS_LICENSE, PASSPORT or GOVERNMENT_ID. |
requiredAgeMinimum | Minimum buyer age in years, 0 to 120. 0 means no age requirement. |
signatureRequired | Whether a signature is required at delivery. |
buyerDateOfBirthRequired | Whether the buyer's date of birth must be collected or verified. |
valueAddedServices | Extra services, such as ADULT_SIGNATURE. Empty when none apply. |
When regulatedCategory is NOT_REGULATED and requiredVerificationMethod is NONE, fulfill the order as usual.
Step 2: Record the verification outcome
After the delivery attempt, call Update order verification status. Set verificationStatus to APPROVED or REJECTED. When you send REJECTED, you must also send a rejectionReason.
PATCH /v4/orders/1234567891234/regulated-info
Authorization: Bearer <access_token>
Content-Type: application/json{
"verificationStatus": "REJECTED",
"rejectionReason": "ID_UNDERAGE"
}rejectionReason | Meaning |
|---|---|
BUYER_CANCELED | The buyer cancelled. |
BUYER_REJECTED | The buyer rejected the delivery. |
ID_EXPIRED | The ID presented has expired. |
ID_INVALID | The ID presented isn't valid. |
ID_UNDERAGE | The buyer is below the required age. |
ID_MISMATCH | The ID doesn't match the buyer. |
OTHER | Any other reason. |
rejectionReason is ignored when verificationStatus is APPROVED.
{
"purchaseOrderId": "1234567891234",
"verificationStatus": "REJECTED",
"updatedAt": "2026-12-03T14:20:00Z"
}Errors and edge cases
400:verificationStatusis missing, or it isREJECTEDwithout arejectionReason.404: no order exists for the purchase order ID.429: you exceeded the rate limit. Back off and retry.503: updating the verification status can be temporarily unavailable. Retry after the number of seconds in theRetry-Afterheader.
