Skip to Content

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:read scope, and recording an outcome needs orders: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" }
    ]
  }
}
FieldValues and meaning
regulatedCategoryNOT_REGULATED, ALCOHOL, TOBACCO, AGE_RESTRICTED or PHARMACY. NOT_REGULATED means no regulated category applies.
requiredVerificationMethodNONE, DRIVERS_LICENSE, PASSPORT or GOVERNMENT_ID.
requiredAgeMinimumMinimum buyer age in years, 0 to 120. 0 means no age requirement.
signatureRequiredWhether a signature is required at delivery.
buyerDateOfBirthRequiredWhether the buyer's date of birth must be collected or verified.
valueAddedServicesExtra 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"
}
rejectionReasonMeaning
BUYER_CANCELEDThe buyer cancelled.
BUYER_REJECTEDThe buyer rejected the delivery.
ID_EXPIREDThe ID presented has expired.
ID_INVALIDThe ID presented isn't valid.
ID_UNDERAGEThe buyer is below the required age.
ID_MISMATCHThe ID doesn't match the buyer.
OTHERAny other reason.

rejectionReason is ignored when verificationStatus is APPROVED.

{
  "purchaseOrderId": "1234567891234",
  "verificationStatus": "REJECTED",
  "updatedAt": "2026-12-03T14:20:00Z"
}

Errors and edge cases

  • 400: verificationStatus is missing, or it is REJECTED without a rejectionReason.
  • 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 the Retry-After header.

On this page