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.
Request
Returns the current availability status for all items at a location. Use this endpoint to check stock before adding items to a cart, or as a polling fallback for the stock.updated webhook event.
Items not returned in this response are not available at this location.
Pagination: Results use cursor-based pagination. Use the cursor parameter from the pagination.next_cursor field to retrieve the next page.
- Mock serverhttps://developers.tote.ai/_mock/online-ordering/spec/openapi/locations/{location_id}/inventory
- Production (placeholder -- use your assigned base URL)https://api.tote.ai/v1/online-ordering/locations/{location_id}/inventory
- Sandbox (placeholder -- use your assigned base URL)https://sandbox.api.tote.ai/v1/online-ordering/locations/{location_id}/inventory
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.tote.ai/_mock/online-ordering/spec/openapi/locations/{location_id}/inventory?cursor=string&limit=100' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'A paginated list of inventory items with availability status.
List of items with availability status.
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.
{ "data": [ { … }, { … }, { … } ], "pagination": { "has_more": false, "next_cursor": null } }