The Zippi customer app — surfaceDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/CRISTIANCAMACH34/Zippi/llms.txt
Use this file to discover all available pages before exploring further.
client_app at /app/cliente — is where end customers discover local businesses, build their order, check out, and follow their delivery from kitchen to door. Both guests and registered customers can place orders. Registered accounts unlock saved addresses, order history, favorites, and direct support access.
Guest vs. Registered Customer
| Capability | Guest | Registered Customer |
|---|---|---|
| Browse marketplace | ✓ | ✓ |
| View product detail | ✓ | ✓ |
| Place an order | ✓ (guest order) | ✓ (customer order) |
| Track an order | ✓ (with token) | ✓ |
| Saved addresses | ✗ | ✓ |
| Order history | ✗ | ✓ |
| Favorites | ✗ | ✓ |
| Customer support / incidents | ✗ | ✓ |
POST /api/v1/orders/guest and receive an X-Guest-Order-Token in the response. This token is required to subsequently read that guest order — it acts as the authentication mechanism for unauthenticated order lookups.
Registered customers authenticate through:
Ordering Flow
Browse the Marketplace
The marketplace is publicly accessible — no authentication required. Customers browse businesses available in their city.The response includes business name, logo, category, open/closed status, average delivery time, and delivery fee for the customer’s zone.
Browse Products
Once a business is selected, customers browse its menu and product details.Product detail includes name, description, base price, available variants, addition groups, and availability status. Products marked
agotado by kitchen staff are hidden or shown as unavailable.Select Variants and Additions
Each product may include one or more modifier groups — required choices (like size) or optional additions (like extra toppings). The customer’s selections are captured in the order line items at checkout. Additions and variants are defined in the
options module and are attached at the product level.Build the Cart and Check Out
Customers add items to their cart locally. When ready, they submit the order to one of two endpoints depending on authentication status:Guest checkout:Registered customer checkout:The checkout payload includes the business/branch ID, selected products with variants/additions, delivery address, and payment method.
Track the Order
After placing the order, customers track its progress in real time. Registered customers retrieve orders from their history; guests use their token.Registered customer:Guest order lookup (requires The order detail response includes the full state machine position, estimated time, and courier details once assigned.
X-Guest-Order-Token header):Guest Order Token
When a guest completes checkout viaPOST /api/v1/orders/guest, the response includes an opaque token tied to that specific order. To read the order later, the guest must include this token in the X-Guest-Order-Token request header:
401 Unauthorized for unauthenticated callers. Registered customers use their session token instead and do not need X-Guest-Order-Token.
Guest tokens are single-order and do not grant access to any other endpoints. Store the token in the browser session or local storage immediately after the guest checkout response to ensure the customer can track their order.
Saved Addresses
Registered customers can manage a list of saved delivery addresses:Favorites
Registered customers can save businesses they order from frequently:WhatsApp Ordering
WhatsApp is a first-class ordering channel in Zippi. When a customer places an order through WhatsApp (via the support/bot integration), the order enters the same state machine as an app order. The channel origin (app vs. whatsapp) is recorded in the order audit trail, but no separate flow exists — the business, kitchen, and courier experience is identical.
Orders placed via WhatsApp are typically created by the support agent or automated bot on behalf of the customer. The resulting order record is associated with the customer’s profile and appears in their order history if they are a registered user.
Customer Profile
Registered customers can view and update their profile information:Customer Support and Incidents
Registered customers can raise incidents (complaints, missing items, delivery issues) directly from the order detail view. Thecustomer role holds incidents.read and incidents.manage permissions, enabling them to create and track their own support cases.
| Permission | What it enables |
|---|---|
orders.read | View own orders and order states |
clients.read | View own profile and address history |
incidents.read | View own open and resolved incidents |
incidents.manage | Open a new incident or respond to a support request |