OAuth 2.0 client credentials token management.
Tote Online Ordering API (1.0.0)
REST API for 3rd party developers building online ordering integrations with Tote POS convenience stores and fuel stations.
The Tote Online Ordering API enables partners to:
- Authenticate via OAuth 2.0 client credentials
- Browse store locations and business hours
- Retrieve full menus with nested modifier groups
- Create and manage shopping carts
- Submit orders with split payment support
- Track order fulfillment status
- Subscribe to webhook events for real-time updates
- Check item availability and inventory
The server URLs below are placeholders. Your actual API base URL, client ID, and client secret are provided during partner onboarding. Contact developer@totepos.com to get started.
Path parameters use snake_case. JSON response fields use snake_case. Schema names use PascalCase. Enum values use SCREAMING_SNAKE_CASE.
The type of event that occurred. Determines the shape of the data field.
Event-specific payload. Shape depends on event_type. See individual event schemas for details.
Human-readable cancellation reason. Null if no reason was provided.
- Mock serverhttps://developers.tote.ai/_mock/online-ordering/spec/openapi/order-cancelled
- Production (placeholder -- use your assigned base URL)https://api.tote.ai/v1/online-ordering/order-cancelled
- Sandbox (placeholder -- use your assigned base URL)https://sandbox.api.tote.ai/v1/online-ordering/order-cancelled
{ "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7", "event_type": "order.cancelled", "created_at": "2019-08-24T14:15:22Z", "data": { "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe", "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795", "reason": "string", "cancelled_at": "2019-08-24T14:15:22Z" } }
The type of event that occurred. Determines the shape of the data field.
Stock change details. Use GET /locations/{location_id}/inventory as a polling fallback to reconcile.
Items whose availability status changed. A single event can report multiple item changes at the same location.
Item availability status at a location.
- IN_STOCK: Item is available for ordering.
- LOW_STOCK: Item is available but quantities are limited. The threshold for LOW_STOCK is configured server-side per location.
- OUT_OF_STOCK: Item is not available for ordering. Do not display this item as orderable to customers.
Item availability status at a location.
- IN_STOCK: Item is available for ordering.
- LOW_STOCK: Item is available but quantities are limited. The threshold for LOW_STOCK is configured server-side per location.
- OUT_OF_STOCK: Item is not available for ordering. Do not display this item as orderable to customers.
- Mock serverhttps://developers.tote.ai/_mock/online-ordering/spec/openapi/stock-updated
- Production (placeholder -- use your assigned base URL)https://api.tote.ai/v1/online-ordering/stock-updated
- Sandbox (placeholder -- use your assigned base URL)https://sandbox.api.tote.ai/v1/online-ordering/stock-updated
{ "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7", "event_type": "stock.updated", "created_at": "2019-08-24T14:15:22Z", "data": { "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795", "items": [ … ] } }