Skip to content

Sandbox testing

Production and sandbox are isolated. Create sandbox merchants, strategies, keys, and quotes; production IDs and keys do not work there.

External providers validate more than the JSON shape:

  • Use valid-looking merchant and customer phone numbers for the destination country.
  • Use real, geocodable pickup and drop-off addresses.
  • Keep pickup and drop-off close together when you want broad provider coverage.
  • Use a distant drop-off only when intentionally testing no-provider and rejection paths.

Fake phone numbers and malformed addresses are the most common reasons a provider is missing from quotes or rejects an order.

Uber is currently the only provider in the First sandbox network that simulates the complete assignment-to-delivery lifecycle through provider webhooks.

An order will not receive that simulated lifecycle when:

  • you create it with a non-Uber quote_id, or
  • strategy routing selects another provider.

For the fastest lifecycle test, omit pickup_time and dropoff_time. When either is present, assignment and fulfillment events respect the scheduled timing.

Test at least:

  1. A request that routes successfully.
  2. A request that creates an order but cannot route it.
  3. A provider rejection.
  4. A duplicate or ambiguous retry using your stable external_id.
  5. An order that reaches a terminal status through webhooks.

Inspect auto_route, retain _request_id, and refetch the order after ambiguous outcomes.

See Sandbox for environment URLs, credentials, webhooks, and data-lifecycle limitations.