Quiver
Track delivery
Documentation contents

Get started in Sandbox

Authentication

  1. Open Settings → Integrations and copy your Sandbox merchant API key. If your account has no Sandbox key, contact Quiver to request access.
  2. Keep the key in an environment variable or secret store. Send it as the x-api-key header from your server or terminal.
  3. Use https://api.quiver.london in both environments. Your merchant API key selects Sandbox or Production.
Environment Credential
Sandbox Sandbox merchant API key
Production Production merchant API key

Test with a Sandbox merchant

Make a read-only request first

With your Sandbox key set as QUIVER_SANDBOX_API_KEY, run this in a terminal. No task, address or product ID is needed.

curl --silent --show-error --fail-with-body --include \
  -H "x-api-key: ${QUIVER_SANDBOX_API_KEY:?Set your Sandbox API key}" \
  'https://api.quiver.london/task/deliveries?pageSize=1'

Download the first-request script. A successful response is HTTP 200. A new account can return an empty object or omit the deliveries collection. If you get 401, check the key and header. If you get 403, ask your merchant account administrator to check API access.

Find records for your first booking

  • Call List fulfilment locations and use the collection location’s address.addressId. For the delivery address, use a test address ID supplied for your Sandbox merchant. The booking schema also accepts address details in delivery.address; the worked example uses IDs.
  • Call List products and use an enabled product’s merchantProductId. If your Sandbox catalogue is empty, create a sample product.
  • If your merchant has no suitable test locations or addresses, ask Quiver for Sandbox fixtures. Use test records and a key from the same merchant.

Continue with Quote, book and track a delivery. After booking, check the response’s mode when present. Never use a Production key in this exercise.

For a Sandbox quote or booking on a date when the delivery area is closed, add ?ignoreTimeRules=true to both requests. Sandbox quotes and bookings skip the stock check. Validate expected stock availability with your inventory data.

How We Work
Pricing
Reviews
Become a Courier
Jobs
3
Developers