Skip to main content
The Vori REST API lets grocers pull and manage data like store products programmatically. All requests go to https://api.vori.com.
Download the OpenAPI specification to generate a client in your language or load every endpoint into an API tool like Postman or Insomnia.

Authentication

Every API request must include a bearer token in the Authorization header. For public integration endpoints, authenticate with an API key: a long-lived credential you create and manage yourself, scoped to the eligible roles you assign it. Live keys begin with sk_live_, while test keys begin with sk_test_. Some personal endpoints under /v1/me, including handheld preferences, require a bearer token for an individual signed-in user and reject service-account API keys. Check the endpoint documentation before calling these routes.
There’s no token exchange and nothing to refresh — the key works as-is until you delete it.

Create a key

1

Open API clients

Go to app.vori.com/retail/api-keys. If you can’t access this page, contact Support to get access.
2

Create a client

Choose Live or Test, give the key a name, and assign the roles it needs. New keys default to live mode, and a key’s mode cannot be changed after creation. Live keys can move real money; payments created with test keys are sandboxed and do not move real money.Roles determine which resources and actions the key can reach — the same role model used for user accounts. Test keys can hold only eligible roles that read data or work with payments and refunds; use a live key if the integration requires other roles.Store Admins can create keys for the stores they administer, and can assign those keys roles only at that store.
3

Copy the secret immediately

The full secret (sk_live_... for a live key or sk_test_... for a test key) is shown exactly once, at creation. Vori stores only a hash of it, so if you lose the secret, there’s no way to recover it — delete the key and create a new one.
If a key only needs to read data, assign it a Read-only role instead of a full-access one. This avoids errors from write attempts you didn’t anticipate needing, and limits the blast radius if the secret is mishandled.For an integration that creates, reads, and refunds payments, assign the Payments API Client role. It limits the key to those payment operations and can also be assigned to a test-mode API key.

Use test mode

Test mode is available for every banner. Use a test key while building and validating an integration. The API determines the mode for payments and refunds from the key. Only payments and refunds have separate test data. A test key can read shared resources such as stores and the product catalog, but those resources are read-only. Vori does not create a test copy of catalog, inventory, or other non-payment data.
Test-mode house account payments behave differently from card payments. On a Vori test banner, they are processed as real house account transactions and change the account balance as if the payment were live. Real banners reject test-mode house account payments.

Keys don’t expire

API keys have no built-in expiration or rotation. To replace a key, create a new one, migrate your integration to it, confirm the old key is no longer being used, then delete the old key.

Rate limits

Public endpoints are limited to 20 requests per second per API key, enforced over a rolling 1‑minute window. Each response includes headers describing your current standing:
  • X-RateLimit-Limit — the ceiling for the current window
  • X-RateLimit-Remaining — how many requests you have left in the current window
  • Retry-After — included on 429 Too Many Requests; seconds to wait before retrying
If you exceed the limit, back off until Retry-After elapses, then retry with standard client-side jitter.

Pagination

List endpoints use cursor-based pagination:
  • limit sets the page size. Each endpoint documents its own default and maximum.
  • starting_after and ending_before take the id of a record in the result set, and page forward or backward from it.
Results are always ordered by id descending. This order isn’t configurable per request. Responses use one envelope across all list endpoints:
has_more tells you whether another page is available.

Filtering

Filterable fields are real, typed query parameters — not a single opaque filter object. Which fields are filterable, and which operators they support, is documented per endpoint. The value types you’ll see: Range operators are [gt], [gte], [lt], and [lte]. Multiple parameters combine with AND; there’s no OR across different fields. Matching multiple values (IN) — repeat the key rather than passing a comma list:
Repeated values for the same key combine with OR. This only applies to identifier fields — repeating store_department_id narrows to any of those departments; boolean and timestamp fields take a single value. Each endpoint caps how many values you can repeat for a given key; exceeding the cap returns an error rather than silently truncating. Example: active products in a specific department, with inventory included:

Guides and examples

The guides below walk through the most common integration paths step by step: For a complete, runnable reference, see ecommerce-demo: a small storefront wired end-to-end to a Vori store that:
  • Seeds its catalog from the Vori catalog.
  • Runs a background job that polls for catalog and inventory changes, so the storefront never drifts out of sync.
  • Creates and updates the shopper data (e.g., name, phone number, and email), and records the transaction in Vori when an order is placed on the storefront.
  • Records transactions refunds in Vori when a storefront order is canceled.
Between the catalog import, the sync job, and the checkout flow, it exercises most of what’s on this page in a setting closer to a real integration than any single curl example can show.

House accounts

house-accounts-demo is a focused example that shows how to:
  • Create and manage house accounts
  • View transactions
  • Pay off outstanding balances via external payments or invoices
Clone it and run locally to see the full request/response flow for common house account operations.