# Parchi — Sharma Kirana Store Parchi takes grocery orders for Sharma Kirana Store over chat. An agent can place an order for a person with two or three HTTP calls. The customer is identified by a 10-digit Indian mobile number. ## Place an order POST https://parchi.zwala.dev/api/v1/message Content-Type: application/json 1. Send the order in plain words (Hinglish, Hindi or English): {"phone": "9876543210", "message": "2 kilo aata, ek Amul butter aur aadha kilo pyaaz"} The response has: reply (text), options (when an item is ambiguous or out of stock), cart (lines and total in INR), bill, order, next (what to do next). 2. If options came back, send another message naming the one you want. 3. Ask for the bill: {"phone": "9876543210", "message": "bill bana do"} The response has bill.total and bill.confirm_token. 4. Place the order: {"phone": "9876543210", "confirm": } The response has order.id. The shop sees it on its board. Prices, stock and totals are computed by the shop's code, never by a language model. A bill must be confirmed in a separate call from the one that produced it. ## Read the catalog GET https://parchi.zwala.dev/api/v1/catalog Returns every item with sku, name, price in INR, how it is sold (per kg or per piece) and whether it is in stock. ## Limits Messages are at most 500 characters. Loose items are sold in 250 g steps up to 25 kg; packed items up to 24 pieces.