{"info":{"name":"Teloora Website API v1.0","description":"Connect your own website or app to your Teloora (Tally) data: show your catalogue with your locked rates, register customers and place orders that flow into Tally. Available with the Website add-on (API Only or Full Setup).\n\nRun \"Sign in\" first — it saves the token for every other request.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"variable":[{"key":"base_url","value":"https://tallysaasapi.teloora.com/api/v1"},{"key":"token","value":""},{"key":"customer_token","value":""}],"item":[{"name":"Authentication","item":[{"name":"Sign in","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{base_url}}/ext/auth/login","host":["{{base_url}}"],"path":["ext","auth","login"]},"description":"Sign in with the Website user's email and password and get a token for all other calls. One website user per add-on: a company has one login per add-on it holds (Website, API). A login beyond that is refused on every /ext call with 403, code WEBSITE_USER_LIMIT, until the extra user is deleted or another add-on is bought.\n\n**Body fields**\n- `email` (string, MANDATORY) — The Website user's login email.\n- `password` (string, MANDATORY) — Its password.\n\n**Response fields**\n- `token` (string)\n- `user` (object)\n- `user.id` (number) — Record id — use it in /{id} calls.\n- `user.name` (string) — Name, exactly as in Tally / Teloora.\n- `user.email` (string) — Email.\n- `user.role` (string)\n- `user.role_slug` (string)\n- `user.company_id` (number) — The company (books) this record belongs to.\n- `user.permissions` (array)\n- `user.is_salesman` (boolean)\n- `user.sales_person_id` (null)\n- `user.is_customer_user` (boolean)\n- `user.customer_id` (number) — Customer id.\n- `user.website_user` (object)\n- `user.website_user.customer_id` (number) — Customer id.\n- `user.website_user.cash_extra_pct` (number) — Retired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).\n- `user.website_user.online_extra_pct` (number) — Retired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).\n- `user.license` (object)\n- `user.license.valid_until` (string)\n- `user.license.status` (string) — Active | Inactive (records) or the voucher status.\n- `user.license.days_left` (number)\n- `user.license.expired` (boolean)\n- `user.license.renew_due` (boolean)\n- `user.license.max_companies` (null)\n- `user.license.max_users` (number)\n- `user.license.companies_used` (number)\n- `user.license.companies_remaining` (null)\n- `user.license.users_used` (number)\n- `user.license.users_remaining` (number)\n- `user.default_company_id` (null)\n- `expires_in` (string)","body":{"mode":"raw","raw":"{\n  \"email\": \"shop@example.com\",\n  \"password\": \"••••••••\"\n}","options":{"raw":{"language":"json"}}}},"event":[{"listen":"test","script":{"type":"text/javascript","exec":["const b = pm.response.json();","if (b && b.status === 200 && b.data && b.data.token) {","    pm.collectionVariables.set(\"token\", b.data.token);","}"]}}]},{"name":"Who am I (from the token)","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/auth/me","host":["{{base_url}}"],"path":["ext","auth","me"]},"description":"The same user block a sign-in answers (name, permissions, website pricing %, licence), read fresh for the token you send. No password, no new session — the token stays valid. Call it to pick up a change made in Teloora instead of signing in again. 401 = the token has ended: sign in again.\n\n**Response fields**\n- `user` (object)\n- `user.id` (number) — Record id — use it in /{id} calls.\n- `user.name` (string) — Name, exactly as in Tally / Teloora.\n- `user.email` (string) — Email.\n- `user.role` (string)\n- `user.role_slug` (string)\n- `user.company_id` (number) — The company (books) this record belongs to.\n- `user.permissions` (array)\n- `user.is_salesman` (boolean)\n- `user.sales_person_id` (null)\n- `user.is_customer_user` (boolean)\n- `user.customer_id` (number) — Customer id.\n- `user.website_user` (object)\n- `user.website_user.customer_id` (number) — Customer id.\n- `user.website_user.cash_extra_pct` (number) — Retired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).\n- `user.website_user.online_extra_pct` (number) — Retired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).\n- `user.license` (object)\n- `user.license.valid_until` (string)\n- `user.license.status` (string) — Active | Inactive (records) or the voucher status.\n- `user.license.days_left` (number)\n- `user.license.expired` (boolean)\n- `user.license.renew_due` (boolean)\n- `user.license.max_companies` (null)\n- `user.license.max_users` (number)\n- `user.license.companies_used` (number)\n- `user.license.companies_remaining` (null)\n- `user.license.users_used` (number)\n- `user.license.users_remaining` (number)\n- `user.default_company_id` (null)"}}]},{"name":"Catalogue","item":[{"name":"List categories","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/categories?","host":["{{base_url}}"],"path":["ext","categories"],"query":[{"key":"search","value":"","description":"optional — string — Filter by name.","disabled":true},{"key":"page","value":"","description":"optional — integer — Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Default 10, max 100.","disabled":true},{"key":"with_categories","value":"","description":"optional — integer — 1 = (brand-wise store) each brand also returns stock_categories [{ name, parent, products }], n levels. Optional; default off.","disabled":true},{"key":"kind","value":"","description":"optional — string — brand | category. Optional; default = the store's own catalog.mode (unchanged when left out). Example: GET /ext/categories?kind=brand&per_page=500&sort=position. kind=brand returns the BRANDS (Tally stock groups) even on a category-wise store; kind=category returns the STOCK CATEGORIES even on a brand-wise store. Same row shape and counts. Use it to show both \"Shop by category\" and \"Shop by brand\" on a home page; filter products with /ext/products?brand=<name> (category store) or ?stock_category=<name> (brand store).","disabled":true},{"key":"sort","value":"","description":"optional — string — position (default) = the order set with ▲▼ in Teloora, or name.","disabled":true},{"key":"order","value":"","description":"optional — string — asc (default) | desc.","disabled":true}]},"description":"Stock categories assigned to this Website user's catalogue, with image_url (null when none) and show_on_top for your menu. Brand-wise store (catalog.mode = brand): the list is the BRANDS; add with_categories=1 and each brand also carries stock_categories: [{ name, parent, products }] — its stock categories, n levels (parent = parent category name), only those with products and narrowed to the products picked for that brand. Use them for a brand drop-down menu; filter with /ext/products?category=<brand>&stock_category=<name>. Need the other list too (brands on a category store, categories on a brand store)? Add kind=brand or kind=category. Home page with both (how the Teloora store does it): show the OTHER list on top (category-wise store: kind=brand first, then its categories; brand-wise store: kind=category first, then its brands); the two tiles beside the banner come from that top list (show_on_top ones first, else its first two) and are left out of the list under it; a tile of the other list opens /ext/products?brand=<name> (category store) or ?stock_category=<name> (brand store). products = how many products THIS login really gets from GET /ext/products in that category / brand (its catalog scope, and its out-of-stock / ₹0 switches), so a card count always matches the list.\n\n**Response fields**\n- `data[].id` (number) — Record id — use it in /{id} calls.\n- `data[].name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].parent_id` (null)\n- `data[].parent` (null)\n- `data[].show_on_top` (boolean)\n- `data[].sort_order` (number)\n- `data[].image_url` (string) — Default image URL (null when none).\n- `data[].banner_url` (string) — Category DESKTOP banner for the top of the store category page (recommended 1600x400, 4:1; JPG/PNG/WEBP, max 2 MB; null when none). Website only — never sent to Tally.\n- `data[].banner_mobile_url` (string) — Category MOBILE banner (recommended 800x600, 4:3; JPG/PNG/WEBP, max 2 MB; null when none — use banner_url). Website only — never sent to Tally.\n- `data[].seo_title` (null) — Website SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.\n- `data[].seo_description` (null) — Website SEO meta description (max 170; null when not set). Website only — never sent to Tally.\n- `data[].seo_keywords` (null) — Website SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.\n- `data[].products` (number)\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page."}},{"name":"List products","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/products?","host":["{{base_url}}"],"path":["ext","products"],"query":[{"key":"search","value":"","description":"optional — string — Name / code, max 191 chars. Max length 191.","disabled":true},{"key":"status","value":"","description":"optional — string — Active | Inactive. One of: Active | Inactive.","disabled":true},{"key":"page","value":"","description":"optional — integer — Default 1. Min 1. Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Default 20, max 100. Min 1. Max 1000. Default 20.","disabled":true},{"key":"sort","value":"","description":"optional — string — e.g. name, rate, updated_at. Max length 40.","disabled":true},{"key":"order","value":"","description":"optional — string — asc | desc. One of: asc | desc.","disabled":true},{"key":"last_update","value":"","description":"optional — string — 1 or an ISO date — only changed rows.","disabled":true},{"key":"cond","value":"","description":"optional — string — Numeric filters field:op:value (eq|gt|lt|gte|lte), joined with ;  e.g. stock:gt:0 Max length 500.","disabled":true},{"key":"size","value":"","description":"optional — string — Max length 60.","disabled":true},{"key":"attr","value":"","description":"optional — string — Attribute value ids, comma separated (1,2). Values of one attribute match with OR, different attributes with AND.","disabled":true}]},"description":"Products of this Website user's catalogue at its locked, adjusted rates (use rate). image_url is the product's DEFAULT image (null when it has none); images lists every image, the default first, each { id, url, is_default } - exactly one has is_default true. Decimal columns are strings. Out-of-stock (closing stock <= 0) and zero-price items are left out unless the website user's Assigned Catalog switches allow them (see /ext/website/design catalog). sold_qty = pieces sold of the item: its Tally stock going out (the item page Outward, all dates), plus Teloora sales invoices not yet in Tally; never below 0. Show it (\"25 sold\") only when the store design has showSoldQty true; hide stars and the rate form when the design has showRating false (GET /ext/website/design). Each product has attributes: [{ id, name, values: [{ id, value }] }], empty when it has none. Use attr to filter by value. Each product also has variants: [{ id, sku, barcode, price, on_hand, available, status, values, label, image_url }], empty when it has none, and variant_summary { total, allotted, unallotted, needs_fix } when it has any. image_url on a variant is the full URL of its own photo, null when it has none: show it as the main photo when the shopper chooses that variant, otherwise show the product's images. on_hand and available go up when a credit note returns goods to the variant.\n\n**Response fields**\n- `data[].id` (string) — Record id — use it in /{id} calls.\n- `data[].name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].sku` (null) — Item code.\n- `data[].unit` (string) — Unit of measure (Nos, Pair, Kgs …).\n- `data[].hsn_code` (string) — HSN / SAC code (null when the item has none).\n- `data[].gst_rate` (string) — GST % (string, 2 decimals).\n- `data[].gst_inclusive` (boolean) — true = the selling price INCLUDES GST (GST is backed out of it); false = GST is added on top. Default true. Website / order maths only — never sent to Tally; editable for Tally items.\n- `data[].rate` (number) — YOUR price for this item — the online store prices from the item MRP (sales price only when it has no MRP), with the category addition % and discount % of your Assigned Catalog. Order at this rate.\n- `data[].list_rate` (number) — The price before the category discount: MRP (or sales price when no MRP) + the category addition %. Show it struck through when rate is lower.\n- `data[].discount_pct` (number) — The category discount % taken off list_rate (0 = none).\n- `data[].tier_group` (null)\n- `data[].qty_tiers` (array)\n- `data[].sales_price` (number) — List selling price.\n- `data[].mrp` (string) — Maximum retail price (null when not set).\n- `data[].closing_stock` (string) — Stock in hand now.\n- `data[].sizes` (array) — Stock per size NOW (Tally batches used as sizes): [{size, qty}]. Empty when the item has no sizes. A minus qty = sold more than received in that size.\n- `data[].opening_stock` (string) — Opening quantity (a Tally item: Tally's closing).\n- `data[].opening_batches` (array) — Size-wise opening sent for a Teloora-created item (not yet in Tally): [{size, qty}].\n- `data[].status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].description` (null) — Free text.\n- `data[].category_id` (string) — Group id.\n- `data[].category` (string) — Stock group.\n- `data[].stock_category` (string) — Stock category.\n- `data[].category_image_url` (string) — Picture of the item's category (null when none).\n- `data[].category_show_on_top` (boolean) — Category pinned on top of the catalogue.\n- `data[].image_url` (string) — Default image URL (null when none).\n- `data[].images` (array) — All images, default first: [{id, url, is_default}].\n- `data[].images[].id` (string) — Record id — use it in /{id} calls.\n- `data[].images[].url` (string)\n- `data[].images[].is_default` (boolean)\n- `data[].custom_fields` (object) — Your own extra fields (object).\n- `data[].seo_title` (null) — Website SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.\n- `data[].seo_description` (null) — Website SEO meta description (max 170; null when not set). Website only — never sent to Tally.\n- `data[].seo_keywords` (null) — Website SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.\n- `data[].rating` (object)\n- `data[].rating.avg` (number)\n- `data[].rating.count` (number)\n- `data[].in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `data[].created_at` (string) — When it was created (ISO, UTC).\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page."}},{"name":"Attributes for store filters","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/attributes","host":["{{base_url}}"],"path":["ext","attributes"]},"description":"Active attributes with only the values that live products use. Use it to build store filters; pass the value ids to GET /products as attr."}},{"name":"Store design & details","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/website/design","host":["{{base_url}}"],"path":["ext","website","design"]},"description":"The online store design set in Teloora (Users › website user › Store design), your company name / contact, and which payment methods are on. email_ready = Settings › Email (SMTP) is set up (store mails go from it). payments.online is true when Settings › Payment integration (Razorpay) is switched on; payments.razorpay_key_id is its PUBLIC key for Razorpay Checkout (the secret never leaves Teloora); payments.razorpay_mode says which key pair is active: test | live (Settings › Integrations › Razorpay). For a signed checkout create a Razorpay order first with POST /ext/website/payments/razorpay-order. Cash on delivery is always on. catalog = the website user's Assigned Catalog switches: catalog.outOfStock false means products with closing stock <= 0 are left out of /ext/products; catalog.zeroPrice false means products with a 0 / empty price are left out (true = they are returned, rate 0 = price on request); catalog.mode = category (default) or brand — Brand wise: GET /ext/categories returns the BRANDS (Tally stock groups) of the catalog in the same shape, filter /ext/products by brand with ?category=<brand name>, and prices / wholesale (tier_group) follow the brand; add ?with_categories=1 to GET /ext/categories and each brand also carries stock_categories: [{ name, parent, products }] — its stock categories (n levels, parent = the parent category name, only those with products, narrowed to the products picked for the brand); filter one with /ext/products?category=<brand>&stock_category=<name>. reviews = { avg, count } of the store's VISIBLE customer reviews (count 0 = show no rating badge); the full list is GET /ext/reviews. design.delivery = the delivery charge: { enabled (false = always free), type: \"fixed\" | \"variable\", split (true = a different charge for online-paid orders; false = online pays the COD charge), fixed: charge_cod, charge_online (when split), free_above (optional: free on orders of this value or more); variable: ranges [{ from, to (null = \"& above\"), cod, online (when split) }] — the range is picked by the order value after discounts + coupon, before GST; ledger_name, note }. 0 = free. Older stores may still send { rule, charge }. payments.phonepe is true when Settings › Integrations › PhonePe is switched on (a second online option; payments.phonepe_mode = test | live) — start it with POST /ext/website/payments/phonepe-order. design.maintenance = { on, title, message, until, contact } (Store design › Maintenance): when on is true show ONLY a maintenance page (title / message, a countdown to until = IST date-time YYYY-MM-DDTHH:mm, \"\" = none; contact = show WhatsApp / call / email buttons) and do not take orders; absent or on false = the normal store. design.showSoldQty (boolean, off unless true) = show the sold quantity (product sold_qty) on cards and the product page; design.showRating (boolean, on unless false) = show product star ratings and the rate-this-product form. store.currency is the company's currency code and store.country_code its 2-letter country code (null when the country is not known): use them for the product price currency and store address you give to search engines. design.cod_advance = the COD advance rule (Store design › Delivery › COD advance): { enabled, type: \"percent\" | \"fixed\", value, min_order?, note? }. When enabled and an online gateway is on (payments.online or payments.phonepe), a cash-on-delivery order pays advance = percent of the order total (or the fixed amount, never more than the total) online first, only when the total is min_order or more; the balance is paid on delivery. Work it out the same way at checkout and send that advance as the payment amount.\n\n**Response fields**\n- `design` (object)\n- `design.colors` (object)\n- `design.colors.primary` (string)\n- `design.sections` (array)\n- `design.sections[].id` (string) — Record id — use it in /{id} calls.\n- `design.sections[].on` (boolean)\n- `store` (object)\n- `store.name` (string) — Name, exactly as in Tally / Teloora.\n- `store.mobile` (string) — 10-digit mobile.\n- `payments` (object)\n- `payments.cash` (boolean)\n- `payments.online` (boolean)\n- `payments.cash_extra_pct` (number) — Retired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).\n- `payments.online_extra_pct` (number) — Retired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).\n- `payments.razorpay_key_id` (string)\n- `payments.razorpay_mode` (string)\n- `payments.phonepe` (boolean)\n- `payments.phonepe_mode` (string)\n- `catalog` (object)\n- `catalog.outOfStock` (boolean)\n- `catalog.zeroPrice` (boolean)\n- `reviews` (object)\n- `reviews.avg` (number)\n- `reviews.count` (number)"}},{"name":"Start an online payment (Razorpay order)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/website/payments/razorpay-order","host":["{{base_url}}"],"path":["ext","website","payments","razorpay-order"]},"description":"Creates a Razorpay Order on the company's ACTIVE keys (Test or Live, set in Teloora › Settings › Integrations › Razorpay) for the checkout total. Open Razorpay Checkout with key = key_id and order_id = order_id; on success send payment { payment_id, order_id, signature } (razorpay_payment_id / razorpay_order_id / razorpay_signature) with POST /ext/sales-invoices (payment_mode online). The order API checks the signature with the secret and that the paid amount matches the order total. 422 when online payment is off or not set up. Limited to 60 per hour per device. Send items too: stock is checked before the payment starts (422 \"Not enough stock …\" = do not send the shopper to pay).\n\n**Body fields**\n- `amount` (number, MANDATORY) — The checkout total in rupees (same total as the order). COD advance: on a cash-on-delivery order with a COD advance (design.cod_advance), send only the advance amount.\n- `receipt` (string) — Your own reference (letters, digits, _ -; up to 40).\n- `items` (array) — Optional, recommended: the cart lines [{ product_id, quantity, batches? [{ batch, qty }] }] — same as the order. Stock is checked BEFORE the payment starts (pending orders waiting for approval count as taken); not enough → 422 \"Not enough stock for …\" and no payment is started, so nobody pays for pieces that are gone. The order checks stock again.\n\n**Response fields**\n- `order_id` (string)\n- `amount` (number)\n- `currency` (string)\n- `key_id` (string)\n- `mode` (string)","body":{"mode":"raw","raw":"{\n  \"amount\": 1249.5,\n  \"receipt\": \"cart-8812\",\n  \"items\": [\n    {\n      \"product_id\": 101,\n      \"quantity\": 2,\n      \"batches\": [\n        {\n          \"batch\": \"8\",\n          \"qty\": 2\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}}},{"name":"Start an online payment (PhonePe)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/website/payments/phonepe-order","host":["{{base_url}}"],"path":["ext","website","payments","phonepe-order"]},"description":"Starts a PhonePe Standard Checkout payment on the company's ACTIVE PhonePe keys (Test or Live, Teloora › Settings › Integrations › PhonePe) for the checkout total. Send the shopper to redirect_url; PhonePe sends them back to your redirect_url with ?mo=<merchant_order_id>. Then place the order with POST /ext/sales-invoices (payment_mode online) and payment { gateway: \"phonepe\", payment_id: merchant_order_id }. The order API asks PhonePe for the status and accepts only a COMPLETED payment for the same total (a pending / failed payment is refused with a clear message). Keep the cart on your side while the shopper is at PhonePe. 422 when PhonePe is off or not set up. Limited to 60 per hour per device. Send items too: stock is checked before the payment starts (422 \"Not enough stock …\" = do not send the shopper to pay).\n\n**Body fields**\n- `amount` (number, MANDATORY) — The checkout total in rupees (same total as the order). COD advance: on a cash-on-delivery order with a COD advance (design.cod_advance), send only the advance amount.\n- `redirect_url` (string, MANDATORY) — Your page PhonePe sends the shopper back to (http/https). ?mo=<merchant_order_id> is added.\n- `phone` (string) — Shopper mobile (10 digits) to prefill PhonePe.\n- `items` (array) — Optional, recommended: the cart lines [{ product_id, quantity, batches? [{ batch, qty }] }] — same as the order. Stock is checked BEFORE the payment starts (pending orders waiting for approval count as taken); not enough → 422 \"Not enough stock for …\" and no payment is started, so nobody pays for pieces that are gone. The order checks stock again.\n\n**Response fields**\n- `merchant_order_id` (string)\n- `phonepe_order_id` (string)\n- `redirect_url` (string)\n- `mode` (string)","body":{"mode":"raw","raw":"{\n  \"amount\": 1249.5,\n  \"redirect_url\": \"https://shop.example.com/checkout/phonepe\",\n  \"phone\": \"9800000000\",\n  \"items\": [\n    {\n      \"product_id\": 101,\n      \"quantity\": 2,\n      \"batches\": [\n        {\n          \"batch\": \"8\",\n          \"qty\": 2\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}}},{"name":"Blog posts","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/blog?","host":["{{base_url}}"],"path":["ext","blog"],"query":[{"key":"page","value":"","description":"optional — integer — Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Default 12, max 100.","disabled":true},{"key":"search","value":"","description":"optional — string — Filter by title / summary / tag.","disabled":true},{"key":"tag","value":"","description":"optional — string — Only posts with this tag.","disabled":true},{"key":"sort","value":"","description":"optional — string — newest (default), oldest or title (A-Z).","disabled":true}]},"description":"Published posts of the store blog (written in Teloora: Website Users › Blog), newest first by default. List fields only - no body; get one post with /ext/blog/{slug}. Drafts and posts with a future publish date are never returned. meta.total = 0 means the store has no blog yet (hide the Blog link). meta.tags lists every tag of the live posts with its post count (for a tag filter).\n\n**Response fields**\n- `data[].id` (string) — Record id — use it in /{id} calls.\n- `data[].slug` (string)\n- `data[].title` (string)\n- `data[].excerpt` (string)\n- `data[].cover` (string)\n- `data[].tags` (array)\n- `data[].published_at` (string)\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `data[].images_count` (number)\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page.\n- `meta.last_page` (number)\n- `meta.tags` (array)\n- `meta.tags[].tag` (string)\n- `meta.tags[].count` (number)"}},{"name":"One blog post","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/blog/:slug","host":["{{base_url}}"],"path":["ext","blog",":slug"],"variable":[{"key":"slug","value":"1"}]},"description":"One published post by its slug, with body_html (already sanitized by Teloora: headings, lists, links, images, quotes, tables, safe inline styles such as text-align / colour / font-size, and YouTube / Vimeo embeds only), the picture gallery (images[]) and SEO fields. Also returns related[] (up to 4 other posts, most shared tags first), recent[] (up to 5 latest other posts) and tags_all[] for a sidebar. 404 when the slug is unknown, a draft or not yet due.\n\n**Response fields**\n- `id` (string) — Record id — use it in /{id} calls.\n- `slug` (string)\n- `title` (string)\n- `excerpt` (string)\n- `cover` (string)\n- `tags` (array)\n- `published_at` (string)\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `body_html` (string)\n- `seo_title` (string) — Website SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.\n- `seo_desc` (string)\n- `created_at` (string) — When it was created (ISO, UTC).\n- `images` (array) — All images, default first: [{id, url, is_default}].\n- `images_count` (number)\n- `related` (array)\n- `related[].id` (string) — Record id — use it in /{id} calls.\n- `related[].slug` (string)\n- `related[].title` (string)\n- `related[].excerpt` (string)\n- `related[].cover` (null)\n- `related[].images_count` (number)\n- `related[].tags` (array)\n- `related[].published_at` (string)\n- `related[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `recent` (array)\n- `recent[].id` (string) — Record id — use it in /{id} calls.\n- `recent[].slug` (string)\n- `recent[].title` (string)\n- `recent[].excerpt` (string)\n- `recent[].cover` (null)\n- `recent[].images_count` (number)\n- `recent[].tags` (array)\n- `recent[].published_at` (string)\n- `recent[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `tags_all` (array)\n- `tags_all[].tag` (string)\n- `tags_all[].count` (number)"}}]},{"name":"Orders","item":[{"name":"Place an order","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/sales-invoices","host":["{{base_url}}"],"path":["ext","sales-invoices"]},"description":"Create a sales order for this Website user's own customer. Rates are re-calculated by Teloora from the locked catalogue rate (the item's MRP with your category addition % / discount %); the delivery charge is added as its own ledger line by the store's delivery rule for the payment_mode. The order goes into the approval queue, then to Tally. When the customer paid online, send the Razorpay result in payment — it is checked with Razorpay and shown on the invoice. Stock: lines are checked against closing stock less the pieces held by orders waiting for approval. Two orders for the last pieces at the same time are handled one after the other — the second gets 422 \"Not enough stock for … only N available\". A coupon whose limit is used up meanwhile is refused the same way. A line of a product with variants must send variant_id (from the product's variants). The variant's own price and stock apply, and the line comes back with variant_id and variant_label. COD advance: when the store asks for one (GET /ext/website/design → design.cod_advance, and an online gateway is on), a payment_mode \"cash\" order must carry the advance payment in payment (Razorpay / PhonePe, for the advance amount — not the order total). Teloora works the advance out itself from the order total; without the payment → 422 \"Pay the COD advance of ₹… online first — the rest (₹…) is paid on delivery.\"; a payment of a different amount → 422. A payment on a cash order when no advance is due → 422. The saved order carries voucher_details.cod_advance { type, value, min_order, total, advance, balance, gateway, payment_id, verified, paid_at } (balance = to collect on delivery) and a line in notes; online_payment shows the advance payment, and refunds work on it as on an online order. voucher_details.cod_advance cannot be sent by the client — it is ignored. Wallet points (Referral & Wallet): send voucher_details.wallet = { points } with voucher_details.shop.customer_id — the server checks the store limits and balance (check first with POST /ext/wallet/check), takes the ₹ value off before GST after the coupon, debits the points at once and saves voucher_details.wallet = { points, amount, point_value, lines }. Not enough points → 422.\n\n**Body fields**\n- `customer_id` (integer, MANDATORY) — Always replaced by the Website user's own customer.\n- `location_id` (integer) — Location id from GET /ext/locations. Optional; default = the company's main location.\n- `sales_person_id` (integer) — Sales person id (optional; null = none).\n- `invoice_no` (string) — Max length 60.\n- `ledger_name` (string) — Max length 120.\n- `price_level` (string) — Max length 120.\n- `voucher_type` (string) — Max length 150.\n- `ref_type` (string) — One of: On Account | New Ref | Agst Ref.\n- `ref_name` (string) — Max length 100.\n- `invoice_date` (any, MANDATORY) — YYYY-MM-DD.\n- `due_date` (any) — Not before invoice_date.\n- `notes` (string) — Max 2000 chars. Max length 2000.\n- `voucher_details` (object) — Optional object saved with the order. Online store keys: shop = {customer_id (the shopper), name, mobile, email, ship_to {name, mobile, address, city, state, pincode; optional house, building, street, area — the address in parts, address = all four joined}, payment_mode, placed_at} (the order then shows shop_stage / tracking and is found with shop_customer_id); coupon = {code} (checked again, see POST /ext/coupons/check). Any other keys are stored as given.\n- `ledgers` (array) — Each item: { ledger_name*: string, amount*: number, dr_cr: string } (* = required).\n- `status` (string) — One of: pending_tally | sent_to_tally | created | failed. Default \"pending_tally\".\n- `payment_mode` (string) — cash | online — picks the delivery charge for that payment type (COD / online paid). online + payment = paid online. One of: cash | online. cash + payment = cash on delivery with a COD advance paid online.\n- `payment` (any) — With payment_mode \"online\" (the full total), or with payment_mode \"cash\" when the store asks a COD advance (the advance only). Send just the 3 Razorpay checkout values below — amount, status, method, payer, UPI id, card and bank reference are read by Teloora from Razorpay itself. PhonePe: send { gateway: \"phonepe\", payment_id: <merchant_order_id from /ext/website/payments/phonepe-order> } — only a COMPLETED PhonePe payment for the same total is accepted. Required with payment_mode \"online\": an online order without a payment is refused (422). Razorpay needs payment_id + order_id + signature; a payment the gateway says is not paid, or of a different amount, is refused. If the gateway does not answer, the order is kept and the payment stored \"not verified\".\n- `save_as_draft` (boolean) — true = save as a draft (not sent for approval / Tally). Default false.\n- `items` (array, MANDATORY) — At least 1 line: { product_id*, quantity* (>0, 3 decimals), batches?, unit?, description? }. rate is ignored — the server price applies. batches (order by size) = [{ batch*: size name from the item `sizes`, qty*: number }] — the qtys must add up to quantity; each size is checked to exist and to have the stock. Leave batches out for an item without sizes.\n- `items[].variant_id` (integer) — Required for a product with variants.","body":{"mode":"raw","raw":"{\n  \"customer_id\": 3382,\n  \"invoice_date\": \"2026-10-29\",\n  \"payment_mode\": \"cash\",\n  \"items\": [\n    {\n      \"product_id\": \"56\",\n      \"quantity\": 1,\n      \"rate\": 1099,\n      \"gst_rate\": 5\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}}},{"name":"My orders","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/sales-invoices?","host":["{{base_url}}"],"path":["ext","sales-invoices"],"query":[{"key":"search","value":"","description":"optional — string — Max length 191.","disabled":true},{"key":"status","value":"","description":"optional — string — One of: pending_tally | sent_to_tally | created | failed.","disabled":true},{"key":"approval","value":"","description":"optional — string — draft | pending | approved | rejected | all. One of: draft | pending | approved | rejected | all.","disabled":true},{"key":"page","value":"","description":"optional — integer — Default 1. Min 1. Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Default 10, max 100. Min 1. Max 1000. Default 10.","disabled":true},{"key":"customer_id","value":"","description":"optional — integer — Only orders of this customer id.","disabled":true},{"key":"shop_customer_id","value":"","description":"optional — integer — Online store: only the orders this customer placed (My orders).","disabled":true},{"key":"website","value":"","description":"optional — boolean — true / 1 = website (online store) orders only; false / 0 = no filter.","disabled":true},{"key":"salesman","value":"","description":"optional — string — Max length 255.","disabled":true},{"key":"supplier_id","value":"","description":"optional — integer — Supplier id (purchase side; not used on sales orders).","disabled":true},{"key":"date_from","value":"","description":"optional — date — ISO date.","disabled":true},{"key":"date_to","value":"","description":"optional — date — ISO date.","disabled":true},{"key":"last_update","value":"","description":"optional — string — 1 or an ISO date.","disabled":true},{"key":"mine","value":"","description":"optional — string — One of: 1.","disabled":true},{"key":"sort","value":"","description":"optional — string — Max length 32.","disabled":true},{"key":"order","value":"","description":"optional — string — One of: asc | desc.","disabled":true},{"key":"party","value":"","description":"optional — string — Max length 255.","disabled":true},{"key":"mode","value":"","description":"optional — string — One of: gross | net.","disabled":true},{"key":"ledger_group","value":"","description":"optional — string — Max length 255.","disabled":true},{"key":"ledger_group_basis","value":"","description":"optional — string — One of: party.","disabled":true},{"key":"voucher_type","value":"","description":"optional — string — Max length 255.","disabled":true},{"key":"tally","value":"","description":"optional — string — One of: in | pending.","disabled":true}]},"description":"Orders placed by this Website user's own customer. Website orders also carry shop_stage (placed / confirmed / packed / shipped / delivered / cancelled), cancel_reason (why a cancelled order was cancelled — the store's note or rejection reason; null when none was given) and tracking (courier, AWB, link). voucher_details.cod_advance (only on a COD order with an advance): { advance, balance, type, value, total, gateway, payment_id, verified, paid_at } — advance paid online at checkout, balance to pay on delivery.\n\n**Response fields**\n- `data[].id` (string) — Record id — use it in /{id} calls.\n- `data[].type` (string)\n- `data[].invoice_no` (string) — Invoice / voucher number.\n- `data[].tally_voucher_no` (null)\n- `data[].invoice_date` (string) — Voucher date (YYYY-MM-DD).\n- `data[].due_date` (null) — Payment due date.\n- `data[].customer_id` (string) — Customer id.\n- `data[].customer` (string)\n- `data[].supplier_id` (null) — Supplier id.\n- `data[].supplier` (null)\n- `data[].supplier_bill_no` (null)\n- `data[].location_id` (null) — Location id.\n- `data[].location` (null) — Location name.\n- `data[].status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].approval_status` (string) — draft | pending | approved | rejected.\n- `data[].rejected_reason` (null)\n- `data[].payment_mode` (string)\n- `data[].subtotal` (string) — Total before discount and tax.\n- `data[].discount` (string) — Total discount.\n- `data[].taxable` (string) — Taxable value.\n- `data[].cgst` (string)\n- `data[].sgst` (string)\n- `data[].igst` (string)\n- `data[].tax_amount` (string)\n- `data[].round_off` (string) — Round-off.\n- `data[].total` (string) — Grand total.\n- `data[].notes` (string)\n- `data[].voucher_details` (object)\n- `data[].voucher_details.shop` (object)\n- `data[].voucher_details.shop.name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].voucher_details.shop.email` (string) — Email.\n- `data[].voucher_details.shop.mobile` (string) — 10-digit mobile.\n- `data[].voucher_details.shop.ship_to` (object)\n- `data[].voucher_details.shop.ship_to.area` (string)\n- `data[].voucher_details.shop.ship_to.city` (string) — City.\n- `data[].voucher_details.shop.ship_to.name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].voucher_details.shop.ship_to.house` (string)\n- `data[].voucher_details.shop.ship_to.state` (string) — State (name).\n- `data[].voucher_details.shop.ship_to.mobile` (string) — 10-digit mobile.\n- `data[].voucher_details.shop.ship_to.street` (string)\n- `data[].voucher_details.shop.ship_to.address` (string)\n- `data[].voucher_details.shop.ship_to.pincode` (string) — PIN code.\n- `data[].voucher_details.shop.ship_to.building` (string)\n- `data[].voucher_details.shop.tracking` (object)\n- `data[].voucher_details.shop.tracking.at` (string)\n- `data[].voucher_details.shop.tracking.by` (number)\n- `data[].voucher_details.shop.tracking.awb` (string)\n- `data[].voucher_details.shop.tracking.url` (string)\n- `data[].voucher_details.shop.tracking.note` (null)\n- `data[].voucher_details.shop.tracking.status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].voucher_details.shop.tracking.courier` (string)\n- `data[].voucher_details.shop.tracking.history` (array)\n- `data[].voucher_details.shop.tracking.history[].at` (string)\n- `data[].voucher_details.shop.tracking.history[].by` (number)\n- `data[].voucher_details.shop.tracking.history[].status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].voucher_details.shop.placed_at` (string)\n- `data[].voucher_details.shop.customer_id` (number) — Customer id.\n- `data[].voucher_details.shop.payment_mode` (string)\n- `data[].voucher_details.coupon` (object)\n- `data[].voucher_details.coupon.code` (string)\n- `data[].voucher_details.coupon.type` (string)\n- `data[].voucher_details.coupon.lines` (array)\n- `data[].voucher_details.coupon.lines[].share` (number)\n- `data[].voucher_details.coupon.lines[].product_id` (number)\n- `data[].voucher_details.coupon.title` (null)\n- `data[].voucher_details.coupon.value` (number)\n- `data[].voucher_details.coupon.amount` (number)\n- `data[].voucher_details.coupon.max_discount` (null)\n- `data[].voucher_details.pricing` (object)\n- `data[].voucher_details.pricing.lines` (array)\n- `data[].voucher_details.pricing.lines[].rate` (number) — YOUR price for this item — the online store prices from the item MRP (sales price only when it has no MRP), with the category addition % and discount % of your Assigned Catalog. Order at this rate.\n- `data[].voucher_details.pricing.lines[].list_rate` (number) — The price before the category discount: MRP (or sales price when no MRP) + the category addition %. Show it struck through when rate is lower.\n- `data[].voucher_details.pricing.lines[].product_id` (number)\n- `data[].voucher_details.pricing.lines[].tier_group` (null)\n- `data[].voucher_details.pricing.lines[].sales_price` (number) — List selling price.\n- `data[].voucher_details.pricing.lines[].addition_pct` (number)\n- `data[].voucher_details.pricing.lines[].discount_pct` (number) — The category discount % taken off list_rate (0 = none).\n- `data[].voucher_details.pricing.lines[].mode_extra_pct` (number) — Retired — always 0 on new orders (older orders may show the % they were priced with).\n- `data[].voucher_details.pricing.payment_mode` (string)\n- `data[].voucher_details.pricing.mode_extra_pct` (number) — Retired — always 0 on new orders (older orders may show the % they were priced with).\n- `data[].voucher_details.delivery` (object)\n- `data[].voucher_details.delivery.rule` (string)\n- `data[].voucher_details.delivery.amount` (number)\n- `data[].voucher_details.delivery.pieces` (number)\n- `data[].voucher_details.delivery.reason` (string)\n- `data[].voucher_details.delivery.ledger_name` (string)\n- `data[].voucher_details.delivery.order_value` (number)\n- `data[].items` (undefined) — Lines: product, quantity, rate, GST, amount; batches = per-size split.\n- `data[].in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `data[].created_at` (string) — When it was created (ISO, UTC).\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `data[].shop_stage` (string)\n- `data[].cancel_reason` (null)\n- `data[].tracking` (object)\n- `data[].tracking.status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].tracking.courier` (string)\n- `data[].tracking.awb` (string)\n- `data[].tracking.url` (string)\n- `data[].tracking.note` (null)\n- `data[].tracking.at` (string)\n- `data[].tracking.history` (array)\n- `data[].tracking.history[].status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].tracking.history[].at` (string)\n- `data[].pdf_url` (string)\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page.\n- `meta.grand_total` (number)\n- `meta.pending_total` (number)\n- `meta.in_tally_total` (number)\n- `voucher_details.cod_advance` (object) — COD advance paid online at checkout: { advance, balance, type, value, total, gateway, payment_id, verified, paid_at }. Absent = no advance."}},{"name":"Order details","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/sales-invoices/:id","host":["{{base_url}}"],"path":["ext","sales-invoices",":id"],"variable":[{"key":"id","value":"1"}]},"description":"One of this Website user's own orders, with its lines. online_payment (orders paid online) also carries refunded_amount, refundable and refunds [{ amount, status: pending | processed | failed, reason, at }] — refunds the store made through the same gateway (Razorpay / PhonePe), e.g. when it cancelled the order. voucher_details.cod_advance (only on a COD order with an advance): { advance, balance, type, value, total, gateway, payment_id, verified, paid_at } — advance paid online at checkout, balance to pay on delivery. narration: the invoice's description/narration (Tally narration or Teloora notes), '' when none. einvoice (null when the bill has no IRN): { irn, ack_no, ack_date, signed_qr (IRP signed QR text — render as a QR image), status, source: tally | teloora }. eway_bill (null when none): { ewb_no, ewb_date, valid_until, valid_until_text, generated_text, mode, distance_km, vehicle_no, vehicle_type, transporter_name, transporter_id, doc_no, doc_date, from_* / to_* (name, place, state, pincode, gstin), supply_type, sub_type, transaction_type, doc_type, cewb_no, source }. Each line in items may carry description (the lines typed under the item on the invoice). The PDF (pdf_url) prints the e-Invoice QR on top and the e-Way Bill as page 2.\n\n**Response fields**\n- `id` (string) — Record id — use it in /{id} calls.\n- `type` (string)\n- `invoice_no` (string) — Invoice / voucher number.\n- `tally_voucher_no` (null)\n- `invoice_date` (string) — Voucher date (YYYY-MM-DD).\n- `due_date` (null) — Payment due date.\n- `customer_id` (string) — Customer id.\n- `customer` (string)\n- `supplier_id` (null) — Supplier id.\n- `supplier` (null)\n- `supplier_bill_no` (null)\n- `location_id` (null) — Location id.\n- `location` (null) — Location name.\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `approval_status` (string) — draft | pending | approved | rejected.\n- `rejected_reason` (null)\n- `payment_mode` (string)\n- `online_payment` (null)\n- `subtotal` (string) — Total before discount and tax.\n- `discount` (string) — Total discount.\n- `taxable` (string) — Taxable value.\n- `cgst` (string)\n- `sgst` (string)\n- `igst` (string)\n- `tax_amount` (string)\n- `round_off` (string) — Round-off.\n- `total` (string) — Grand total.\n- `notes` (null)\n- `voucher_details` (object)\n- `voucher_details.pricing` (object)\n- `voucher_details.pricing.lines` (array)\n- `voucher_details.pricing.lines[].rate` (number) — YOUR price for this item — the online store prices from the item MRP (sales price only when it has no MRP), with the category addition % and discount % of your Assigned Catalog. Order at this rate.\n- `voucher_details.pricing.lines[].list_rate` (number) — The price before the category discount: MRP (or sales price when no MRP) + the category addition %. Show it struck through when rate is lower.\n- `voucher_details.pricing.lines[].product_id` (number)\n- `voucher_details.pricing.lines[].tier_group` (null)\n- `voucher_details.pricing.lines[].sales_price` (number) — List selling price.\n- `voucher_details.pricing.lines[].addition_pct` (number)\n- `voucher_details.pricing.lines[].discount_pct` (number) — The category discount % taken off list_rate (0 = none).\n- `voucher_details.pricing.lines[].mode_extra_pct` (number) — Retired — always 0 on new orders (older orders may show the % they were priced with).\n- `voucher_details.pricing.payment_mode` (string)\n- `voucher_details.pricing.mode_extra_pct` (number) — Retired — always 0 on new orders (older orders may show the % they were priced with).\n- `items` (array) — Lines: product, quantity, rate, GST, amount; batches = per-size split.\n- `items[].product_id` (string)\n- `items[].product_name` (string)\n- `items[].description` (string) — Free text.\n- `items[].hsn` (string)\n- `items[].quantity` (string)\n- `items[].unit` (string) — Unit of measure (Nos, Pair, Kgs …).\n- `items[].rate` (string) — YOUR price for this item — the online store prices from the item MRP (sales price only when it has no MRP), with the category addition % and discount % of your Assigned Catalog. Order at this rate.\n- `items[].discount_pct` (string) — The category discount % taken off list_rate (0 = none).\n- `items[].taxable` (string) — Taxable value.\n- `items[].gst_rate` (string) — GST % (string, 2 decimals).\n- `items[].gst_amount` (string)\n- `items[].amount` (string)\n- `items[].tax_inclusive` (boolean)\n- `items[].godown` (null)\n- `items[].batches` (array) — Per-size split of a line: [{batch, qty, godown, rate}].\n- `in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `pdf_url` (string)\n- `price_breakdown` (object)\n- `price_breakdown.item_total` (number)\n- `price_breakdown.addition` (number)\n- `price_breakdown.category_discount` (number)\n- `price_breakdown.coupon` (null)\n- `price_breakdown.payment_extra` (null)\n- `price_breakdown.taxable` (number) — Taxable value.\n- `price_breakdown.gst` (number)\n- `price_breakdown.delivery` (null)\n- `price_breakdown.round_off` (number) — Round-off.\n- `price_breakdown.total` (number) — Grand total.\n- `voucher_details.cod_advance` (object) — COD advance paid online at checkout: { advance, balance, type, value, total, gateway, payment_id, verified, paid_at }. Absent = no advance."}},{"name":"Order invoice PDF","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/sales-invoices/:id/pdf","host":["{{base_url}}"],"path":["ext","sales-invoices",":id","pdf"],"variable":[{"key":"id","value":"1"}]},"description":"The invoice PDF of one of your orders (same printout as Teloora). Every order carries its link in pdf_url. Answers application/pdf; an order that is not yours gives 404."}}]},{"name":"Customers","item":[{"name":"List customers","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers?","host":["{{base_url}}"],"path":["ext","customers"],"query":[{"key":"search","value":"","description":"optional — string — Name / mobile / email / GSTIN. Max length 191.","disabled":true},{"key":"status","value":"","description":"optional — string — Active | Inactive | Blocked. One of: Active | Inactive | Blocked.","disabled":true},{"key":"page","value":"","description":"optional — integer — Default 1. Min 1. Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Default 20, max 100. Min 1. Max 1000. Default 20.","disabled":true},{"key":"sort","value":"","description":"optional — string — Max length 40.","disabled":true},{"key":"order","value":"","description":"optional — string — One of: asc | desc.","disabled":true},{"key":"last_update","value":"","description":"optional — string — 1 or an ISO date.","disabled":true}]},"description":"Customers (parties) of your company — e.g. to match a website shopper to a Tally party.\n\n**Response fields**\n- `data[].id` (string) — Record id — use it in /{id} calls.\n- `data[].name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].mobile` (string) — 10-digit mobile.\n- `data[].alternate_mobile` (null)\n- `data[].email` (string) — Email.\n- `data[].gst_number` (null) — GSTIN (15 chars).\n- `data[].pan_number` (null) — PAN (10 chars).\n- `data[].gst_registration_type` (null)\n- `data[].billing_address` (null) — Billing address.\n- `data[].shipping_address` (null) — Shipping address.\n- `data[].city` (null) — City.\n- `data[].state` (null) — State (name).\n- `data[].pincode` (null) — PIN code.\n- `data[].country` (string) — Country.\n- `data[].location_id` (string) — Location id.\n- `data[].location` (string) — Location name.\n- `data[].customer_group_id` (string) — Customer group id.\n- `data[].customer_group` (string) — Customer group.\n- `data[].opening_balance` (string) — Opening balance.\n- `data[].opening_balance_type` (string) — Dr | Cr.\n- `data[].credit_limit` (string) — Credit limit.\n- `data[].credit_days` (null) — Credit period in days (null = no terms).\n- `data[].closing_balance` (string) — Balance now.\n- `data[].last_sold_date` (null)\n- `data[].status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].custom_fields` (object) — Your own extra fields (object).\n- `data[].in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `data[].created_at` (string) — When it was created (ISO, UTC).\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page."}},{"name":"Customer details","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id","host":["{{base_url}}"],"path":["ext","customers",":id"],"variable":[{"key":"id","value":"1"}]},"description":"One customer of your company. For a customer from Tally the answer also carries tally_locked_fields (filled by Tally — read-only) and tally_fillable_fields (empty — can be filled with Update customer).\n\n**Response fields**\n- `id` (string) — Record id — use it in /{id} calls.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `mobile` (string) — 10-digit mobile.\n- `alternate_mobile` (null)\n- `email` (string) — Email.\n- `gst_number` (null) — GSTIN (15 chars).\n- `pan_number` (null) — PAN (10 chars).\n- `gst_registration_type` (null)\n- `billing_address` (null) — Billing address.\n- `shipping_address` (null) — Shipping address.\n- `city` (null) — City.\n- `state` (null) — State (name).\n- `pincode` (null) — PIN code.\n- `country` (string) — Country.\n- `location_id` (string) — Location id.\n- `location` (string) — Location name.\n- `customer_group_id` (string) — Customer group id.\n- `customer_group` (string) — Customer group.\n- `opening_balance` (string) — Opening balance.\n- `opening_balance_type` (string) — Dr | Cr.\n- `credit_limit` (string) — Credit limit.\n- `credit_days` (null) — Credit period in days (null = no terms).\n- `closing_balance` (string) — Balance now.\n- `last_sold_date` (null)\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `custom_fields` (object) — Your own extra fields (object).\n- `in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update."}},{"name":"Create customer","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers","host":["{{base_url}}"],"path":["ext","customers"]},"description":"Register a new customer (it goes into the customer group ticked “Use for website”). With `password`, the customer can also sign in to your online store.\n\n**Body fields**\n- `name` (string, MANDATORY) — Max 191 chars. Min length 1. Max length 191.\n- `mobile` (string) — 10-digit Indian mobile. Max length 30.\n- `alternate_mobile` (string) — Max length 30.\n- `email` (string) — Valid email. Max length 191. A valid email.\n- `gst_number` (string) — 15-char GSTIN.\n- `pan_number` (string) — 10-char PAN.\n- `location_id` (integer) — From GET /ext/locations.\n- `sales_person_id` (integer) — Sales person id (optional; null = none).\n- `customer_group_id` (integer) — Customer group id (optional; null = none).\n- `opening_balance` (number) — Min 0. Max 9999999999. Up to 2 decimals. Default 0.\n- `credit_limit` (number) — Min 0. Max 9999999999. Up to 2 decimals. Default 0.\n- `credit_days` (integer) — Min 0. Max 3650.\n- `status` (string) — One of: Active | Inactive | Blocked. Default \"Active\".\n- `billing_address` (string) — Max 2000 chars. Max length 2000.\n- `shipping_address` (string) — Max 2000 chars. Max length 2000.\n- `is_tally_ledger` (boolean) — Default true.\n- `ledger_group` (string) — Max length 191.\n- `opening_balance_type` (string) — One of: Cr | Dr. Default \"Cr\".\n- `country` (string) — Max length 64.\n- `state` (string) — Indian state name. Max length 100.\n- `city` (string) — Max length 120.\n- `pincode` (string) — 6 digits.\n- `gst_registration_type` (string) — One of: Unknown | Composition | Unregistered/Consumer | Government Entity / TDS | Regular - SEZ | Regular - Deemed Exporter | Regular - Exports (EOU) | e-Commerce Operator | Input Service Distributor | Embassy/UN Body | Non-Resident Taxpayer | Regular. Max length 40.\n- `notes` (string) — Max length 2000.\n- `internal_remarks` (string) — Max length 2000.\n- `custom_fields` (object) — Your own extra fields: an object of key → value (optional).\n- `is_favourite` (boolean) — Mark as favourite (true / false). Default false.\n- `referral_code` (string) — A friend's referral code (Referral & Wallet). Read it from the share link (?ref=CODE). An unknown or own code is ignored — it never stops the signup. When the store gives a signup reward it is credited at once.","body":{"mode":"raw","raw":"{\n  \"name\": \"Sharma Traders\",\n  \"mobile\": \"9876543210\",\n  \"gst_number\": \"24ABQFS9803E1ZX\",\n  \"pan_number\": \"ABQFS9803E\",\n  \"state\": \"Gujarat\",\n  \"city\": \"Ahmedabad\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Update customer","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id","host":["{{base_url}}"],"path":["ext","customers",":id"],"variable":[{"key":"id","value":"1"}]},"description":"Change fields of one of your customers. Send only the fields to change. A customer that came from Tally (in_tally true) is read-only except: notes / internal_remarks / custom_fields / is_favourite, and the contact fields Tally left EMPTY (mobile, alternate_mobile, email, gst_number, pan_number, billing_address, shipping_address, country, state, city, pincode, gst_registration_type) — those can be filled; a field that already has Tally's value answers 422 (e.g. \"City comes from Tally — change it in Tally\"). Values filled here are never sent to Tally, and a later Tally sync overwrites them. Customer details (GET) then also return tally_locked_fields and tally_fillable_fields.\n\n**Body fields**\n- `name` (string) — Min length 1. Max length 191.\n- `mobile` (string) — Max length 30.\n- `alternate_mobile` (string) — Max length 30.\n- `email` (string) — Max length 191. A valid email.\n- `gst_number` (string) — Max length 30.\n- `pan_number` (string) — Max length 30.\n- `location_id` (integer) — Location id from GET /ext/locations. Optional; default = the company's main location.\n- `sales_person_id` (integer) — Sales person id (optional; null = none).\n- `customer_group_id` (integer) — Customer group id (optional; null = none).\n- `opening_balance` (number) — Min -9999999999. Max 9999999999. Up to 2 decimals.\n- `credit_limit` (number) — Min 0. Max 9999999999. Up to 2 decimals.\n- `credit_days` (integer) — Min 0. Max 3650.\n- `status` (string) — One of: Active | Inactive | Blocked.\n- `billing_address` (string) — Max length 2000.\n- `shipping_address` (string) — Max length 2000.\n- `is_tally_ledger` (boolean) — true = push this customer to Tally as a ledger; false = keep it cloud-only.\n- `ledger_group` (string) — Max length 191.\n- `opening_balance_type` (string) — One of: Cr | Dr.\n- `country` (string) — Max length 64.\n- `state` (string) — Max length 100.\n- `city` (string) — Max length 120.\n- `pincode` (string) — Max length 12.\n- `gst_registration_type` (string) — One of: Unknown | Composition | Unregistered/Consumer | Government Entity / TDS | Regular - SEZ | Regular - Deemed Exporter | Regular - Exports (EOU) | e-Commerce Operator | Input Service Distributor | Embassy/UN Body | Non-Resident Taxpayer | Regular. Max length 40.\n- `notes` (string) — Max length 2000.\n- `internal_remarks` (string) — Max length 2000.\n- `custom_fields` (object) — Your own extra fields: an object of key → value (optional).\n- `is_favourite` (boolean) — Mark as favourite (true / false). Default false.\n\n**Response fields**\n- `id` (string) — Record id — use it in /{id} calls.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `mobile` (string) — 10-digit mobile.\n- `alternate_mobile` (null)\n- `email` (null) — Email.\n- `gst_number` (null) — GSTIN (15 chars).\n- `pan_number` (null) — PAN (10 chars).\n- `gst_registration_type` (null)\n- `billing_address` (string) — Billing address.\n- `shipping_address` (null) — Shipping address.\n- `city` (string) — City.\n- `state` (null) — State (name).\n- `pincode` (null) — PIN code.\n- `country` (string) — Country.\n- `location_id` (string) — Location id.\n- `customer_group_id` (string) — Customer group id.\n- `opening_balance` (string) — Opening balance.\n- `opening_balance_type` (string) — Dr | Cr.\n- `credit_limit` (string) — Credit limit.\n- `credit_days` (null) — Credit period in days (null = no terms).\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `custom_fields` (object) — Your own extra fields (object).\n- `in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update.","body":{"mode":"raw","raw":"{\n  \"city\": \"Surat\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"List locations","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/locations?","host":["{{base_url}}"],"path":["ext","locations"],"query":[{"key":"search","value":"","description":"optional — string — Max length 150.","disabled":true},{"key":"status","value":"","description":"optional — string — One of: Active | Inactive | Blocked.","disabled":true},{"key":"page","value":"","description":"optional — integer — Min 1. Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Default 20, max 100. Min 1. Max 1000. Default 20.","disabled":true},{"key":"sort","value":"","description":"optional — string — Max length 40.","disabled":true},{"key":"order","value":"","description":"optional — string — One of: asc | desc.","disabled":true},{"key":"last_update","value":"","description":"optional — string — 1 or an ISO date — only rows changed since then.","disabled":true}]},"description":"Your company's locations / branches — values for a customer's location_id.\n\n**Response fields**\n- `data[].id` (string) — Record id — use it in /{id} calls.\n- `data[].name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].code` (null)\n- `data[].city` (null) — City.\n- `data[].state` (null) — State (name).\n- `data[].pincode` (null) — PIN code.\n- `data[].mobile` (null) — 10-digit mobile.\n- `data[].status` (string) — Active | Inactive (records) or the voucher status.\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page."}},{"name":"Customer sign-in (online store)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/login","host":["{{base_url}}"],"path":["ext","customers","login"]},"description":"A customer who has a store password signs in with mobile number or e-mail. 10 attempts / 15 min. Keep the customer id from the answer in your own (signed) session; read the customer with GET /ext/customers/{id}.\n\n**Body fields**\n- `login` (string, MANDATORY) — Mobile number or e-mail.\n- `password` (string, MANDATORY) — The customer's store password.\n\n**Response fields**\n- `id` (number) — Record id — use it in /{id} calls.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `mobile` (string) — 10-digit mobile.\n- `email` (string) — Email.\n- `billing_address` (null) — Billing address.\n- `shipping_address` (string) — Shipping address.\n- `city` (string) — City.\n- `state` (string) — State (name).\n- `pincode` (string) — PIN code.\n- `in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).","body":{"mode":"raw","raw":"{\n  \"login\": \"9000022233\",\n  \"password\": \"******\"\n}","options":{"raw":{"language":"json"}}}},"event":[{"listen":"test","script":{"type":"text/javascript","exec":["const b = pm.response.json();","if (b && b.status === 200 && b.session && b.session.token) {","    pm.collectionVariables.set(\"customer_token\", b.session.token);","}"]}}]},{"name":"Forgot password — send code","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/forgot-password","host":["{{base_url}}"],"path":["ext","customers","forgot-password"]},"description":"E-mails a 6-digit code (valid 10 minutes) to the customer FROM YOUR OWN mail server — set it once in Teloora › Settings › Email (SMTP). Without it the answer is 503 SMTP_NOT_SET (\"The store has not set up its e-mail yet\"). 404 NOT_FOUND when no customer has this mobile / e-mail, 403 INACTIVE for a blocked account, 422 NO_EMAIL when the account has no e-mail. Limited to 8 requests an hour per login (429).\n\n**Body fields**\n- `login` (string, MANDATORY) — Mobile number or e-mail.","body":{"mode":"raw","raw":"{\n  \"login\": \"9000022233\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Forgot password — set new","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/reset-password","host":["{{base_url}}"],"path":["ext","customers","reset-password"]},"description":"Checks the code (5 tries) and sets the new password; the customer is signed in.\n\n**Body fields**\n- `login` (string, MANDATORY) — Mobile number or e-mail (same as on forgot-password).\n- `code` (string, MANDATORY) — 6 digits.\n- `new_password` (string, MANDATORY) — 6–64 characters.\n\n**Response fields**\n- `id` (number) — Record id — use it in /{id} calls.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `mobile` (string) — 10-digit mobile.\n- `email` (string) — Email.\n- `billing_address` (null) — Billing address.\n- `shipping_address` (string) — Shipping address.\n- `city` (string) — City.\n- `state` (string) — State (name).\n- `pincode` (string) — PIN code.\n- `in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).","body":{"mode":"raw","raw":"{\n  \"login\": \"9000022233\",\n  \"code\": \"482913\",\n  \"new_password\": \"******\"\n}","options":{"raw":{"language":"json"}}}},"event":[{"listen":"test","script":{"type":"text/javascript","exec":["const b = pm.response.json();","if (b && b.status === 200 && b.session && b.session.token) {","    pm.collectionVariables.set(\"customer_token\", b.session.token);","}"]}}]},{"name":"A customer's saved addresses","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/addresses","host":["{{base_url}}"],"path":["ext","customers",":id","addresses"],"variable":[{"key":"id","value":"1"}]},"description":"The saved delivery addresses of ONE signed-in customer of this website (My addresses / the checkout address picker), default first, then newest. The first call keeps the address the customer already had (shipping_address + city / state / pincode) as the default \"Home\" address. Only ask for the customer who is signed in. A customer of another website → 404.\n\n**Response fields**\n- `id` (string) — Address key (use it to edit / remove).\n- `type` (string) — home | work | other.\n- `label` (string) — Home / Work, or the name given to an Other address.\n- `name` (string) — Receiver's name.\n- `mobile` (string) — Receiver's 10-digit mobile.\n- `house / building / street / area` (string) — The four parts of the address.\n- `city / state / pincode` (string) — City, state name, 6-digit PIN code.\n- `address` (string) — The four parts joined into one line.\n- `is_default` (boolean) — true on exactly one address — checkout picks it first."}},{"name":"Save a new address","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/addresses","host":["{{base_url}}"],"path":["ext","customers",":id","addresses"],"variable":[{"key":"id","value":"1"}]},"description":"Adds an address (up to 10). The same address cannot be saved twice — house, building, street, area, city, state and pincode are compared ignoring case, spaces and punctuation → 409. The first address is the default. The answer also carries `addresses` (the whole list). The customer's own shipping_address is NOT changed here — copy the default onto it with PUT /ext/customers/{id} if you want (the store front does).\n\n**Body fields**\n- `type` (string) — home (default) | work | other.\n- `label` (string) — Only for type other, e.g. \"Mom's house\". Max 30.\n- `name` (string, MANDATORY) — Receiver's full name. 2-150.\n- `mobile` (string, MANDATORY) — 10-digit Indian mobile (6-9 first).\n- `house` (string, MANDATORY) — House / flat no. Max 60.\n- `building` (string, MANDATORY) — Building / society. 2-120.\n- `street` (string, MANDATORY) — Street / road. 2-120.\n- `area` (string, MANDATORY) — Area / locality. 2-150.\n- `city` (string, MANDATORY) — 2-100.\n- `state` (string, MANDATORY) — State name. 2-100.\n- `pincode` (string, MANDATORY) — 6 digits, not starting with 0.\n- `is_default` (boolean) — true = make this the default (the others stop being default).\n\n**Response fields**\n- `id` (string) — Address key (use it to edit / remove).\n- `type` (string) — home | work | other.\n- `label` (string) — Home / Work, or the name given to an Other address.\n- `name` (string) — Receiver's name.\n- `mobile` (string) — Receiver's 10-digit mobile.\n- `house / building / street / area` (string) — The four parts of the address.\n- `city / state / pincode` (string) — City, state name, 6-digit PIN code.\n- `address` (string) — The four parts joined into one line.\n- `is_default` (boolean) — true on exactly one address — checkout picks it first."}},{"name":"Edit an address / make it the default","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/addresses/:key","host":["{{base_url}}"],"path":["ext","customers",":id","addresses",":key"],"variable":[{"key":"id","value":"1"},{"key":"key","value":"1"}]},"description":"Replaces one saved address (send every field, as for add). is_default: true makes it the default. Same duplicate rule (another saved address with the same parts → 409). Answer = the address + `addresses`.\n\n**Body fields**\n- `type` (string) — home (default) | work | other.\n- `label` (string) — Only for type other, e.g. \"Mom's house\". Max 30.\n- `name` (string, MANDATORY) — Receiver's full name. 2-150.\n- `mobile` (string, MANDATORY) — 10-digit Indian mobile (6-9 first).\n- `house` (string, MANDATORY) — House / flat no. Max 60.\n- `building` (string, MANDATORY) — Building / society. 2-120.\n- `street` (string, MANDATORY) — Street / road. 2-120.\n- `area` (string, MANDATORY) — Area / locality. 2-150.\n- `city` (string, MANDATORY) — 2-100.\n- `state` (string, MANDATORY) — State name. 2-100.\n- `pincode` (string, MANDATORY) — 6 digits, not starting with 0.\n- `is_default` (boolean) — true = make this the default (the others stop being default).\n\n**Response fields**\n- `id` (string) — Address key (use it to edit / remove).\n- `type` (string) — home | work | other.\n- `label` (string) — Home / Work, or the name given to an Other address.\n- `name` (string) — Receiver's name.\n- `mobile` (string) — Receiver's 10-digit mobile.\n- `house / building / street / area` (string) — The four parts of the address.\n- `city / state / pincode` (string) — City, state name, 6-digit PIN code.\n- `address` (string) — The four parts joined into one line.\n- `is_default` (boolean) — true on exactly one address — checkout picks it first."}},{"name":"Remove an address","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/addresses/:key","host":["{{base_url}}"],"path":["ext","customers",":id","addresses",":key"],"variable":[{"key":"id","value":"1"},{"key":"key","value":"1"}]},"description":"Removes one saved address. Removing the default makes the newest remaining address the default. Answer carries `addresses` (the list left)."}}]},{"name":"Products","item":[{"name":"Create product","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/products","host":["{{base_url}}"],"path":["ext","products"]},"description":"Create an item, optionally with its size-wise opening stock. It is pushed to Tally (with the sizes as batches) on the next sync.\n\n**Body fields**\n- `name` (string, MANDATORY) — Max 191 chars. Min length 1. Max length 191.\n- `sku` (string) — Max 100 chars. Max length 100.\n- `unit` (string) — e.g. Nos, Pair, Kgs (max 30). Max length 30.\n- `hsn_code` (string) — 4 to 8 digits.\n- `gst_rate` (number) — GST % (a valid slab, e.g. 0, 5, 12, 18, 28). Min 0. Max 100. Up to 2 decimals. Default 0.\n- `purchase_price` (number) — 0 or more, 2 decimals. Min 0. Max 9999999999. Up to 2 decimals. Default 0.\n- `sales_price` (number) — 0 or more, 2 decimals. Min 0. Max 9999999999. Up to 2 decimals. Default 0.\n- `opening_stock` (number) — Total opening. When opening_batches is sent it must equal their total (or leave it out). Min 0. Max 9999999999. Up to 2 decimals.\n- `opening_batches` (array) — Size-wise opening stock = Tally batches: [{ \"size\": \"41\", \"qty\": 10 }, …]. Size 1–60 chars, unique per product (case-insensitive), no \" < >; qty 0 or more (max 3 decimals); at most 200 sizes. opening_stock becomes their total. Max items 200. Each item: { size*: string, qty*: number } (* = required).\n- `category_id` (integer) — Group id.\n- `stock_category_id` (integer)\n- `status` (string) — Active | Inactive. One of: Active | Inactive. Default \"Active\".\n- `is_tally_item` (boolean) — Default true.\n- `description` (string) — Max 5000 chars. Max length 5000.\n- `custom_fields` (object) — Your own extra fields: an object of key → value (optional).\n- `seo_title` (string) — Max length 70.\n- `seo_description` (string) — Max length 170.\n- `seo_keywords` (string) — Max length 255.\n- `gst_inclusive` (boolean)\n\n**Response fields**\n- `id` (string) — Record id — use it in /{id} calls.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `sku` (null) — Item code.\n- `unit` (string) — Unit of measure (Nos, Pair, Kgs …).\n- `hsn_code` (string) — HSN / SAC code (null when the item has none).\n- `gst_rate` (string) — GST % (string, 2 decimals).\n- `gst_inclusive` (boolean) — true = the selling price INCLUDES GST (GST is backed out of it); false = GST is added on top. Default true. Website / order maths only — never sent to Tally; editable for Tally items.\n- `sales_price` (string) — List selling price.\n- `mrp` (null) — Maximum retail price (null when not set).\n- `opening_stock` (string) — Opening quantity (a Tally item: Tally's closing).\n- `opening_batches` (array) — Size-wise opening sent for a Teloora-created item (not yet in Tally): [{size, qty}].\n- `opening_batches[].qty` (number)\n- `opening_batches[].size` (string)\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `description` (null) — Free text.\n- `category_id` (null) — Group id.\n- `custom_fields` (object) — Your own extra fields (object).\n- `seo_title` (null) — Website SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.\n- `seo_description` (null) — Website SEO meta description (max 170; null when not set). Website only — never sent to Tally.\n- `seo_keywords` (null) — Website SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.\n- `in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update.","body":{"mode":"raw","raw":"{\n  \"name\": \"DOCS SAMPLE SHOE 7X10 BLK\",\n  \"unit\": \"Pair\",\n  \"hsn_code\": \"6402\",\n  \"gst_rate\": 12,\n  \"sales_price\": 1299,\n  \"opening_batches\": [\n    {\n      \"size\": \"7\",\n      \"qty\": 10\n    },\n    {\n      \"size\": \"8\",\n      \"qty\": 12\n    },\n    {\n      \"size\": \"9\",\n      \"qty\": 8\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}}},{"name":"Update product","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/products/:id","host":["{{base_url}}"],"path":["ext","products",":id"],"variable":[{"key":"id","value":"1"}]},"description":"Change any field (send only what changes). Opening stock and sizes can be changed only until the item is in Tally.\n\n**Body fields**\n- `name` (string) — Max 191 chars. Min length 1. Max length 191.\n- `sku` (string) — Max 100 chars. Max length 100.\n- `unit` (string) — e.g. Nos, Pair, Kgs (max 30). Max length 30.\n- `hsn_code` (string) — 4 to 8 digits. Max length 20.\n- `gst_rate` (number) — GST % (a valid slab, e.g. 0, 5, 12, 18, 28). Min 0. Max 100. Up to 2 decimals.\n- `purchase_price` (number) — 0 or more, 2 decimals. Min -9999999999. Max 9999999999. Up to 2 decimals.\n- `sales_price` (number) — 0 or more, 2 decimals. Min -9999999999. Max 9999999999. Up to 2 decimals.\n- `opening_stock` (number) — Only while the item is NOT yet in Tally. Min -9999999999. Max 9999999999. Up to 2 decimals.\n- `opening_batches` (array) — Size-wise opening stock = Tally batches: [{ \"size\": \"41\", \"qty\": 10 }, …]. Size 1–60 chars, unique per product (case-insensitive), no \" < >; qty 0 or more (max 3 decimals); at most 200 sizes. opening_stock becomes their total. Refused once the item is in Tally (Tally owns its batches). Max items 200. Each item: { size*: string, qty*: number } (* = required).\n- `category_id` (integer) — Group id.\n- `stock_category_id` (integer)\n- `status` (string) — Active | Inactive. One of: Active | Inactive.\n- `is_tally_item` (boolean) — true = push this item to Tally; false = keep it cloud-only.\n- `description` (string) — Max 5000 chars. Max length 5000.\n- `custom_fields` (object) — Your own extra fields: an object of key → value (optional).\n- `seo_title` (string) — Max length 70.\n- `seo_description` (string) — Max length 170.\n- `seo_keywords` (string) — Max length 255.\n- `gst_inclusive` (boolean)\n\n**Response fields**\n- `id` (string) — Record id — use it in /{id} calls.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `sku` (null) — Item code.\n- `unit` (string) — Unit of measure (Nos, Pair, Kgs …).\n- `hsn_code` (null) — HSN / SAC code (null when the item has none).\n- `gst_rate` (string) — GST % (string, 2 decimals).\n- `gst_inclusive` (boolean) — true = the selling price INCLUDES GST (GST is backed out of it); false = GST is added on top. Default true. Website / order maths only — never sent to Tally; editable for Tally items.\n- `sales_price` (string) — List selling price.\n- `mrp` (null) — Maximum retail price (null when not set).\n- `opening_stock` (string) — Opening quantity (a Tally item: Tally's closing).\n- `opening_batches` (array) — Size-wise opening sent for a Teloora-created item (not yet in Tally): [{size, qty}].\n- `opening_batches[].qty` (number)\n- `opening_batches[].size` (string)\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `description` (null) — Free text.\n- `category_id` (null) — Group id.\n- `custom_fields` (object) — Your own extra fields (object).\n- `seo_title` (null) — Website SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.\n- `seo_description` (null) — Website SEO meta description (max 170; null when not set). Website only — never sent to Tally.\n- `seo_keywords` (null) — Website SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.\n- `in_tally` (boolean) — true when the record is already in Tally (then it is read-only — change it in Tally).\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update.","body":{"mode":"raw","raw":"{\n  \"sales_price\": 899,\n  \"opening_batches\": [\n    {\n      \"size\": \"6\",\n      \"qty\": 5\n    },\n    {\n      \"size\": \"7\",\n      \"qty\": 6\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}}}]},{"name":"Coupons","item":[{"name":"Offers (live public coupons)","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/coupons","host":["{{base_url}}"],"path":["ext","coupons"]},"description":"The website user's coupons a shopper may see: switched on, marked public, inside their dates and not used up. Four types: percent (% off, optional ₹ cap), flat (₹ off), bxgy (Buy X Get Y free — the cheapest eligible units are free) and free_shipping (the order's delivery charge becomes 0). Set in Teloora › Users › ⋮ › Coupons. Limits (total uses) are not shown. Show `label` / `summary` as the offer text.\n\n**Response fields**\n- `[].code` (string)\n- `[].title` (string)\n- `[].description` (string) — Free text.\n- `[].type` (string)\n- `[].value` (number)\n- `[].max_discount` (number)\n- `[].label` (string)\n- `[].summary` (string)\n- `[].buy_qty` (null)\n- `[].get_qty` (null)\n- `[].get_scope` (null)\n- `[].get_category_ids` (array)\n- `[].get_product_ids` (array)\n- `[].max_free` (null)\n- `[].min_order` (number)\n- `[].min_qty` (number)\n- `[].scope` (string)\n- `[].category_ids` (array)\n- `[].product_ids` (array)\n- `[].payment` (string)\n- `[].ends_on` (string)\n- `[].first_order` (boolean)\n- `[].per_customer` (number)"}},{"name":"Check a coupon on a cart","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/coupons/check","host":["{{base_url}}"],"path":["ext","coupons","check"]},"description":"Prices the cart exactly as an order would (catalogue rates, payment-mode extra) and checks the code: dates, payment mode, minimum order / pieces, categories / products, total and per-customer uses, first order. percent / flat: the discount comes off BEFORE GST, shared over the eligible lines. bxgy (Buy X Get Y): with the same items, every full set of X+Y eligible units gives Y free; with other free items (get_scope categories / products), every X bought units unlock Y free units of those items in the cart; the CHEAPEST units are the free ones (max_free caps them) and `free_lines` says which. free_shipping: nothing comes off the items — the delivery charge becomes 0 (`shipping_saved`); refused when delivery is already free. When the cart does not qualify the 422 message says what to add (\"Add 1 more eligible item to get 1 free (buy 2 get 1).\"). Send the same code on the order as voucher_details.coupon.code — the order checks it again.\n\n**Body fields**\n- `code` (string, MANDATORY) — Coupon code (any case).\n- `payment_mode` (string, MANDATORY) — cash | online\n- `customer_id` (integer) — The shopper (for per-customer and first-order rules).\n- `items` (array, MANDATORY) — [{ product_id, quantity }] — one per cart line.\n\n**Response fields**\n- `coupon` (object)\n- `coupon.code` (string)\n- `coupon.title` (string)\n- `coupon.description` (string) — Free text.\n- `coupon.type` (string)\n- `coupon.value` (number)\n- `coupon.max_discount` (number)\n- `coupon.label` (string)\n- `coupon.summary` (string)\n- `coupon.buy_qty` (null)\n- `coupon.get_qty` (null)\n- `coupon.get_scope` (null)\n- `coupon.get_category_ids` (array)\n- `coupon.get_product_ids` (array)\n- `coupon.max_free` (null)\n- `coupon.min_order` (number)\n- `coupon.min_qty` (number)\n- `coupon.scope` (string)\n- `coupon.category_ids` (array)\n- `coupon.product_ids` (array)\n- `coupon.payment` (string)\n- `coupon.ends_on` (string)\n- `coupon.first_order` (boolean)\n- `coupon.per_customer` (number)\n- `amount` (number)\n- `eligible_product_ids` (array)\n- `type` (string)\n- `free_units` (number)\n- `free_lines` (array)\n- `shipping_saved` (number)\n- `delivery` (object)\n- `delivery.amount` (number)\n- `delivery.reason` (string)","body":{"mode":"raw","raw":"{\n  \"code\": \"DIWALI10\",\n  \"payment_mode\": \"online\",\n  \"customer_id\": 17,\n  \"items\": [\n    {\n      \"product_id\": 33,\n      \"quantity\": 2\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}}}]},{"name":"Reviews","item":[{"name":"Store reviews","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/reviews?","host":["{{base_url}}"],"path":["ext","reviews"],"query":[{"key":"page","value":"","description":"optional — integer — Min 1. Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Min 1, max 50. Default 12. Min 1. Max 50. Default 12.","disabled":true},{"key":"rating","value":"","description":"optional — integer — 1-5. Only reviews with this many stars on the page (summary still covers all visible reviews). Min 1. Max 5.","disabled":true}]},"description":"Customer reviews of the online store that are VISIBLE (the admin can hide or remove any review in Teloora › Users › website user › Reviews). summary = { avg (1 decimal), count, breakdown {5..1: count} } over all visible reviews; data = one page of reviews, newest first: key, name (FIRST name only), city, rating 1-5, text, created_at, updated_at. Optional rating= filters the page (summary stays for all). Show nothing when summary.count is 0.\n\n**Response fields**\n- `data[].key` (string)\n- `data[].name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].city` (null) — City.\n- `data[].rating` (number)\n- `data[].text` (string)\n- `data[].created_at` (string) — When it was created (ISO, UTC).\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page.\n- `meta.last_page` (number)"}},{"name":"A customer's own review","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/review","host":["{{base_url}}"],"path":["ext","customers",":id","review"],"variable":[{"key":"id","value":"1"}]},"description":"The store review of ONE signed-in customer of this website (customers created / signed up through this website user). data = { rating, text, status visible|hidden, name, city, created_at, updated_at } or null when the customer has not reviewed yet. Your server must only ask for the customer who is signed in (as with orders). A customer of another website → 404.\n\n**Response fields**\n- `rating` (number)\n- `text` (string)\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `city` (null) — City.\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update."}},{"name":"Give / edit a customer's review","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/review","host":["{{base_url}}"],"path":["ext","customers",":id","review"],"variable":[{"key":"id","value":"1"}]},"description":"Saves the signed-in customer's ONE review of the store (a second call edits it). rating 1-5 is required; text is optional (max 1000). A review the store has hidden stays hidden after an edit. The review is shown on the store with the customer's first name and city.\n\n**Body fields**\n- `rating` (integer, MANDATORY) — 1-5 stars. Min 1. Max 5.\n- `text` (string) — Max 1000 characters. Empty / null allowed. Max length 1000.\n\n**Response fields**\n- `rating` (number)\n- `text` (string)\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `city` (null) — City.\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update.","body":{"mode":"raw","raw":"{\n  \"rating\": 5,\n  \"text\": \"Good quality and quick delivery.\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Remove a customer's review","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/review","host":["{{base_url}}"],"path":["ext","customers",":id","review"],"variable":[{"key":"id","value":"1"}]},"description":"Removes the signed-in customer's own review of the store."}},{"name":"Product ratings","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/products/:id/reviews?","host":["{{base_url}}"],"path":["ext","products",":id","reviews"],"query":[{"key":"page","value":"","description":"optional — integer — Min 1. Default 1.","disabled":true},{"key":"per_page","value":"","description":"optional — integer — Min 1, max 50. Default 12.","disabled":true},{"key":"rating","value":"","description":"optional — integer — 1-5. Only ratings with this many stars on the page (summary still covers all).","disabled":true},{"key":"sort","value":"","description":"optional — string — newest (default) | oldest | highest | lowest | photos (with photos first).","disabled":true},{"key":"photos","value":"","description":"optional — boolean — 1 = only ratings with photos.","disabled":true},{"key":"search","value":"","description":"optional — string — Words in the review text or the first name. Max 100.","disabled":true}],"variable":[{"key":"id","value":"1"}]},"description":"Ratings of ONE product that are VISIBLE (the admin can add, edit, hide or remove them in Teloora › Items › item › Ratings). summary = { avg (1 decimal), count, breakdown {5..1: count} } over all visible ratings of the product; data = one page, newest first: key, name (FIRST name only), city, rating 1-5, text, created_at, updated_at. Every product in /ext/products also carries rating = { avg, count } (visible only). Unknown product → 404. Each rating also has images = absolute urls of the shopper’s photos (may be empty). summary.with_photos = visible ratings that have photos; photos = up to 12 latest customer photos [{ url, key, rating }] for a gallery strip.\n\n**Response fields**\n- `data[].key` (string)\n- `data[].name` (string) — Name, exactly as in Tally / Teloora.\n- `data[].city` (string) — City.\n- `data[].rating` (number)\n- `data[].text` (string)\n- `data[].created_at` (string) — When it was created (ISO, UTC).\n- `data[].updated_at` (string) — Last change (ISO, UTC) — use with last_update.\n- `meta.total` (number) — Grand total.\n- `meta.page` (number) — This page.\n- `meta.per_page` (number) — Rows per page.\n- `meta.last_page` (number)"}},{"name":"A customer's own product rating","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/product-reviews/:productId","host":["{{base_url}}"],"path":["ext","customers",":id","product-reviews",":productId"],"variable":[{"key":"id","value":"1"},{"key":"productId","value":"1"}]},"description":"The rating ONE signed-in customer of this website gave ONE product: { rating, text, status visible|hidden, name, city, created_at, updated_at } or null when not rated yet. Only ask for the customer who is signed in. Each rating also has images = absolute urls of the shopper’s photos (may be empty).\n\n**Response fields**\n- `rating` (number)\n- `text` (string)\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `city` (string) — City.\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update."}},{"name":"Rate a product","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/product-reviews/:productId","host":["{{base_url}}"],"path":["ext","customers",":id","product-reviews",":productId"],"variable":[{"key":"id","value":"1"},{"key":"productId","value":"1"}]},"description":"Saves the signed-in customer's ONE rating of a product (a second call edits it). rating 1-5 is required; text is optional (max 1000). A rating the store has hidden stays hidden after an edit. Shown with the customer's first name and city. Optional photos: images (see below); the answer carries images = absolute photo urls.\n\n**Body fields**\n- `rating` (integer, MANDATORY) — 1-5.\n- `text` (string) — Max 1000.\n- `images` (array) — Up to 3 photos. Each: a data URL (data:image/jpeg|png|webp;base64,…) of a NEW photo, max 5 MB — fitted inside 1200 px and stored as JPG — or the url of a photo already on this rating (kept). Photos left out are deleted.\n\n**Response fields**\n- `rating` (number)\n- `text` (string)\n- `status` (string) — Active | Inactive (records) or the voucher status.\n- `name` (string) — Name, exactly as in Tally / Teloora.\n- `city` (string) — City.\n- `created_at` (string) — When it was created (ISO, UTC).\n- `updated_at` (string) — Last change (ISO, UTC) — use with last_update."}},{"name":"Remove a customer's product rating","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/product-reviews/:productId","host":["{{base_url}}"],"path":["ext","customers",":id","product-reviews",":productId"],"variable":[{"key":"id","value":"1"},{"key":"productId","value":"1"}]},"description":"Removes the signed-in customer's own rating of the product."}}]},{"name":"Referral & Wallet","item":[{"name":"The store's referral program","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/referral","host":["{{base_url}}"],"path":["ext","referral"]},"description":"What the store's Referral & Wallet program gives, so the store front can explain it (signup page, account, checkout). Answers { enabled:false } when the store has it OFF — then hide all referral / wallet UI. referrer / referee: null when that side gets nothing; on = signup | first_purchase; type = points | percent (percent = % of the first order before GST, turned into points). point_value = ₹ per point. redeem_*: limits for paying with points (0 = no limit). Use it on every page load (cache a few minutes)."}},{"name":"A shopper's wallet and referral code","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/wallet","host":["{{base_url}}"],"path":["ext","customers",":id","wallet"]},"description":"The signed-in shopper's own referral code (made the first time it is asked for, when the program is ON), balance (points they can spend now), pending (rewards waiting for the order to be delivered/paid), referral stats and the history (newest first, max 200; cancelled rows left out). Build the share link as SITE_URL + '/login?ref=' + referral_code. Only a shopper of this store (404 otherwise)."}},{"name":"Check wallet points on a cart","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/wallet/check","host":["{{base_url}}"],"path":["ext","wallet","check"]},"description":"Prices the cart exactly as an order would (catalogue rates, payment-mode extra, coupon) and checks how many points this shopper may use: the store's minimum points, most points per order, most % of the order, order value needed, and the balance. 200 → { points, amount (₹ off before GST), max_points, balance }. 422 → the reason, with max_points and balance so the page can offer the most allowed. Then send voucher_details.wallet = { points } on POST /ext/sales-invoices — the order checks everything again and debits the points at once (a cancelled order gives them back if the store says so). Points come off before GST like a coupon, after the coupon.\n\n**Body fields**\n- `customer_id` (integer, MANDATORY) — The signed-in shopper.\n- `points` (number, MANDATORY) — Points to use (> 0).\n- `payment_mode` (string) — cash | online (default cash).\n- `coupon_code` (string) — The coupon on this cart, if any — points apply after it.\n- `items` (array, MANDATORY) — [{ product_id, quantity, variant_id? }] — one per cart line.","body":{"mode":"raw","raw":"{\n  \"customer_id\": 17,\n  \"points\": 100,\n  \"payment_mode\": \"online\",\n  \"coupon_code\": \"\",\n  \"items\": [\n    {\n      \"product_id\": 33,\n      \"quantity\": 2\n    }\n  ]\n}","options":{"raw":{"language":"json"}}}}}]},{"name":"Store pages","item":[{"name":"Contact us form","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/store/contact","host":["{{base_url}}"],"path":["ext","store","contact"]},"description":"The store's \"Contact us\" form. Sends one e-mail to the licence's company-admin (and the company e-mail when different) through the store's own SMTP, else the platform mailer. Reply-To = the shopper's e-mail. Nothing is saved. 5 messages an hour per mobile. 422 → { field } of the first wrong field. 503 NO_OWNER_EMAIL = the store has no e-mail; 503 NOT_SENT = the mail server refused — show \"call or WhatsApp the store\".\n\n**Body fields**\n- `name` (string, MANDATORY) — 2–100 characters.\n- `mobile` (string, MANDATORY) — Mobile number (digits, + - and spaces allowed).\n- `email` (string) — Shopper e-mail — the owner can reply to it.\n- `subject` (string) — Up to 150 characters.\n- `message` (string, MANDATORY) — 5–3000 characters.","body":{"mode":"raw","raw":"{\n  \"name\": \"Ravi Shah\",\n  \"mobile\": \"9876543210\",\n  \"email\": \"ravi@example.com\",\n  \"subject\": \"Bulk order\",\n  \"message\": \"Need 200 pairs for a school.\"\n}","options":{"raw":{"language":"json"}}}}}]},{"name":"Request Quote","item":[{"name":"Request Quote settings of the store","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/quote","host":["{{base_url}}"],"path":["ext","quote"]},"description":"Is Request Quote on, and for which items. { enabled:false } when off — then show the normal cart everywhere. mode \"mixed\" = an item is a quote item when its id is in product_ids OR its category_id is in category_ids (sub-categories are already included), unless it is in exclude_product_ids. mode \"quote_only\" = every item is a quote item: hide the cart and checkout. show_price false = show \"Price on request\" on quote items. ask_qty / ask_variant = show those boxes on the request form. repeat_days = one request per mobile per item in this many days (0 = no limit)."}},{"name":"Request a quote on one item","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/quotes","host":["{{base_url}}"],"path":["ext","quotes"]},"description":"A shopper (signed in or guest) asks for a quote on one item. The api checks: Request Quote on (422 QUOTE_OFF), the item is a quote item (422 NOT_QUOTE_PRODUCT), and one request per mobile per item in repeat_days (422 QUOTE_REPEAT with quote_id and next_at). Saves the request (+ the message as the first chat line) and e-mails the store owner. A guest request shows in My quotes once they sign in with the same mobile.\n\n**Body fields**\n- `product_id` (integer, MANDATORY) — The item.\n- `name` (string, MANDATORY) — 2–100 characters.\n- `mobile` (string, MANDATORY) — The repeat limit is per last 10 digits.\n- `email` (string) — Replies and offers are e-mailed here.\n- `quantity` (number) — > 0. Kept only when ask_qty is on.\n- `variant` (string) — Size / variant. Kept only when ask_variant is on.\n- `message` (string, MANDATORY) — Required since 2026-11-24: at least 10 words, up to 3000 characters. Fewer words → 422 with field \"message\".\n- `customer_id` (integer) — The signed-in shopper (this store's customer); omit for a guest.","body":{"mode":"raw","raw":"{\n  \"product_id\": 33,\n  \"name\": \"Ravi Shah\",\n  \"mobile\": \"9876543210\",\n  \"email\": \"ravi@example.com\",\n  \"quantity\": 50,\n  \"variant\": \"8\",\n  \"message\": \"Please send your best price for 50 pairs, delivery to Indore within two weeks.\",\n  \"customer_id\": 17\n}","options":{"raw":{"language":"json"}}}}},{"name":"A shopper's quote requests","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/quotes","host":["{{base_url}}"],"path":["ext","customers",":id","quotes"]},"description":"The signed-in shopper's requests (and guest requests on the same mobile), latest activity first, up to 200. unread = the store wrote since the shopper last opened it. status: new | replied | offered | accepted | converted | closed | rejected."}},{"name":"One quote request with its chat","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/quotes/:quoteId","host":["{{base_url}}"],"path":["ext","customers",":id","quotes",":quoteId"]},"description":"The request, the store's offer and every chat line (from: customer | admin | system). Opening it marks the store's replies read."}},{"name":"Shopper replies on a quote","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/quotes/:quoteId/messages","host":["{{base_url}}"],"path":["ext","customers",":id","quotes",":quoteId","messages"]},"description":"Adds the shopper's message to the chat and e-mails the store owner. 422 QUOTE_CLOSED when the request is converted / closed / rejected.\n\n**Body fields**\n- `body` (string, MANDATORY) — 1–3000 characters.","body":{"mode":"raw","raw":"{\n  \"body\": \"Can you do 440?\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Shopper accepts the offer","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":{"raw":"{{base_url}}/ext/customers/:id/quotes/:quoteId/accept","host":["{{base_url}}"],"path":["ext","customers",":id","quotes",":quoteId","accept"]},"description":"Only when status is \"offered\". 422 NO_OFFER / OFFER_EXPIRED (past valid_until). Sets status accepted and tells the store owner, who then makes the Sales Order in Teloora.","body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}}}}]}]}