Skip to content
Access your Tally data on mobile & web with Teloora — start your free trial todaySee plans
Teloora Connected Accounting
EN
Login Start free trial
Developers

Connect your website to your Tally

Show your catalogue with your locked rates, register customers and take orders that flow into Tally — over a simple JSON API.

Get the Website add-on

Teloora Website API v1.0

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).

Base URLhttps://tallysaasapi.teloora.com/api/v1

Download Postman collection Import it in Postman, run “Sign in” first — the token is saved for every other request.

Getting started

1. In Teloora, open Users → Add User and create a user of type Website. Give it an email and a strong password. Assign its catalogue (categories / products, with addition % / discount %). Set the delivery charge in Store design › Delivery.

2. On your website's SERVER, call POST /api/v1/ext/auth/login with that email and password. You get a token.

3. Send the token on every other call in the header: Authorization: Bearer <token>.

4. Keep the email, password and token on your server only — never put them in browser JavaScript or a mobile app bundle.

Authentication & token expiry

Only a Website user can sign in to this API. Admin, staff, sales, accountant and customer-portal logins are refused with 403 WEBSITE_USER_ONLY.

The token is valid for the time in expires_in (default 24h). When any call answers 401, sign in again and retry that call once.

Signing in again ends the previous session of the same user, so use ONE website user per website / server.

Changing the user's password, setting the user Inactive, removing the Website add-on or an expired licence stops the token immediately.

Response format

Every answer is JSON with HTTP 200. The real result is in the body: status (200 = OK, otherwise an error code), show (true when msg is meant for a person - always true on errors), msg (a readable message), data (the payload), and on some errors a code.

Always check body.status, not only the HTTP status.

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {}
}

Error codes

StatusCodeMeaning
400The request body is not valid JSON.
401Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403WEBSITE_USER_ONLYThe login is not a Website user.
403WEBSITE_ADDON_REQUIREDThe Website add-on is not active on this licence.
403LICENSE_EXPIREDThe licence has expired. Renew it to continue.
404The record does not exist in YOUR company (records of other companies are never visible).
422A field is missing or invalid. msg says which one.
429RATE_LIMITEDToo many requests. Wait retry_after seconds (also in the Retry-After header).
500Something went wrong on our side. Retry later; contact support if it continues.
404API_OFFThe platform has turned the developer API off (Super Admin › Website Settings › Developer API). Calls answer this until it is turned on again.

Limits, paging & sync

Rate limit: 600 requests per minute per caller IP (per website user). A store server should pass each shopper's IP in X-Forwarded-For so every shopper has their own limit. Sign-in: 10 attempts per 15 minutes per email + IP.

Lists are paged: ?page=1&per_page=20 (per_page max 100). The answer has data.data (rows) and data.meta { total, page, per_page } (order / invoice lists also give meta.grand_total). Defaults: categories 10, products / customers / locations 20, orders / invoices 10.

Incremental sync: add ?last_update=1 (changed today) or ?last_update=2026-10-01T00:00:00Z to get only rows changed since then.

Sorting: ?sort=<column>&order=asc|desc. Unknown columns fall back to the default order.

Money, rate and quantity columns stored as decimals (gst_rate, total, quantity, ...) come back as strings with decimals ("18.00") - parse them as numbers. Rows carry more fields than the samples show; ignore the ones you do not need.

Security

Your token can only ever see and change YOUR company's data. Ids of other companies answer 404.

Prices, taxes and totals of orders are always calculated by Teloora from your locked rates — rates you send are not trusted.

Every API call is logged (user, IP, endpoint, time, result) and visible to Teloora support.

Online store (customers sign in)

0. First set up your mail server in Teloora › Settings › Email (SMTP). Forgot-password codes, order mails and delivery updates go to your customers FROM YOUR OWN address through it; without it no store mail is sent (the password is stored encrypted).

1. Sign-up: POST /ext/customers with a password and an e-mail. A new customer lands in your website customer group; an existing customer (same mobile) just gets the password.

2. Sign-in: POST /ext/customers/login → the customer. Keep its id in your own signed session; GET /ext/customers/{id} gives the details.

3. Forgot password: POST /ext/customers/forgot-password, then /reset-password with the 6-digit code.

4. Profile: PUT /ext/customers/{id} (add password + current_password to change the password).

5. Cart total on your side: rate from GET /ext/products (priced from the item's MRP) × qty, GST per line from gst_rate, plus the delivery charge for the chosen payment type from GET /ext/website/design → design.delivery (see that endpoint), total rounded — the order API prices it the same way. Online: open Razorpay Checkout with your public key for that total, then send payment { payment_id } with the order.

6. Order: POST /ext/sales-invoices with voucher_details.shop = { customer_id, name, mobile, ship_to }. You and the customer get a e-mail.

7. My orders: GET /ext/sales-invoices?shop_customer_id= — each carries shop_stage, cancel_reason (when cancelled) and tracking (courier, AWB). Each order has pdf_url (invoice PDF).

Sign in

POSThttps://tallysaasapi.teloora.com/api/v1/ext/auth/login

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.

No token needed.

Body fields

NameTypeRequiredNotes
emailstringYesThe Website user's login email.
passwordstringYesIts password.

Request example

{
  "email": "shop@example.com"
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/auth/login" \
  -H "Content-Type: application/json" \
  -d '{"email":"shop@example.com"}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Login successful.",
  "data": {
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "user": {
      "id": 42,
      "name": "My Shop Website",
      "email": "shop@example.com",
      "role": "customer",
      "role_slug": "customer",
      "company_id": 1,
      "permissions": [
        "customers.create",
        "customers.edit",
        "customers.view",
        "products.view",
        "sales-orders.create",
        "sales-orders.view"
      ],
      "is_salesman": false,
      "sales_person_id": null,
      "is_customer_user": true,
      "customer_id": 17,
      "website_user": {
        "customer_id": 17,
        "cash_extra_pct": 0,
        "online_extra_pct": 2
      },
      "license": {
        "valid_until": "2027-08-10T00:00:00.000Z",
        "status": "active",
        "days_left": 300,
        "expired": false,
        "renew_due": false,
        "max_companies": null,
        "max_users": 10,
        "companies_used": 1,
        "companies_remaining": null,
        "users_used": 10,
        "users_remaining": 0
      },
      "default_company_id": null
    },
    "expires_in": "24h"
  }
}
Response fields (31)
FieldTypeMeaning
tokenstring
userobject
user.idnumberRecord id — use it in /{id} calls.
user.namestringName, exactly as in Tally / Teloora.
user.emailstringEmail.
user.rolestring
user.role_slugstring
user.company_idnumberThe company (books) this record belongs to.
user.permissionsarray
user.is_salesmanboolean
user.sales_person_idnull
user.is_customer_userboolean
user.customer_idnumberCustomer id.
user.website_userobject
user.website_user.customer_idnumberCustomer id.
user.website_user.cash_extra_pctnumberRetired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).
user.website_user.online_extra_pctnumberRetired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).
user.licenseobject
user.license.valid_untilstring
user.license.statusstringActive | Inactive (records) or the voucher status.
user.license.days_leftnumber
user.license.expiredboolean
user.license.renew_dueboolean
user.license.max_companiesnull
user.license.max_usersnumber
user.license.companies_usednumber
user.license.companies_remainingnull
user.license.users_usednumber
user.license.users_remainingnumber
user.default_company_idnull
expires_instring

Errors

StatusMeaning / example
401
{
  "status": 401,
  "show": true,
  "msg": "Invalid email or password."
}
403
{
  "status": 403,
  "show": true,
  "msg": "Only a website user can use the API.",
  "code": "WEBSITE_USER_ONLY"
}
422
{
  "status": 422,
  "show": true,
  "msg": "Please enter a valid email address."
}
429
{
  "status": 429,
  "show": true,
  "msg": "Too many sign-in attempts. Please try again later.",
  "code": "RATE_LIMITED",
  "retry_after": 840
}

Who am I (from the token)

GEThttps://tallysaasapi.teloora.com/api/v1/ext/auth/me

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/auth/me" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "user": {
      "id": 42,
      "name": "My Shop Website",
      "email": "shop@example.com",
      "role": "customer",
      "role_slug": "customer",
      "company_id": 1,
      "permissions": [
        "customers.create",
        "customers.edit",
        "customers.view",
        "products.view",
        "sales-orders.create",
        "sales-orders.view"
      ],
      "is_salesman": false,
      "sales_person_id": null,
      "is_customer_user": true,
      "customer_id": 17,
      "website_user": {
        "customer_id": 17,
        "cash_extra_pct": 0,
        "online_extra_pct": 2
      },
      "license": {
        "valid_until": "2027-08-10T00:00:00.000Z",
        "status": "active",
        "days_left": 300,
        "expired": false,
        "renew_due": false,
        "max_companies": null,
        "max_users": 10,
        "companies_used": 1,
        "companies_remaining": null,
        "users_used": 10,
        "users_remaining": 0
      },
      "default_company_id": null
    }
  }
}
Response fields (29)
FieldTypeMeaning
userobject
user.idnumberRecord id — use it in /{id} calls.
user.namestringName, exactly as in Tally / Teloora.
user.emailstringEmail.
user.rolestring
user.role_slugstring
user.company_idnumberThe company (books) this record belongs to.
user.permissionsarray
user.is_salesmanboolean
user.sales_person_idnull
user.is_customer_userboolean
user.customer_idnumberCustomer id.
user.website_userobject
user.website_user.customer_idnumberCustomer id.
user.website_user.cash_extra_pctnumberRetired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).
user.website_user.online_extra_pctnumberRetired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).
user.licenseobject
user.license.valid_untilstring
user.license.statusstringActive | Inactive (records) or the voucher status.
user.license.days_leftnumber
user.license.expiredboolean
user.license.renew_dueboolean
user.license.max_companiesnull
user.license.max_usersnumber
user.license.companies_usednumber
user.license.companies_remainingnull
user.license.users_usednumber
user.license.users_remainingnumber
user.default_company_idnull

Errors

StatusMeaning / example
401
{
  "status": 401,
  "show": true,
  "msg": "Your session has ended. Please log in again."
}
403
{
  "status": 403,
  "show": true,
  "msg": "Only a website user can use the API.",
  "code": "WEBSITE_USER_ONLY"
}

List categories

GEThttps://tallysaasapi.teloora.com/api/v1/ext/categories

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.

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
searchstringNoFilter by name.
pageintegerNoDefault 1.
per_pageintegerNoDefault 10, max 100.
with_categoriesintegerNo1 = (brand-wise store) each brand also returns stock_categories [{ name, parent, products }], n levels. Optional; default off.
kindstringNobrand | 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).
sortstringNoposition (default) = the order set with ▲▼ in Teloora, or name.
orderstringNoasc (default) | desc.

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/categories" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": 47367,
        "name": "Mens Sports",
        "parent_id": null,
        "parent": null,
        "show_on_top": true,
        "sort_order": 1,
        "image_url": "https://api.example.com/uploads/stock-categories/1/sc47367_1792913205865_7ffd0375934489010f278e5e.png",
        "banner_url": "https://api.example.com/uploads/stock-categories/1/scb47367_1792913130212_daebae1c79714f54e15e8b0a.png",
        "banner_mobile_url": "https://api.example.com/uploads/stock-categories/1/scb47367_1792913186054_20bdfc771de86cda6eb98810.jpg",
        "seo_title": null,
        "seo_description": null,
        "seo_keywords": null,
        "products": 241,
        "updated_at": "2026-10-28T08:05:58.270Z",
        "stock_categories": [
          {
            "name": "Mens Sports",
            "parent": null,
            "products": 204
          },
          {
            "name": "Running",
            "parent": "Mens Sports",
            "products": 60
          }
        ]
      },
      {
        "id": 47365,
        "name": "Men's Formal",
        "parent_id": null,
        "parent": null,
        "show_on_top": true,
        "sort_order": 2,
        "image_url": "https://api.example.com/uploads/stock-categories/1/sc47365_1792912971939_db21434379ba7c835d786c46.png",
        "banner_url": "https://api.example.com/uploads/stock-categories/1/scb47365_1792912848226_efb4be824da5a3e535e773cc.png",
        "banner_mobile_url": "https://api.example.com/uploads/stock-categories/1/scb47365_1792912971001_8cdd629874bdfe29c0976f36.jpg",
        "seo_title": null,
        "seo_description": null,
        "seo_keywords": null,
        "products": 89,
        "updated_at": "2026-10-28T08:05:58.270Z"
      }
    ],
    "meta": {
      "total": 10,
      "page": 1,
      "per_page": 10
    }
  }
}
Response fields (17)
FieldTypeMeaning
data[].idnumberRecord id — use it in /{id} calls.
data[].namestringName, exactly as in Tally / Teloora.
data[].parent_idnull
data[].parentnull
data[].show_on_topboolean
data[].sort_ordernumber
data[].image_urlstringDefault image URL (null when none).
data[].banner_urlstringCategory 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.
data[].banner_mobile_urlstringCategory MOBILE banner (recommended 800x600, 4:3; JPG/PNG/WEBP, max 2 MB; null when none — use banner_url). Website only — never sent to Tally.
data[].seo_titlenullWebsite SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.
data[].seo_descriptionnullWebsite SEO meta description (max 170; null when not set). Website only — never sent to Tally.
data[].seo_keywordsnullWebsite SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.
data[].productsnumber
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
429 Too many requests. Wait retry_after seconds (also in the Retry-After header).

List products

GEThttps://tallysaasapi.teloora.com/api/v1/ext/products

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.

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
searchstringNoName / code, max 191 chars. Max length 191.
statusstringNoActive | Inactive. One of: Active | Inactive.
pageintegerNoDefault 1. Min 1. Default 1.
per_pageintegerNoDefault 20, max 100. Min 1. Max 1000. Default 20.
sortstringNoe.g. name, rate, updated_at. Max length 40.
orderstringNoasc | desc. One of: asc | desc.
last_updatestringNo1 or an ISO date — only changed rows.
condstringNoNumeric filters field:op:value (eq|gt|lt|gte|lte), joined with ; e.g. stock:gt:0 Max length 500.
sizestringNoMax length 60.
attrstringNoAttribute value ids, comma separated (1,2). Values of one attribute match with OR, different attributes with AND.

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/products" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": "26",
        "name": "(ACT) A-1260 BLACK 6X10",
        "sku": null,
        "unit": "pair",
        "hsn_code": "64059000",
        "gst_rate": "5.00",
        "gst_inclusive": true,
        "rate": 649,
        "list_rate": 649,
        "discount_pct": 0,
        "tier_group": null,
        "qty_tiers": [],
        "sales_price": 649,
        "mrp": "649.00",
        "closing_stock": "110.000",
        "sizes": [],
        "opening_stock": "277.00",
        "opening_batches": [],
        "status": "Active",
        "description": null,
        "category_id": "2",
        "category": "ACTION",
        "stock_category": "SCHOOL SHOES",
        "category_image_url": "https://api.example.com/uploads/stock-categories/1/sc44252_1792670971248_27b181640b6e7dff79bc4397.jpg",
        "category_show_on_top": true,
        "image_url": "https://api.example.com/uploads/products/1/p26_1793262360939_b00ba84e2206a780e37f1834.png",
        "pdf_image_url": null,
        "images": [
          {
            "id": "577",
            "url": "https://api.example.com/uploads/products/1/p26_1793262360939_b00ba84e2206a780e37f1834.png",
            "is_default": true
          }
        ],
        "custom_fields": {},
        "seo_title": null,
        "seo_description": null,
        "seo_keywords": null,
        "rating": {
          "avg": 0,
          "count": 0
        },
        "sold_qty": 0,
        "in_tally": true,
        "created_at": "2026-08-31T08:14:38.486Z",
        "updated_at": "2026-10-19T05:32:55.384Z",
        "attributes": [
          {
            "id": 1,
            "name": "Color",
            "values": [
              {
                "id": 2,
                "value": "Red"
              }
            ]
          }
        ],
        "variants": [
          {
            "id": 1,
            "sku": "RED-42",
            "barcode": null,
            "price": 799,
            "on_hand": 5,
            "available": 5,
            "tally_batch": null,
            "status": "Active",
            "values": [
              {
                "id": 2,
                "value": "Red",
                "attribute_id": 1,
                "attribute": "Color"
              }
            ],
            "label": "Red",
            "image_url": "https://api.example.com/uploads/products/1/red.jpg"
          }
        ]
      },
      {
        "id": "27",
        "name": "(ACT) A-1260 BLK 11X01",
        "sku": null,
        "unit": "pair",
        "hsn_code": "64059000",
        "gst_rate": "5.00",
        "gst_inclusive": true,
        "rate": 549,
        "list_rate": 549,
        "discount_pct": 0,
        "tier_group": null,
        "qty_tiers": [],
        "sales_price": 549,
        "mrp": "549.00",
        "closing_stock": "16.000",
        "sizes": [
          {
            "size": "1",
            "qty": 1097
          },
          {
            "size": "11X1",
            "qty": -8
          },
          {
            "size": "12",
            "qty": -2
          },
          {
            "size": "13",
            "qty": -5
          },
          {
            "size": "CLAIM",
            "qty": 2
          }
        ],
        "opening_stock": "695.00",
        "opening_batches": [],
        "status": "Active",
        "description": null,
        "category_id": "2",
        "category": "ACTION",
        "stock_category": "SCHOOL SHOES",
        "category_image_url": "https://api.example.com/uploads/stock-categories/1/sc44252_1792670971248_27b181640b6e7dff79bc4397.jpg",
        "category_show_on_top": true,
        "image_url": "https://api.example.com/uploads/products/1/p27_1791273141731_d2b938f050a4f41da86d3844.jpg",
        "pdf_image_url": null,
        "images": [
          {
            "id": "12",
            "url": "https://api.example.com/uploads/products/1/p27_1791273141731_d2b938f050a4f41da86d3844.jpg",
            "is_default": true
          }
        ],
        "custom_fields": {},
        "seo_title": null,
        "seo_description": null,
        "seo_keywords": null,
        "rating": {
          "avg": 0,
          "count": 0
        },
        "sold_qty": 0,
        "in_tally": true,
        "created_at": "2026-08-31T08:14:38.486Z",
        "updated_at": "2026-10-19T05:32:55.384Z"
      }
    ],
    "meta": {
      "total": 122,
      "page": 1,
      "per_page": 2
    }
  }
}
Response fields (43)
FieldTypeMeaning
data[].idstringRecord id — use it in /{id} calls.
data[].namestringName, exactly as in Tally / Teloora.
data[].skunullItem code.
data[].unitstringUnit of measure (Nos, Pair, Kgs …).
data[].hsn_codestringHSN / SAC code (null when the item has none).
data[].gst_ratestringGST % (string, 2 decimals).
data[].gst_inclusivebooleantrue = 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.
data[].ratenumberYOUR 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.
data[].list_ratenumberThe price before the category discount: MRP (or sales price when no MRP) + the category addition %. Show it struck through when rate is lower.
data[].discount_pctnumberThe category discount % taken off list_rate (0 = none).
data[].tier_groupnull
data[].qty_tiersarray
data[].sales_pricenumberList selling price.
data[].mrpstringMaximum retail price (null when not set).
data[].closing_stockstringStock in hand now.
data[].sizesarrayStock 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.
data[].opening_stockstringOpening quantity (a Tally item: Tally's closing).
data[].opening_batchesarraySize-wise opening sent for a Teloora-created item (not yet in Tally): [{size, qty}].
data[].statusstringActive | Inactive (records) or the voucher status.
data[].descriptionnullFree text.
data[].category_idstringGroup id.
data[].categorystringStock group.
data[].stock_categorystringStock category.
data[].category_image_urlstringPicture of the item's category (null when none).
data[].category_show_on_topbooleanCategory pinned on top of the catalogue.
data[].image_urlstringDefault image URL (null when none).
data[].imagesarrayAll images, default first: [{id, url, is_default}].
data[].images[].idstringRecord id — use it in /{id} calls.
data[].images[].urlstring
data[].images[].is_defaultboolean
data[].custom_fieldsobjectYour own extra fields (object).
data[].seo_titlenullWebsite SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.
data[].seo_descriptionnullWebsite SEO meta description (max 170; null when not set). Website only — never sent to Tally.
data[].seo_keywordsnullWebsite SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.
data[].ratingobject
data[].rating.avgnumber
data[].rating.countnumber
data[].in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
data[].created_atstringWhen it was created (ISO, UTC).
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.

Cases

An item kept in sizes

sizes lists the stock per size now (Tally batches). Filter with ?size=42 for items that have stock in size 42; sort=sizes orders by how many sizes.

Request
{
  "query": "size=42&per_page=1"
}
Response
{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": "3259",
        "name": "LIB-9906-02T 6x12 BLK",
        "sku": null,
        "unit": "pair",
        "hsn_code": "640219",
        "gst_rate": "5.00",
        "gst_inclusive": true,
        "sales_price": "1299.00",
        "mrp": "1299.00",
        "closing_stock": "364.000",
        "sizes": [
          {
            "size": "6",
            "qty": -75
          },
          {
            "size": "7",
            "qty": -56
          },
          {
            "size": "8",
            "qty": 3
          },
          {
            "size": "9",
            "qty": 121
          },
          {
            "size": "10",
            "qty": 153
          },
          {
            "size": "11",
            "qty": 117
          },
          {
            "size": "12",
            "qty": 37
          },
          {
            "size": "Claim",
            "qty": 39
          }
        ],
        "opening_stock": "658.00",
        "opening_batches": [],
        "status": "Active",
        "description": null,
        "category_id": "1",
        "category": "LIBERTY-SCHOOL",
        "stock_category": "SCHOOL SHOES",
        "category_image_url": "https://api.example.com/uploads/stock-categories/1/sc44252_1792670971248_27b181640b6e7dff79bc4397.jpg",
        "category_show_on_top": true,
        "image_url": "https://api.example.com/uploads/products/1/p3259_1792303912672_7901c27c3846345c3b5702c8.jpg",
        "pdf_image_url": null,
        "images": [
          {
            "id": "284",
            "url": "https://api.example.com/uploads/products/1/p3259_1792303912672_7901c27c3846345c3b5702c8.jpg",
            "is_default": true
          }
        ],
        "custom_fields": {},
        "seo_title": null,
        "seo_description": null,
        "seo_keywords": null,
        "rating": {
          "avg": 0,
          "count": 0
        },
        "sold_qty": 0,
        "in_tally": true,
        "created_at": "2026-08-31T08:14:38.486Z",
        "updated_at": "2026-10-19T05:32:55.384Z"
      }
    ],
    "meta": {
      "total": 968,
      "page": 1,
      "per_page": 1
    }
  }
}

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
422
{
  "status": 422,
  "show": true,
  "msg": "Invalid condition filter (use field:op:value)."
}
429 Too many requests. Wait retry_after seconds (also in the Retry-After header).

Attributes for store filters

GEThttps://tallysaasapi.teloora.com/api/v1/ext/attributes

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/attributes" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": 1,
        "name": "Color",
        "values": [
          {
            "id": 2,
            "value": "Red"
          }
        ]
      }
    ]
  }
}

Store design & details

GEThttps://tallysaasapi.teloora.com/api/v1/ext/website/design

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/website/design" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "design": {
      "maintenance": {
        "on": false,
        "title": "",
        "message": "",
        "until": "",
        "contact": true
      },
      "colors": {
        "primary": "#1F2A6B"
      },
      "sections": [
        {
          "id": "hero",
          "on": true
        }
      ],
      "cod_advance": {
        "enabled": true,
        "type": "percent",
        "value": 20,
        "min_order": 1000,
        "note": "Advance confirms your order"
      }
    },
    "store": {
      "name": "My Shop",
      "mobile": "9800000000",
      "currency": "INR",
      "country_code": "IN"
    },
    "payments": {
      "cash": true,
      "online": true,
      "cash_extra_pct": 0,
      "online_extra_pct": 2,
      "razorpay_key_id": "rzp_live_xxxxxxxx",
      "razorpay_mode": "live",
      "phonepe": true,
      "phonepe_mode": "live"
    },
    "catalog": {
      "outOfStock": false,
      "zeroPrice": false
    },
    "reviews": {
      "avg": 4.5,
      "count": 12
    }
  }
}
Response fields (24)
FieldTypeMeaning
designobject
design.colorsobject
design.colors.primarystring
design.sectionsarray
design.sections[].idstringRecord id — use it in /{id} calls.
design.sections[].onboolean
storeobject
store.namestringName, exactly as in Tally / Teloora.
store.mobilestring10-digit mobile.
paymentsobject
payments.cashboolean
payments.onlineboolean
payments.cash_extra_pctnumberRetired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).
payments.online_extra_pctnumberRetired — always 0. The delivery charge is set per payment type instead (GET /ext/website/design → design.delivery).
payments.razorpay_key_idstring
payments.razorpay_modestring
payments.phonepeboolean
payments.phonepe_modestring
catalogobject
catalog.outOfStockboolean
catalog.zeroPriceboolean
reviewsobject
reviews.avgnumber
reviews.countnumber

Start an online payment (Razorpay order)

POSThttps://tallysaasapi.teloora.com/api/v1/ext/website/payments/razorpay-order

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).

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
amountnumberYesThe 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.
receiptstringNoYour own reference (letters, digits, _ -; up to 40).
itemsarrayNoOptional, 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.

Request example

{
  "amount": 1249.5,
  "receipt": "cart-8812",
  "items": [
    {
      "product_id": 101,
      "quantity": 2,
      "batches": [
        {
          "batch": "8",
          "qty": 2
        }
      ]
    }
  ]
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/website/payments/razorpay-order" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"amount":1249.5,"receipt":"cart-8812","items":[{"product_id":101,"quantity":2,"batches":[{"batch":"8","qty":2}]}]}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Payment started.",
  "data": {
    "order_id": "order_PqR8sT1uVw2xYz",
    "amount": 124950,
    "currency": "INR",
    "key_id": "rzp_live_xxxxxxxx",
    "mode": "live"
  }
}
Response fields (5)
FieldTypeMeaning
order_idstring
amountnumber
currencystring
key_idstring
modestring

Errors

StatusMeaning / example
422
{
  "status": 422,
  "show": true,
  "msg": "Online payment is not switched on for this store."
}
429
{
  "status": 429,
  "show": true,
  "msg": "Too many payment attempts. Please try again later."
}

Start an online payment (PhonePe)

POSThttps://tallysaasapi.teloora.com/api/v1/ext/website/payments/phonepe-order

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).

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
amountnumberYesThe 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.
redirect_urlstringYesYour page PhonePe sends the shopper back to (http/https). ?mo=<merchant_order_id> is added.
phonestringNoShopper mobile (10 digits) to prefill PhonePe.
itemsarrayNoOptional, 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.

Request example

{
  "amount": 1249.5,
  "redirect_url": "https://shop.example.com/checkout/phonepe",
  "phone": "9800000000",
  "items": [
    {
      "product_id": 101,
      "quantity": 2,
      "batches": [
        {
          "batch": "8",
          "qty": 2
        }
      ]
    }
  ]
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/website/payments/phonepe-order" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"amount":1249.5,"redirect_url":"https://shop.example.com/checkout/phonepe","phone":"9800000000","items":[{"product_id":101,"quantity":2,"batches":[{"batch":"8","qty":2}]}]}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Payment started.",
  "data": {
    "merchant_order_id": "TLP12-9-m2x8k1-a1b2c3",
    "phonepe_order_id": "OMO2410231215",
    "redirect_url": "https://mercury.phonepe.com/transact/...",
    "mode": "live"
  }
}
Response fields (4)
FieldTypeMeaning
merchant_order_idstring
phonepe_order_idstring
redirect_urlstring
modestring

Errors

StatusMeaning / example
422
{
  "status": 422,
  "show": true,
  "msg": "PhonePe is not switched on for this store."
}
429
{
  "status": 429,
  "show": true,
  "msg": "Too many payment attempts. Please try again later."
}

Blog posts

GEThttps://tallysaasapi.teloora.com/api/v1/ext/blog

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).

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
pageintegerNoDefault 1.
per_pageintegerNoDefault 12, max 100.
searchstringNoFilter by title / summary / tag.
tagstringNoOnly posts with this tag.
sortstringNonewest (default), oldest or title (A-Z).

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/blog" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": "a1b2c3d4e5f6",
        "slug": "how-to-pick-the-right-school-shoe-size",
        "title": "How to pick the right school shoe size",
        "excerpt": "Measure in the evening, leave a thumb width at the toe ...",
        "cover": "https://api.example.com/uploads/store/1/17/blog-cover-ab12.jpg",
        "tags": [
          "school",
          "sizing"
        ],
        "published_at": "2026-10-19T09:00:00.000Z",
        "updated_at": "2026-10-19T09:00:00.000Z",
        "images_count": 2
      }
    ],
    "meta": {
      "total": 1,
      "page": 1,
      "per_page": 12,
      "last_page": 1,
      "tags": [
        {
          "tag": "school",
          "count": 1
        },
        {
          "tag": "sizing",
          "count": 1
        }
      ]
    }
  }
}
Response fields (16)
FieldTypeMeaning
data[].idstringRecord id — use it in /{id} calls.
data[].slugstring
data[].titlestring
data[].excerptstring
data[].coverstring
data[].tagsarray
data[].published_atstring
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
data[].images_countnumber
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.
meta.last_pagenumber
meta.tagsarray
meta.tags[].tagstring
meta.tags[].countnumber

One blog post

GEThttps://tallysaasapi.teloora.com/api/v1/ext/blog/{slug}

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/blog/{slug}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "id": "a1b2c3d4e5f6",
    "slug": "how-to-pick-the-right-school-shoe-size",
    "title": "How to pick the right school shoe size",
    "excerpt": "Measure in the evening, leave a thumb width at the toe ...",
    "cover": "https://api.example.com/uploads/store/1/17/blog-cover-ab12.jpg",
    "tags": [
      "school",
      "sizing"
    ],
    "published_at": "2026-10-19T09:00:00.000Z",
    "updated_at": "2026-10-19T09:00:00.000Z",
    "body_html": "<p>Children grow fast ...</p><h2>Measure in the evening</h2><p>...</p>",
    "seo_title": "School shoe size guide",
    "seo_desc": "A quick guide to picking the right school shoe size.",
    "created_at": "2026-10-18T10:00:00.000Z",
    "images": [
      "https://api.example.com/uploads/store/1/17/blog-gal-cd34.jpg"
    ],
    "images_count": 1,
    "related": [
      {
        "id": "f6e5d4c3b2a1",
        "slug": "caring-for-leather-shoes",
        "title": "Caring for leather shoes",
        "excerpt": "Polish weekly ...",
        "cover": null,
        "images_count": 0,
        "tags": [
          "care"
        ],
        "published_at": "2026-10-12T09:00:00.000Z",
        "updated_at": "2026-10-12T09:00:00.000Z"
      }
    ],
    "recent": [
      {
        "id": "f6e5d4c3b2a1",
        "slug": "caring-for-leather-shoes",
        "title": "Caring for leather shoes",
        "excerpt": "Polish weekly ...",
        "cover": null,
        "images_count": 0,
        "tags": [
          "care"
        ],
        "published_at": "2026-10-12T09:00:00.000Z",
        "updated_at": "2026-10-12T09:00:00.000Z"
      }
    ],
    "tags_all": [
      {
        "tag": "school",
        "count": 1
      },
      {
        "tag": "care",
        "count": 1
      }
    ]
  }
}
Response fields (37)
FieldTypeMeaning
idstringRecord id — use it in /{id} calls.
slugstring
titlestring
excerptstring
coverstring
tagsarray
published_atstring
updated_atstringLast change (ISO, UTC) — use with last_update.
body_htmlstring
seo_titlestringWebsite SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.
seo_descstring
created_atstringWhen it was created (ISO, UTC).
imagesarrayAll images, default first: [{id, url, is_default}].
images_countnumber
relatedarray
related[].idstringRecord id — use it in /{id} calls.
related[].slugstring
related[].titlestring
related[].excerptstring
related[].covernull
related[].images_countnumber
related[].tagsarray
related[].published_atstring
related[].updated_atstringLast change (ISO, UTC) — use with last_update.
recentarray
recent[].idstringRecord id — use it in /{id} calls.
recent[].slugstring
recent[].titlestring
recent[].excerptstring
recent[].covernull
recent[].images_countnumber
recent[].tagsarray
recent[].published_atstring
recent[].updated_atstringLast change (ISO, UTC) — use with last_update.
tags_allarray
tags_all[].tagstring
tags_all[].countnumber

Place an order

POSThttps://tallysaasapi.teloora.com/api/v1/ext/sales-invoices

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
customer_idintegerYesAlways replaced by the Website user's own customer.
location_idintegerNoLocation id from GET /ext/locations. Optional; default = the company's main location.
sales_person_idintegerNoSales person id (optional; null = none).
invoice_nostringNoMax length 60.
ledger_namestringNoMax length 120.
price_levelstringNoMax length 120.
voucher_typestringNoMax length 150.
ref_typestringNoOne of: On Account | New Ref | Agst Ref.
ref_namestringNoMax length 100.
invoice_dateanyYesYYYY-MM-DD.
due_dateanyNoNot before invoice_date.
notesstringNoMax 2000 chars. Max length 2000.
voucher_detailsobjectNoOptional 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.
ledgersarrayNoEach item: { ledger_name*: string, amount*: number, dr_cr: string } (* = required).
statusstringNoOne of: pending_tally | sent_to_tally | created | failed. Default "pending_tally".
payment_modestringNocash | 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.
paymentanyNoWith 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".
save_as_draftbooleanNotrue = save as a draft (not sent for approval / Tally). Default false.
itemsarrayYesAt 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.
items[].variant_idintegerNoRequired for a product with variants.

Request example

{
  "customer_id": 3382,
  "invoice_date": "2026-10-29",
  "payment_mode": "cash",
  "items": [
    {
      "product_id": "56",
      "quantity": 1,
      "rate": 1099,
      "gst_rate": 5
    }
  ]
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/sales-invoices" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"customer_id":3382,"invoice_date":"2026-10-29","payment_mode":"cash","items":[{"product_id":"56","quantity":1,"rate":1099,"gst_rate":5}]}'

Success response

{
  "status": 422,
  "show": true,
  "msg": "One of the products is not in your assigned catalog."
}

Cases

Order by size (batches)

For an item kept in sizes (its `sizes` in GET /ext/products), split the line into batches: [{batch, qty}]. batch = the size name, qty = how many of that size; the qtys must add up to the line quantity. The rate is always the server price.

Request
{
  "customer_id": 3382,
  "invoice_date": "2026-10-29",
  "payment_mode": "cash",
  "items": [
    {
      "product_id": "3354",
      "quantity": 3,
      "rate": 0,
      "batches": [
        {
          "batch": "8",
          "qty": 1
        },
        {
          "batch": "10",
          "qty": 2
        }
      ]
    }
  ]
}
Response
{
  "status": 200,
  "show": false,
  "msg": "Invoice created.",
  "data": {
    "id": "12010",
    "type": "sales",
    "invoice_no": "TLR/26-27/0005",
    "tally_voucher_no": null,
    "invoice_date": "2026-10-28T18:30:00.000Z",
    "due_date": null,
    "customer_id": "3382",
    "supplier_id": null,
    "supplier_bill_no": null,
    "location_id": null,
    "status": "pending_tally",
    "approval_status": "approved",
    "rejected_reason": null,
    "payment_mode": "cash",
    "online_payment": null,
    "subtotal": "1797.00",
    "discount": "0.00",
    "taxable": "1711.43",
    "cgst": "42.78",
    "sgst": "42.78",
    "igst": "0.00",
    "tax_amount": "85.57",
    "round_off": "0.00",
    "total": "1897.00",
    "notes": null,
    "voucher_details": {
      "pricing": {
        "lines": [
          {
            "rate": 599,
            "list_rate": 599,
            "product_id": 3354,
            "tier_group": null,
            "sales_price": 599,
            "addition_pct": 0,
            "discount_pct": 0,
            "mode_extra_pct": 0
          }
        ],
        "payment_mode": "cash",
        "mode_extra_pct": 0
      },
      "delivery": {
        "rule": "variable",
        "amount": 100,
        "pieces": 3,
        "reason": "Delivery charge (orders ₹0 – ₹2,000)",
        "ledger_name": "FREIGHT CHARGES (GST)",
        "order_value": 1711.43
      }
    },
    "items": [
      {
        "product_id": "3354",
        "description": "(LIB) GOLF 6X10 BLACK",
        "hsn": "640219",
        "quantity": "3.00",
        "unit": "pair",
        "rate": "599.00",
        "discount_pct": "0.00",
        "taxable": "1711.43",
        "gst_rate": "5.00",
        "gst_amount": "85.57",
        "amount": "1797.00",
        "tax_inclusive": true,
        "godown": null,
        "batches": [
          {
            "batch": "8",
            "qty": 1,
            "godown": null,
            "rate": 599
          },
          {
            "batch": "10",
            "qty": 2,
            "godown": null,
            "rate": 599
          }
        ]
      }
    ],
    "in_tally": false,
    "created_at": "2026-10-29T09:30:56.200Z",
    "updated_at": "2026-10-29T09:30:56.200Z",
    "pdf_url": "/api/v1/ext/sales-invoices/12010/pdf"
  }
}
Refused: sizes do not add up to the line quantity
Request
{
  "customer_id": 3382,
  "invoice_date": "2026-10-29",
  "payment_mode": "cash",
  "items": [
    {
      "product_id": "3354",
      "quantity": 5,
      "rate": 0,
      "batches": [
        {
          "batch": "8",
          "qty": 1
        },
        {
          "batch": "10",
          "qty": 2
        }
      ]
    }
  ]
}
Response
{
  "status": 422,
  "show": true,
  "msg": "Line quantity (5) must equal the total of its batches (3)."
}
Refused: a size the item does not have

The message lists the sizes the item has.

Request
{
  "customer_id": 3382,
  "invoice_date": "2026-10-29",
  "payment_mode": "cash",
  "items": [
    {
      "product_id": "3354",
      "quantity": 1,
      "rate": 0,
      "batches": [
        {
          "batch": "NO-SUCH-SIZE",
          "qty": 1
        }
      ]
    }
  ]
}
Response
{
  "status": 422,
  "show": true,
  "msg": "Batch \"NO-SUCH-SIZE\" does not exist for \"(LIB) GOLF 6X10 BLACK\". Its batches are: 6, 7, 8, 9, 10, 11, Primary Batch."
}
Refused: more than that size has in stock

Stock is checked per size.

Request
{
  "customer_id": 3382,
  "invoice_date": "2026-10-29",
  "payment_mode": "cash",
  "items": [
    {
      "product_id": "3354",
      "quantity": 9,
      "rate": 0,
      "batches": [
        {
          "batch": "8",
          "qty": 9
        }
      ]
    }
  ]
}
Response
{
  "status": 422,
  "show": true,
  "msg": "Not enough stock in batch \"8\" of \"(LIB) GOLF 6X10 BLACK\" — only 8 available, you asked for 9."
}
Refused: not enough stock

Stock is checked for the item and, when lines carry batches, for each size.

Request
{
  "customer_id": 3382,
  "invoice_date": "2026-10-29",
  "payment_mode": "cash",
  "items": [
    {
      "product_id": "56",
      "quantity": 999999,
      "rate": 1099,
      "gst_rate": 5
    }
  ]
}
Response
{
  "status": 422,
  "show": true,
  "msg": "One of the products is not in your assigned catalog."
}
Refused: no lines
Request
{
  "customer_id": 3382,
  "invoice_date": "2026-10-29",
  "payment_mode": "cash",
  "items": []
}
Response
{
  "status": 422,
  "show": true,
  "msg": "At least one line item is required."
}

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
422
{
  "status": 422,
  "show": true,
  "msg": "At least one line item is required."
}
429 Too many requests. Wait retry_after seconds (also in the Retry-After header).
422
{
  "status": 422,
  "show": true,
  "msg": "This payment (pay_Q1w2E3r4T5y6U7) is already recorded on invoice WEB/0042."
}
422
{
  "status": 422,
  "show": true,
  "msg": "The payment signature does not match — this payment cannot be accepted."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Not enough stock in batch \"7\" of \"SPORT SHOE 7X10 BLK\" — only 3 available, you asked for 5."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Batch \"11\" does not exist for \"SPORT SHOE 7X10 BLK\". Its batches are: 7, 8, 9, 10."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Line quantity (6) must equal the total of its batches (5)."
}
422 A field is missing or invalid. msg says which one.

My orders

GEThttps://tallysaasapi.teloora.com/api/v1/ext/sales-invoices

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.

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
searchstringNoMax length 191.
statusstringNoOne of: pending_tally | sent_to_tally | created | failed.
approvalstringNodraft | pending | approved | rejected | all. One of: draft | pending | approved | rejected | all.
pageintegerNoDefault 1. Min 1. Default 1.
per_pageintegerNoDefault 10, max 100. Min 1. Max 1000. Default 10.
customer_idintegerNoOnly orders of this customer id.
shop_customer_idintegerNoOnline store: only the orders this customer placed (My orders).
websitebooleanNotrue / 1 = website (online store) orders only; false / 0 = no filter.
salesmanstringNoMax length 255.
supplier_idintegerNoSupplier id (purchase side; not used on sales orders).
date_fromdateNoISO date.
date_todateNoISO date.
last_updatestringNo1 or an ISO date.
minestringNoOne of: 1.
sortstringNoMax length 32.
orderstringNoOne of: asc | desc.
partystringNoMax length 255.
modestringNoOne of: gross | net.
ledger_groupstringNoMax length 255.
ledger_group_basisstringNoOne of: party.
voucher_typestringNoMax length 255.
tallystringNoOne of: in | pending.

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/sales-invoices" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": "5183",
        "type": "sales",
        "invoice_no": "WEB/26-27/0002",
        "tally_voucher_no": null,
        "invoice_date": "2026-10-27T18:30:00.000Z",
        "due_date": null,
        "customer_id": "3382",
        "customer": "Webiste",
        "supplier_id": null,
        "supplier": null,
        "supplier_bill_no": null,
        "location_id": null,
        "location": null,
        "status": "failed",
        "approval_status": "approved",
        "rejected_reason": null,
        "payment_mode": "cash",
        "subtotal": "439.50",
        "discount": "43.95",
        "taxable": "376.71",
        "cgst": "9.42",
        "sgst": "9.42",
        "igst": "0.00",
        "tax_amount": "18.84",
        "round_off": "0.45",
        "total": "496.00",
        "notes": "Website order by Ram Achary (8144687558)\nShip to: Ram Achary, 8144687558, Churihari pada whirlpool service center, Bhawanipatna kalahandi, Bhawanipatna, Bhawanipatna kalahandi WHIRLPOOL SERVICE CENTRE, Bhawanipatna, Odisha 766001\nCoupon SDS10: − ₹43.95 (before GST).",
        "voucher_details": {
          "shop": {
            "name": "Ram Achary",
            "email": "saisampath2515@gmail.com",
            "mobile": "8144687558",
            "ship_to": {
              "area": "Bhawanipatna kalahandi WHIRLPOOL SERVICE CENTRE",
              "city": "Bhawanipatna",
              "name": "Ram Achary",
              "house": "Churihari pada whirlpool service center",
              "state": "Odisha",
              "mobile": "8144687558",
              "street": "Bhawanipatna",
              "address": "Churihari pada whirlpool service center, Bhawanipatna kalahandi, Bhawanipatna, Bhawanipatna kalahandi WHIRLPOOL SERVICE CENTRE",
              "pincode": "766001",
              "building": "Bhawanipatna kalahandi"
            },
            "tracking": {
              "at": "2026-10-29T08:18:19.669Z",
              "by": 3,
              "awb": "CX467634139IN",
              "url": "https://www.indiapost.gov.in/#trackandtrace",
              "note": null,
              "status": "delivered",
              "courier": "INDIA POST",
              "history": [
                {
                  "at": "2026-10-28T08:29:02.456Z",
                  "by": 3,
                  "status": "packed"
                },
                {
                  "at": "2026-10-28T14:33:19.311Z",
                  "by": 3,
                  "status": "shipped"
                },
                {
                  "at": "2026-10-29T08:18:19.669Z",
                  "by": 3,
                  "status": "delivered"
                }
              ]
            },
            "placed_at": "2026-10-28T07:53:37.311Z",
            "customer_id": 3400,
            "payment_mode": "cash"
          },
          "coupon": {
            "code": "SDS10",
            "type": "percent",
            "lines": [
              {
                "share": 43.95,
                "product_id": 4047
              }
            ],
            "title": null,
            "value": 10,
            "amount": 43.95,
            "max_discount": null
          },
          "pricing": {
            "lines": [
              {
                "rate": 439.5,
                "list_rate": 439.5,
                "product_id": 4047,
                "tier_group": null,
                "sales_price": 439.5,
                "addition_pct": 0,
                "discount_pct": 0,
                "mode_extra_pct": 0
              }
            ],
            "payment_mode": "cash",
            "mode_extra_pct": 0
          },
          "delivery": {
            "rule": "variable",
            "amount": 100,
            "pieces": 1,
            "reason": "Delivery charge (orders ₹0 – ₹2,000)",
            "ledger_name": "FREIGHT CHARGES (GST)",
            "order_value": 376.71
          }
        },
        "in_tally": false,
        "created_at": "2026-10-28T07:53:37.504Z",
        "updated_at": "2026-10-29T08:19:44.205Z",
        "shop_stage": "delivered",
        "cancel_reason": null,
        "tracking": {
          "status": "delivered",
          "courier": "INDIA POST",
          "awb": "CX467634139IN",
          "url": "https://www.indiapost.gov.in/#trackandtrace",
          "note": null,
          "at": "2026-10-29T08:18:19.669Z",
          "history": [
            {
              "status": "packed",
              "at": "2026-10-28T08:29:02.456Z"
            },
            {
              "status": "shipped",
              "at": "2026-10-28T14:33:19.311Z"
            },
            {
              "status": "delivered",
              "at": "2026-10-29T08:18:19.669Z"
            }
          ]
        },
        "pdf_url": "/api/v1/ext/sales-invoices/5183/pdf"
      },
      {
        "id": "5109",
        "type": "sales",
        "invoice_no": "INV-2026-4339",
        "tally_voucher_no": null,
        "invoice_date": "2026-10-25T18:30:00.000Z",
        "due_date": null,
        "customer_id": "3382",
        "customer": "Webiste",
        "supplier_id": null,
        "supplier": null,
        "supplier_bill_no": null,
        "location_id": null,
        "location": null,
        "status": "failed",
        "approval_status": "approved",
        "rejected_reason": null,
        "payment_mode": "online",
        "subtotal": "249.00",
        "discount": "24.90",
        "taxable": "213.43",
        "cgst": "5.33",
        "sgst": "5.33",
        "igst": "0.00",
        "tax_amount": "10.67",
        "round_off": "-0.10",
        "total": "224.00",
        "notes": "Website order by ybj (9427509237)\nShip to: YOGESH, 9427509237, 3 ASHWAMEGH WARE HOUSE, AHMEDABAD, Gujarat 382210\nCoupon SDS10: − ₹24.90 (before GST).",
        "voucher_details": {
          "shop": {
            "name": "ybj",
            "email": "mryogi261176@gmail.com",
            "mobile": "9427509237",
            "ship_to": {
              "city": "AHMEDABAD",
              "name": "YOGESH",
              "state": "Gujarat",
              "mobile": "9427509237",
              "address": "3 ASHWAMEGH WARE HOUSE",
              "pincode": "382210"
            },
            "tracking": {
              "at": "2026-10-26T06:46:32.261Z",
              "by": 3,
              "awb": "CX077306888IN",
              "url": "https://www.indiapost.gov.in/#trackandtrace",
              "note": null,
              "status": "delivered",
              "courier": "INDIA POST",
              "history": [
                {
                  "at": "2026-10-26T06:41:24.075Z",
                  "by": 3,
                  "status": "packed"
                },
                {
                  "at": "2026-10-26T06:45:12.121Z",
                  "by": 3,
                  "status": "shipped"
                },
                {
                  "at": "2026-10-26T06:46:32.261Z",
                  "by": 3,
                  "status": "delivered"
                }
              ]
            },
            "placed_at": "2026-10-26T06:36:43.400Z",
            "customer_id": 3397,
            "payment_mode": "online"
          },
          "coupon": {
            "code": "SDS10",
            "type": "percent",
            "lines": [
              {
                "share": 24.9,
                "product_id": 2326
              }
            ],
            "title": null,
            "value": 10,
            "amount": 24.9,
            "max_discount": null
          },
          "pricing": {
            "lines": [
              {
                "rate": 249,
                "list_rate": 249,
                "product_id": 2326,
                "tier_group": null,
                "sales_price": 249,
                "addition_pct": 0,
                "discount_pct": 0,
                "mode_extra_pct": 0
              }
            ],
            "payment_mode": "online",
            "mode_extra_pct": 0
          },
          "delivery": {
            "rule": "variable",
            "amount": 0,
            "pieces": 1,
            "reason": "Free delivery",
            "ledger_name": "Delivery Charges",
            "order_value": 213.43
          }
        },
        "in_tally": false,
        "created_at": "2026-10-26T06:36:44.535Z",
        "updated_at": "2026-10-29T06:19:31.006Z",
        "shop_stage": "delivered",
        "cancel_reason": null,
        "tracking": {
          "status": "delivered",
          "courier": "INDIA POST",
          "awb": "CX077306888IN",
          "url": "https://www.indiapost.gov.in/#trackandtrace",
          "note": null,
          "at": "2026-10-26T06:46:32.261Z",
          "history": [
            {
              "status": "packed",
              "at": "2026-10-26T06:41:24.075Z"
            },
            {
              "status": "shipped",
              "at": "2026-10-26T06:45:12.121Z"
            },
            {
              "status": "delivered",
              "at": "2026-10-26T06:46:32.261Z"
            }
          ]
        },
        "pdf_url": "/api/v1/ext/sales-invoices/5109/pdf"
      }
    ],
    "meta": {
      "total": 2,
      "page": 1,
      "per_page": 2,
      "grand_total": 720,
      "pending_total": 720,
      "in_tally_total": 0
    }
  }
}
Response fields (111)
FieldTypeMeaning
data[].idstringRecord id — use it in /{id} calls.
data[].typestring
data[].invoice_nostringInvoice / voucher number.
data[].tally_voucher_nonull
data[].invoice_datestringVoucher date (YYYY-MM-DD).
data[].due_datenullPayment due date.
data[].customer_idstringCustomer id.
data[].customerstring
data[].supplier_idnullSupplier id.
data[].suppliernull
data[].supplier_bill_nonull
data[].location_idnullLocation id.
data[].locationnullLocation name.
data[].statusstringActive | Inactive (records) or the voucher status.
data[].approval_statusstringdraft | pending | approved | rejected.
data[].rejected_reasonnull
data[].payment_modestring
data[].subtotalstringTotal before discount and tax.
data[].discountstringTotal discount.
data[].taxablestringTaxable value.
data[].cgststring
data[].sgststring
data[].igststring
data[].tax_amountstring
data[].round_offstringRound-off.
data[].totalstringGrand total.
data[].notesstring
data[].voucher_detailsobject
data[].voucher_details.shopobject
data[].voucher_details.shop.namestringName, exactly as in Tally / Teloora.
data[].voucher_details.shop.emailstringEmail.
data[].voucher_details.shop.mobilestring10-digit mobile.
data[].voucher_details.shop.ship_toobject
data[].voucher_details.shop.ship_to.areastring
data[].voucher_details.shop.ship_to.citystringCity.
data[].voucher_details.shop.ship_to.namestringName, exactly as in Tally / Teloora.
data[].voucher_details.shop.ship_to.housestring
data[].voucher_details.shop.ship_to.statestringState (name).
data[].voucher_details.shop.ship_to.mobilestring10-digit mobile.
data[].voucher_details.shop.ship_to.streetstring
data[].voucher_details.shop.ship_to.addressstring
data[].voucher_details.shop.ship_to.pincodestringPIN code.
data[].voucher_details.shop.ship_to.buildingstring
data[].voucher_details.shop.trackingobject
data[].voucher_details.shop.tracking.atstring
data[].voucher_details.shop.tracking.bynumber
data[].voucher_details.shop.tracking.awbstring
data[].voucher_details.shop.tracking.urlstring
data[].voucher_details.shop.tracking.notenull
data[].voucher_details.shop.tracking.statusstringActive | Inactive (records) or the voucher status.
data[].voucher_details.shop.tracking.courierstring
data[].voucher_details.shop.tracking.historyarray
data[].voucher_details.shop.tracking.history[].atstring
data[].voucher_details.shop.tracking.history[].bynumber
data[].voucher_details.shop.tracking.history[].statusstringActive | Inactive (records) or the voucher status.
data[].voucher_details.shop.placed_atstring
data[].voucher_details.shop.customer_idnumberCustomer id.
data[].voucher_details.shop.payment_modestring
data[].voucher_details.couponobject
data[].voucher_details.coupon.codestring
data[].voucher_details.coupon.typestring
data[].voucher_details.coupon.linesarray
data[].voucher_details.coupon.lines[].sharenumber
data[].voucher_details.coupon.lines[].product_idnumber
data[].voucher_details.coupon.titlenull
data[].voucher_details.coupon.valuenumber
data[].voucher_details.coupon.amountnumber
data[].voucher_details.coupon.max_discountnull
data[].voucher_details.pricingobject
data[].voucher_details.pricing.linesarray
data[].voucher_details.pricing.lines[].ratenumberYOUR 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.
data[].voucher_details.pricing.lines[].list_ratenumberThe price before the category discount: MRP (or sales price when no MRP) + the category addition %. Show it struck through when rate is lower.
data[].voucher_details.pricing.lines[].product_idnumber
data[].voucher_details.pricing.lines[].tier_groupnull
data[].voucher_details.pricing.lines[].sales_pricenumberList selling price.
data[].voucher_details.pricing.lines[].addition_pctnumber
data[].voucher_details.pricing.lines[].discount_pctnumberThe category discount % taken off list_rate (0 = none).
data[].voucher_details.pricing.lines[].mode_extra_pctnumberRetired — always 0 on new orders (older orders may show the % they were priced with).
data[].voucher_details.pricing.payment_modestring
data[].voucher_details.pricing.mode_extra_pctnumberRetired — always 0 on new orders (older orders may show the % they were priced with).
data[].voucher_details.deliveryobject
data[].voucher_details.delivery.rulestring
data[].voucher_details.delivery.amountnumber
data[].voucher_details.delivery.piecesnumber
data[].voucher_details.delivery.reasonstring
data[].voucher_details.delivery.ledger_namestring
data[].voucher_details.delivery.order_valuenumber
data[].itemsundefinedLines: product, quantity, rate, GST, amount; batches = per-size split.
data[].in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
data[].created_atstringWhen it was created (ISO, UTC).
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
data[].shop_stagestring
data[].cancel_reasonnull
data[].trackingobject
data[].tracking.statusstringActive | Inactive (records) or the voucher status.
data[].tracking.courierstring
data[].tracking.awbstring
data[].tracking.urlstring
data[].tracking.notenull
data[].tracking.atstring
data[].tracking.historyarray
data[].tracking.history[].statusstringActive | Inactive (records) or the voucher status.
data[].tracking.history[].atstring
data[].pdf_urlstring
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.
meta.grand_totalnumber
meta.pending_totalnumber
meta.in_tally_totalnumber
voucher_details.cod_advanceobjectCOD advance paid online at checkout: { advance, balance, type, value, total, gateway, payment_id, verified, paid_at }. Absent = no advance.

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
422 A field is missing or invalid. msg says which one.
429 Too many requests. Wait retry_after seconds (also in the Retry-After header).

Order details

GEThttps://tallysaasapi.teloora.com/api/v1/ext/sales-invoices/{id}

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/sales-invoices/{id}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "id": "4439",
    "type": "sales",
    "invoice_no": "INV-2026-3743",
    "tally_voucher_no": null,
    "invoice_date": "2026-10-22T18:30:00.000Z",
    "due_date": null,
    "customer_id": "3347",
    "customer": "QA Website",
    "supplier_id": null,
    "supplier": null,
    "supplier_bill_no": null,
    "location_id": null,
    "location": null,
    "status": "pending_tally",
    "approval_status": "approved",
    "rejected_reason": null,
    "payment_mode": "cash",
    "online_payment": null,
    "subtotal": "589.00",
    "discount": "0.00",
    "taxable": "555.66",
    "cgst": "16.67",
    "sgst": "16.67",
    "igst": "0.00",
    "tax_amount": "33.34",
    "round_off": "0.00",
    "total": "589.00",
    "notes": null,
    "voucher_details": {
      "pricing": {
        "lines": [
          {
            "rate": 589,
            "list_rate": 589,
            "product_id": 31,
            "tier_group": null,
            "sales_price": 589,
            "addition_pct": 0,
            "discount_pct": 0,
            "mode_extra_pct": 0
          }
        ],
        "payment_mode": "cash",
        "mode_extra_pct": 0
      },
      "cod_advance": {
        "type": "percent",
        "value": 20,
        "min_order": 1000,
        "total": 12441,
        "advance": 2488.2,
        "balance": 9952.8,
        "gateway": "razorpay",
        "payment_id": "pay_XXXXXXXXXXXXXX",
        "verified": true,
        "paid_at": "2026-11-18T06:10:00.000Z"
      }
    },
    "items": [
      {
        "product_id": "31",
        "product_name": "(ACT) A-1260  WHT 2X5",
        "description": "(ACT) A-1260  WHT 2X5",
        "hsn": "64059000",
        "quantity": "1.00",
        "unit": "pair",
        "rate": "589.00",
        "discount_pct": "0.00",
        "taxable": "555.66",
        "gst_rate": "6.00",
        "gst_amount": "33.34",
        "amount": "589.00",
        "tax_inclusive": true,
        "godown": null,
        "batches": []
      }
    ],
    "in_tally": false,
    "created_at": "2026-10-23T06:30:14.498Z",
    "updated_at": "2026-10-23T06:30:14.498Z",
    "pdf_url": "/api/v1/ext/sales-invoices/4439/pdf",
    "price_breakdown": {
      "item_total": 589,
      "addition": 0,
      "category_discount": 0,
      "coupon": null,
      "payment_extra": null,
      "taxable": 555.66,
      "gst": 33.34,
      "delivery": null,
      "round_off": 0,
      "total": 589
    },
    "narration": "Delivered at godown 2",
    "einvoice": {
      "irn": "6a7a1b…af119b",
      "ack_no": "162626723722903",
      "ack_date": "2026-11-23",
      "signed_qr": "eyJhbGciOi…",
      "status": "",
      "source": "tally"
    },
    "eway_bill": {
      "ewb_no": "682223827389",
      "ewb_date": "2026-11-23",
      "valid_until": "2026-11-24",
      "valid_until_text": "24-Nov-26 11:59 PM",
      "mode": "1 - Road",
      "distance_km": 28,
      "vehicle_no": "GJ01TE8604",
      "transporter_name": "",
      "source": "tally"
    }
  }
}
Response fields (73)
FieldTypeMeaning
idstringRecord id — use it in /{id} calls.
typestring
invoice_nostringInvoice / voucher number.
tally_voucher_nonull
invoice_datestringVoucher date (YYYY-MM-DD).
due_datenullPayment due date.
customer_idstringCustomer id.
customerstring
supplier_idnullSupplier id.
suppliernull
supplier_bill_nonull
location_idnullLocation id.
locationnullLocation name.
statusstringActive | Inactive (records) or the voucher status.
approval_statusstringdraft | pending | approved | rejected.
rejected_reasonnull
payment_modestring
online_paymentnull
subtotalstringTotal before discount and tax.
discountstringTotal discount.
taxablestringTaxable value.
cgststring
sgststring
igststring
tax_amountstring
round_offstringRound-off.
totalstringGrand total.
notesnull
voucher_detailsobject
voucher_details.pricingobject
voucher_details.pricing.linesarray
voucher_details.pricing.lines[].ratenumberYOUR 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.
voucher_details.pricing.lines[].list_ratenumberThe price before the category discount: MRP (or sales price when no MRP) + the category addition %. Show it struck through when rate is lower.
voucher_details.pricing.lines[].product_idnumber
voucher_details.pricing.lines[].tier_groupnull
voucher_details.pricing.lines[].sales_pricenumberList selling price.
voucher_details.pricing.lines[].addition_pctnumber
voucher_details.pricing.lines[].discount_pctnumberThe category discount % taken off list_rate (0 = none).
voucher_details.pricing.lines[].mode_extra_pctnumberRetired — always 0 on new orders (older orders may show the % they were priced with).
voucher_details.pricing.payment_modestring
voucher_details.pricing.mode_extra_pctnumberRetired — always 0 on new orders (older orders may show the % they were priced with).
itemsarrayLines: product, quantity, rate, GST, amount; batches = per-size split.
items[].product_idstring
items[].product_namestring
items[].descriptionstringFree text.
items[].hsnstring
items[].quantitystring
items[].unitstringUnit of measure (Nos, Pair, Kgs …).
items[].ratestringYOUR 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.
items[].discount_pctstringThe category discount % taken off list_rate (0 = none).
items[].taxablestringTaxable value.
items[].gst_ratestringGST % (string, 2 decimals).
items[].gst_amountstring
items[].amountstring
items[].tax_inclusiveboolean
items[].godownnull
items[].batchesarrayPer-size split of a line: [{batch, qty, godown, rate}].
in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.
pdf_urlstring
price_breakdownobject
price_breakdown.item_totalnumber
price_breakdown.additionnumber
price_breakdown.category_discountnumber
price_breakdown.couponnull
price_breakdown.payment_extranull
price_breakdown.taxablenumberTaxable value.
price_breakdown.gstnumber
price_breakdown.deliverynull
price_breakdown.round_offnumberRound-off.
price_breakdown.totalnumberGrand total.
voucher_details.cod_advanceobjectCOD advance paid online at checkout: { advance, balance, type, value, total, gateway, payment_id, verified, paid_at }. Absent = no advance.

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
404
{
  "status": 404,
  "show": true,
  "msg": "Invoice not found."
}

Order invoice PDF

GEThttps://tallysaasapi.teloora.com/api/v1/ext/sales-invoices/{id}/pdf

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/sales-invoices/{id}/pdf" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "note": "application/pdf file"
}

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
404 The record does not exist in YOUR company (records of other companies are never visible).

List customers

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers

Customers (parties) of your company — e.g. to match a website shopper to a Tally party.

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
searchstringNoName / mobile / email / GSTIN. Max length 191.
statusstringNoActive | Inactive | Blocked. One of: Active | Inactive | Blocked.
pageintegerNoDefault 1. Min 1. Default 1.
per_pageintegerNoDefault 20, max 100. Min 1. Max 1000. Default 20.
sortstringNoMax length 40.
orderstringNoOne of: asc | desc.
last_updatestringNo1 or an ISO date.

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": "3403",
        "name": "rajesh jain",
        "mobile": "9712983035",
        "alternate_mobile": null,
        "email": "rajeshahudr1@gmail.com",
        "gst_number": null,
        "pan_number": null,
        "gst_registration_type": null,
        "billing_address": null,
        "shipping_address": null,
        "city": null,
        "state": null,
        "pincode": null,
        "country": "India",
        "location_id": "1",
        "location": "Main Location",
        "customer_group_id": "82",
        "customer_group": "Website",
        "opening_balance": "0.00",
        "opening_balance_type": "Cr",
        "credit_limit": "0.00",
        "credit_days": null,
        "closing_balance": "0.00",
        "last_sold_date": null,
        "status": "Active",
        "custom_fields": {},
        "in_tally": false,
        "created_at": "2026-10-29T09:15:29.361Z",
        "updated_at": "2026-10-29T09:15:29.361Z"
      },
      {
        "id": "3402",
        "name": "ZZ TEST 10290650 AUTO CUSTOMER",
        "mobile": "9000000003",
        "alternate_mobile": null,
        "email": null,
        "gst_number": null,
        "pan_number": null,
        "gst_registration_type": null,
        "billing_address": null,
        "shipping_address": null,
        "city": null,
        "state": null,
        "pincode": null,
        "country": "India",
        "location_id": "1",
        "location": "Main Location",
        "customer_group_id": null,
        "customer_group": null,
        "opening_balance": "0.00",
        "opening_balance_type": "Cr",
        "credit_limit": "0.00",
        "credit_days": null,
        "closing_balance": "0.00",
        "last_sold_date": "2023-02-01T18:30:00.000Z",
        "status": "Active",
        "custom_fields": {},
        "in_tally": true,
        "created_at": "2026-10-29T08:20:20.307Z",
        "updated_at": "2026-10-29T08:21:18.297Z"
      }
    ],
    "meta": {
      "total": 411,
      "page": 1,
      "per_page": 2
    }
  }
}
Response fields (32)
FieldTypeMeaning
data[].idstringRecord id — use it in /{id} calls.
data[].namestringName, exactly as in Tally / Teloora.
data[].mobilestring10-digit mobile.
data[].alternate_mobilenull
data[].emailstringEmail.
data[].gst_numbernullGSTIN (15 chars).
data[].pan_numbernullPAN (10 chars).
data[].gst_registration_typenull
data[].billing_addressnullBilling address.
data[].shipping_addressnullShipping address.
data[].citynullCity.
data[].statenullState (name).
data[].pincodenullPIN code.
data[].countrystringCountry.
data[].location_idstringLocation id.
data[].locationstringLocation name.
data[].customer_group_idstringCustomer group id.
data[].customer_groupstringCustomer group.
data[].opening_balancestringOpening balance.
data[].opening_balance_typestringDr | Cr.
data[].credit_limitstringCredit limit.
data[].credit_daysnullCredit period in days (null = no terms).
data[].closing_balancestringBalance now.
data[].last_sold_datenull
data[].statusstringActive | Inactive (records) or the voucher status.
data[].custom_fieldsobjectYour own extra fields (object).
data[].in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
data[].created_atstringWhen it was created (ISO, UTC).
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
429 Too many requests. Wait retry_after seconds (also in the Retry-After header).

Customer details

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}

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).

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "id": "3403",
    "name": "rajesh jain",
    "mobile": "9712983035",
    "alternate_mobile": null,
    "email": "rajeshahudr1@gmail.com",
    "gst_number": null,
    "pan_number": null,
    "gst_registration_type": null,
    "billing_address": null,
    "shipping_address": null,
    "city": null,
    "state": null,
    "pincode": null,
    "country": "India",
    "location_id": "1",
    "location": "Main Location",
    "customer_group_id": "82",
    "customer_group": "Website",
    "opening_balance": "0.00",
    "opening_balance_type": "Cr",
    "credit_limit": "0.00",
    "credit_days": null,
    "closing_balance": "0.00",
    "last_sold_date": null,
    "status": "Active",
    "custom_fields": {},
    "in_tally": false,
    "created_at": "2026-10-29T09:15:29.361Z",
    "updated_at": "2026-10-29T09:15:29.361Z"
  }
}
Response fields (29)
FieldTypeMeaning
idstringRecord id — use it in /{id} calls.
namestringName, exactly as in Tally / Teloora.
mobilestring10-digit mobile.
alternate_mobilenull
emailstringEmail.
gst_numbernullGSTIN (15 chars).
pan_numbernullPAN (10 chars).
gst_registration_typenull
billing_addressnullBilling address.
shipping_addressnullShipping address.
citynullCity.
statenullState (name).
pincodenullPIN code.
countrystringCountry.
location_idstringLocation id.
locationstringLocation name.
customer_group_idstringCustomer group id.
customer_groupstringCustomer group.
opening_balancestringOpening balance.
opening_balance_typestringDr | Cr.
credit_limitstringCredit limit.
credit_daysnullCredit period in days (null = no terms).
closing_balancestringBalance now.
last_sold_datenull
statusstringActive | Inactive (records) or the voucher status.
custom_fieldsobjectYour own extra fields (object).
in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
404
{
  "status": 404,
  "show": true,
  "msg": "Customer not found."
}

Create customer

POSThttps://tallysaasapi.teloora.com/api/v1/ext/customers

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
namestringYesMax 191 chars. Min length 1. Max length 191.
mobilestringNo10-digit Indian mobile. Max length 30.
alternate_mobilestringNoMax length 30.
emailstringNoValid email. Max length 191. A valid email.
gst_numberstringNo15-char GSTIN.
pan_numberstringNo10-char PAN.
location_idintegerNoFrom GET /ext/locations.
sales_person_idintegerNoSales person id (optional; null = none).
customer_group_idintegerNoCustomer group id (optional; null = none).
opening_balancenumberNoMin 0. Max 9999999999. Up to 2 decimals. Default 0.
credit_limitnumberNoMin 0. Max 9999999999. Up to 2 decimals. Default 0.
credit_daysintegerNoMin 0. Max 3650.
statusstringNoOne of: Active | Inactive | Blocked. Default "Active".
billing_addressstringNoMax 2000 chars. Max length 2000.
shipping_addressstringNoMax 2000 chars. Max length 2000.
is_tally_ledgerbooleanNoDefault true.
ledger_groupstringNoMax length 191.
opening_balance_typestringNoOne of: Cr | Dr. Default "Cr".
countrystringNoMax length 64.
statestringNoIndian state name. Max length 100.
citystringNoMax length 120.
pincodestringNo6 digits.
gst_registration_typestringNoOne 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.
notesstringNoMax length 2000.
internal_remarksstringNoMax length 2000.
custom_fieldsobjectNoYour own extra fields: an object of key → value (optional).
is_favouritebooleanNoMark as favourite (true / false). Default false.
referral_codestringNoA 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.

Request example

{
  "name": "Sharma Traders",
  "mobile": "9876543210",
  "gst_number": "24ABQFS9803E1ZX",
  "pan_number": "ABQFS9803E",
  "state": "Gujarat",
  "city": "Ahmedabad"
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/customers" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"name":"Sharma Traders","mobile":"9876543210","gst_number":"24ABQFS9803E1ZX","pan_number":"ABQFS9803E","state":"Gujarat","city":"Ahmedabad"}'

Success response

{
  "status": 422,
  "show": true,
  "msg": "Mobile 9876543210 is already used by customer \"Test Customer\".",
  "field": "mobile"
}

Cases

Refused: PAN does not match the GSTIN
Request
{
  "name": "Sharma Traders",
  "mobile": "9876543210",
  "gst_number": "24ABQFS9803E1ZX",
  "pan_number": "ABCDE1234F",
  "state": "Gujarat",
  "city": "Ahmedabad"
}
Response
{
  "status": 422,
  "show": true,
  "msg": "PAN ABCDE1234F does not match the GSTIN — the GSTIN 24ABQFS9803E1ZX carries PAN ABQFS9803E."
}
Refused: state does not match the GSTIN

The first two digits of a GSTIN are the state code.

Request
{
  "name": "Sharma Traders",
  "mobile": "9876543210",
  "gst_number": "24ABQFS9803E1ZX",
  "pan_number": "ABQFS9803E",
  "state": "Maharashtra",
  "city": "Ahmedabad"
}
Response
{
  "status": 422,
  "show": true,
  "msg": "State Maharashtra (code 27) does not match the GSTIN, which is registered in state code 24."
}

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
422
{
  "status": 422,
  "show": true,
  "msg": "Customer name is required."
}
422
{
  "status": 422,
  "show": true,
  "msg": "PAN ABCDE1234F does not match the GSTIN — the GSTIN 24ABQFS9803E1ZX carries PAN ABQFS9803E."
}
422
{
  "status": 422,
  "show": true,
  "msg": "State Maharashtra (code 27) does not match the GSTIN, which is registered in state code 24."
}
422
{
  "status": 422,
  "show": true,
  "msg": "GST registration type \"Regular\" needs a GSTIN."
}

Update customer

PUThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
namestringNoMin length 1. Max length 191.
mobilestringNoMax length 30.
alternate_mobilestringNoMax length 30.
emailstringNoMax length 191. A valid email.
gst_numberstringNoMax length 30.
pan_numberstringNoMax length 30.
location_idintegerNoLocation id from GET /ext/locations. Optional; default = the company's main location.
sales_person_idintegerNoSales person id (optional; null = none).
customer_group_idintegerNoCustomer group id (optional; null = none).
opening_balancenumberNoMin -9999999999. Max 9999999999. Up to 2 decimals.
credit_limitnumberNoMin 0. Max 9999999999. Up to 2 decimals.
credit_daysintegerNoMin 0. Max 3650.
statusstringNoOne of: Active | Inactive | Blocked.
billing_addressstringNoMax length 2000.
shipping_addressstringNoMax length 2000.
is_tally_ledgerbooleanNotrue = push this customer to Tally as a ledger; false = keep it cloud-only.
ledger_groupstringNoMax length 191.
opening_balance_typestringNoOne of: Cr | Dr.
countrystringNoMax length 64.
statestringNoMax length 100.
citystringNoMax length 120.
pincodestringNoMax length 12.
gst_registration_typestringNoOne 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.
notesstringNoMax length 2000.
internal_remarksstringNoMax length 2000.
custom_fieldsobjectNoYour own extra fields: an object of key → value (optional).
is_favouritebooleanNoMark as favourite (true / false). Default false.

Request example

{
  "city": "Surat"
}

Code sample

curl -X PUT "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"city":"Surat"}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Customer updated.",
  "data": {
    "id": "3232",
    "name": "TANVI FOOTWEAR (SANAND)",
    "mobile": "9898341043",
    "alternate_mobile": null,
    "email": null,
    "gst_number": null,
    "pan_number": null,
    "gst_registration_type": null,
    "billing_address": "NEAR CHAUHAN HOSPITAL\nAHMEDABAD VIRAMGAM ROAD\nSANAND",
    "shipping_address": null,
    "city": "Surat",
    "state": null,
    "pincode": null,
    "country": "India",
    "location_id": "1",
    "customer_group_id": "26",
    "opening_balance": "0.00",
    "opening_balance_type": "Cr",
    "credit_limit": "50000.00",
    "credit_days": null,
    "status": "Active",
    "custom_fields": {},
    "in_tally": true,
    "created_at": "2026-08-31T08:14:38.486Z",
    "updated_at": "2026-10-29T09:30:57.778Z"
  }
}
Response fields (25)
FieldTypeMeaning
idstringRecord id — use it in /{id} calls.
namestringName, exactly as in Tally / Teloora.
mobilestring10-digit mobile.
alternate_mobilenull
emailnullEmail.
gst_numbernullGSTIN (15 chars).
pan_numbernullPAN (10 chars).
gst_registration_typenull
billing_addressstringBilling address.
shipping_addressnullShipping address.
citystringCity.
statenullState (name).
pincodenullPIN code.
countrystringCountry.
location_idstringLocation id.
customer_group_idstringCustomer group id.
opening_balancestringOpening balance.
opening_balance_typestringDr | Cr.
credit_limitstringCredit limit.
credit_daysnullCredit period in days (null = no terms).
statusstringActive | Inactive (records) or the voucher status.
custom_fieldsobjectYour own extra fields (object).
in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
404
{
  "status": 404,
  "show": true,
  "msg": "Customer not found."
}
422 A field is missing or invalid. msg says which one.

List locations

GEThttps://tallysaasapi.teloora.com/api/v1/ext/locations

Your company's locations / branches — values for a customer's location_id.

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
searchstringNoMax length 150.
statusstringNoOne of: Active | Inactive | Blocked.
pageintegerNoMin 1. Default 1.
per_pageintegerNoDefault 20, max 100. Min 1. Max 1000. Default 20.
sortstringNoMax length 40.
orderstringNoOne of: asc | desc.
last_updatestringNo1 or an ISO date — only rows changed since then.

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/locations" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "data": [
      {
        "id": "5",
        "name": "ZZ TEST 10290650 GODOWN",
        "code": null,
        "city": null,
        "state": null,
        "pincode": null,
        "mobile": null,
        "status": "Active",
        "updated_at": "2026-10-29T06:53:50.921Z"
      },
      {
        "id": "4",
        "name": "udaupur",
        "code": null,
        "city": null,
        "state": null,
        "pincode": null,
        "mobile": null,
        "status": "Active",
        "updated_at": "2026-10-29T09:11:45.728Z"
      }
    ],
    "meta": {
      "total": 4,
      "page": 1,
      "per_page": 2
    }
  }
}
Response fields (12)
FieldTypeMeaning
data[].idstringRecord id — use it in /{id} calls.
data[].namestringName, exactly as in Tally / Teloora.
data[].codenull
data[].citynullCity.
data[].statenullState (name).
data[].pincodenullPIN code.
data[].mobilenull10-digit mobile.
data[].statusstringActive | Inactive (records) or the voucher status.
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.

Customer sign-in (online store)

POSThttps://tallysaasapi.teloora.com/api/v1/ext/customers/login

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}.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
loginstringYesMobile number or e-mail.
passwordstringYesThe customer's store password.

Request example

{
  "login": "9000022233"
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/customers/login" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"login":"9000022233"}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Signed in.",
  "data": {
    "id": 3373,
    "name": "Asha Patel",
    "mobile": "9000022233",
    "email": "asha@example.com",
    "billing_address": null,
    "shipping_address": "12, Shanti Nagar",
    "city": "Ahmedabad",
    "state": "Gujarat",
    "pincode": "382210",
    "in_tally": false
  },
  "session": {
    "token": "eyJhbGciOi...",
    "customer": {
      "id": 3373,
      "name": "Asha Patel",
      "mobile": "9000022233",
      "email": "asha@example.com",
      "billing_address": null,
      "shipping_address": "12, Shanti Nagar",
      "city": "Ahmedabad",
      "state": "Gujarat",
      "pincode": "382210",
      "in_tally": false
    },
    "expires_in": "30d"
  }
}
Response fields (10)
FieldTypeMeaning
idnumberRecord id — use it in /{id} calls.
namestringName, exactly as in Tally / Teloora.
mobilestring10-digit mobile.
emailstringEmail.
billing_addressnullBilling address.
shipping_addressstringShipping address.
citystringCity.
statestringState (name).
pincodestringPIN code.
in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.

Forgot password — send code

POSThttps://tallysaasapi.teloora.com/api/v1/ext/customers/forgot-password

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).

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
loginstringYesMobile number or e-mail.

Request example

{
  "login": "9000022233"
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/customers/forgot-password" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"login":"9000022233"}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "We have sent a 6-digit code to ra•••@example.com.",
  "data": null
}

Errors

StatusMeaning / example
503
422 A field is missing or invalid. msg says which one.

Forgot password — set new

POSThttps://tallysaasapi.teloora.com/api/v1/ext/customers/reset-password

Checks the code (5 tries) and sets the new password; the customer is signed in.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
loginstringYesMobile number or e-mail (same as on forgot-password).
codestringYes6 digits.
new_passwordstringYes6–64 characters.

Request example

{
  "login": "9000022233",
  "code": "482913",
  "new_password": "******"
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/customers/reset-password" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"login":"9000022233","code":"482913","new_password":"******"}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Password changed. You are signed in.",
  "data": {
    "id": 3373,
    "name": "Asha Patel",
    "mobile": "9000022233",
    "email": "asha@example.com",
    "billing_address": null,
    "shipping_address": "12, Shanti Nagar",
    "city": "Ahmedabad",
    "state": "Gujarat",
    "pincode": "382210",
    "in_tally": false
  },
  "session": {
    "token": "eyJhbGciOi...",
    "customer": {
      "id": 3373,
      "name": "Asha Patel",
      "mobile": "9000022233",
      "email": "asha@example.com",
      "billing_address": null,
      "shipping_address": "12, Shanti Nagar",
      "city": "Ahmedabad",
      "state": "Gujarat",
      "pincode": "382210",
      "in_tally": false
    },
    "expires_in": "30d"
  }
}
Response fields (10)
FieldTypeMeaning
idnumberRecord id — use it in /{id} calls.
namestringName, exactly as in Tally / Teloora.
mobilestring10-digit mobile.
emailstringEmail.
billing_addressnullBilling address.
shipping_addressstringShipping address.
citystringCity.
statestringState (name).
pincodestringPIN code.
in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).

A customer's saved addresses

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": [
    {
      "id": "a3f9c21b7d04",
      "type": "home",
      "label": "Home",
      "name": "Ramesh Patel",
      "mobile": "9876543210",
      "house": "12",
      "building": "Sunrise Apartment",
      "street": "MG Road",
      "area": "Vijay Nagar",
      "city": "Indore",
      "state": "Madhya Pradesh",
      "pincode": "452010",
      "address": "12, Sunrise Apartment, MG Road, Vijay Nagar",
      "is_default": true,
      "created_at": "2026-11-03T06:00:00.000Z",
      "updated_at": "2026-11-03T06:00:00.000Z"
    }
  ]
}
Response fields (9)
FieldTypeMeaning
idstringAddress key (use it to edit / remove).
typestringhome | work | other.
labelstringHome / Work, or the name given to an Other address.
namestringReceiver's name.
mobilestringReceiver's 10-digit mobile.
house / building / street / areastringThe four parts of the address.
city / state / pincodestringCity, state name, 6-digit PIN code.
addressstringThe four parts joined into one line.
is_defaultbooleantrue on exactly one address — checkout picks it first.

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).

Save a new address

POSThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses

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).

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
typestringNohome (default) | work | other.
labelstringNoOnly for type other, e.g. "Mom's house". Max 30.
namestringYesReceiver's full name. 2-150.
mobilestringYes10-digit Indian mobile (6-9 first).
housestringYesHouse / flat no. Max 60.
buildingstringYesBuilding / society. 2-120.
streetstringYesStreet / road. 2-120.
areastringYesArea / locality. 2-150.
citystringYes2-100.
statestringYesState name. 2-100.
pincodestringYes6 digits, not starting with 0.
is_defaultbooleanNotrue = make this the default (the others stop being default).

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": true,
  "msg": "Address saved.",
  "data": {
    "id": "a3f9c21b7d04",
    "type": "home",
    "label": "Home",
    "name": "Ramesh Patel",
    "mobile": "9876543210",
    "house": "12",
    "building": "Sunrise Apartment",
    "street": "MG Road",
    "area": "Vijay Nagar",
    "city": "Indore",
    "state": "Madhya Pradesh",
    "pincode": "452010",
    "address": "12, Sunrise Apartment, MG Road, Vijay Nagar",
    "is_default": true,
    "created_at": "2026-11-03T06:00:00.000Z",
    "updated_at": "2026-11-03T06:00:00.000Z"
  },
  "addresses": [
    {
      "id": "a3f9c21b7d04",
      "type": "home",
      "label": "Home",
      "name": "Ramesh Patel",
      "mobile": "9876543210",
      "house": "12",
      "building": "Sunrise Apartment",
      "street": "MG Road",
      "area": "Vijay Nagar",
      "city": "Indore",
      "state": "Madhya Pradesh",
      "pincode": "452010",
      "address": "12, Sunrise Apartment, MG Road, Vijay Nagar",
      "is_default": true,
      "created_at": "2026-11-03T06:00:00.000Z",
      "updated_at": "2026-11-03T06:00:00.000Z"
    }
  ]
}
Response fields (9)
FieldTypeMeaning
idstringAddress key (use it to edit / remove).
typestringhome | work | other.
labelstringHome / Work, or the name given to an Other address.
namestringReceiver's name.
mobilestringReceiver's 10-digit mobile.
house / building / street / areastringThe four parts of the address.
city / state / pincodestringCity, state name, 6-digit PIN code.
addressstringThe four parts joined into one line.
is_defaultbooleantrue on exactly one address — checkout picks it first.

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).
409
422 A field is missing or invalid. msg says which one.
422 A field is missing or invalid. msg says which one.

Edit an address / make it the default

PUThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses/{key}

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`.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
typestringNohome (default) | work | other.
labelstringNoOnly for type other, e.g. "Mom's house". Max 30.
namestringYesReceiver's full name. 2-150.
mobilestringYes10-digit Indian mobile (6-9 first).
housestringYesHouse / flat no. Max 60.
buildingstringYesBuilding / society. 2-120.
streetstringYesStreet / road. 2-120.
areastringYesArea / locality. 2-150.
citystringYes2-100.
statestringYesState name. 2-100.
pincodestringYes6 digits, not starting with 0.
is_defaultbooleanNotrue = make this the default (the others stop being default).

Code sample

curl -X PUT "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses/{key}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": true,
  "msg": "Address updated.",
  "data": {
    "id": "a3f9c21b7d04",
    "type": "home",
    "label": "Home",
    "name": "Ramesh Patel",
    "mobile": "9876543210",
    "house": "12",
    "building": "Sunrise Apartment",
    "street": "MG Road",
    "area": "Vijay Nagar",
    "city": "Indore",
    "state": "Madhya Pradesh",
    "pincode": "452010",
    "address": "12, Sunrise Apartment, MG Road, Vijay Nagar",
    "is_default": true,
    "created_at": "2026-11-03T06:00:00.000Z",
    "updated_at": "2026-11-03T06:00:00.000Z"
  },
  "addresses": [
    {
      "id": "a3f9c21b7d04",
      "type": "home",
      "label": "Home",
      "name": "Ramesh Patel",
      "mobile": "9876543210",
      "house": "12",
      "building": "Sunrise Apartment",
      "street": "MG Road",
      "area": "Vijay Nagar",
      "city": "Indore",
      "state": "Madhya Pradesh",
      "pincode": "452010",
      "address": "12, Sunrise Apartment, MG Road, Vijay Nagar",
      "is_default": true,
      "created_at": "2026-11-03T06:00:00.000Z",
      "updated_at": "2026-11-03T06:00:00.000Z"
    }
  ]
}
Response fields (9)
FieldTypeMeaning
idstringAddress key (use it to edit / remove).
typestringhome | work | other.
labelstringHome / Work, or the name given to an Other address.
namestringReceiver's name.
mobilestringReceiver's 10-digit mobile.
house / building / street / areastringThe four parts of the address.
city / state / pincodestringCity, state name, 6-digit PIN code.
addressstringThe four parts joined into one line.
is_defaultbooleantrue on exactly one address — checkout picks it first.

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).
409
422 A field is missing or invalid. msg says which one.
422 A field is missing or invalid. msg says which one.
404 The record does not exist in YOUR company (records of other companies are never visible).

Remove an address

DELETEhttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses/{key}

Removes one saved address. Removing the default makes the newest remaining address the default. Answer carries `addresses` (the list left).

Header: Authorization: Bearer <token>

Code sample

curl -X DELETE "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/addresses/{key}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": true,
  "msg": "Address removed.",
  "data": null,
  "addresses": []
}

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).
404 The record does not exist in YOUR company (records of other companies are never visible).

Create product

POSThttps://tallysaasapi.teloora.com/api/v1/ext/products

Create an item, optionally with its size-wise opening stock. It is pushed to Tally (with the sizes as batches) on the next sync.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
namestringYesMax 191 chars. Min length 1. Max length 191.
skustringNoMax 100 chars. Max length 100.
unitstringNoe.g. Nos, Pair, Kgs (max 30). Max length 30.
hsn_codestringNo4 to 8 digits.
gst_ratenumberNoGST % (a valid slab, e.g. 0, 5, 12, 18, 28). Min 0. Max 100. Up to 2 decimals. Default 0.
purchase_pricenumberNo0 or more, 2 decimals. Min 0. Max 9999999999. Up to 2 decimals. Default 0.
sales_pricenumberNo0 or more, 2 decimals. Min 0. Max 9999999999. Up to 2 decimals. Default 0.
opening_stocknumberNoTotal opening. When opening_batches is sent it must equal their total (or leave it out). Min 0. Max 9999999999. Up to 2 decimals.
opening_batchesarrayNoSize-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).
category_idintegerNoGroup id.
stock_category_idintegerNo
statusstringNoActive | Inactive. One of: Active | Inactive. Default "Active".
is_tally_itembooleanNoDefault true.
descriptionstringNoMax 5000 chars. Max length 5000.
custom_fieldsobjectNoYour own extra fields: an object of key → value (optional).
seo_titlestringNoMax length 70.
seo_descriptionstringNoMax length 170.
seo_keywordsstringNoMax length 255.
gst_inclusivebooleanNo

Request example

{
  "name": "DOCS SAMPLE SHOE 7X10 BLK",
  "unit": "Pair",
  "hsn_code": "6402",
  "gst_rate": 12,
  "sales_price": 1299,
  "opening_batches": [
    {
      "size": "7",
      "qty": 10
    },
    {
      "size": "8",
      "qty": 12
    },
    {
      "size": "9",
      "qty": 8
    }
  ]
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/products" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"name":"DOCS SAMPLE SHOE 7X10 BLK","unit":"Pair","hsn_code":"6402","gst_rate":12,"sales_price":1299,"opening_batches":[{"size":"7","qty":10},{"size":"8","qty":12},{"size":"9","qty":8}]}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Product created.",
  "data": {
    "id": "6230",
    "name": "DOCS SAMPLE SHOE 7X10 BLK",
    "sku": null,
    "unit": "Pair",
    "hsn_code": "6402",
    "gst_rate": "12.00",
    "gst_inclusive": true,
    "sales_price": "1299.00",
    "mrp": null,
    "opening_stock": "30.00",
    "opening_batches": [
      {
        "qty": 10,
        "size": "7"
      },
      {
        "qty": 12,
        "size": "8"
      },
      {
        "qty": 8,
        "size": "9"
      }
    ],
    "status": "Active",
    "description": null,
    "category_id": null,
    "custom_fields": {},
    "seo_title": null,
    "seo_description": null,
    "seo_keywords": null,
    "in_tally": false,
    "created_at": "2026-10-29T09:30:54.484Z",
    "updated_at": "2026-10-29T09:30:54.484Z"
  }
}
Response fields (23)
FieldTypeMeaning
idstringRecord id — use it in /{id} calls.
namestringName, exactly as in Tally / Teloora.
skunullItem code.
unitstringUnit of measure (Nos, Pair, Kgs …).
hsn_codestringHSN / SAC code (null when the item has none).
gst_ratestringGST % (string, 2 decimals).
gst_inclusivebooleantrue = 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.
sales_pricestringList selling price.
mrpnullMaximum retail price (null when not set).
opening_stockstringOpening quantity (a Tally item: Tally's closing).
opening_batchesarraySize-wise opening sent for a Teloora-created item (not yet in Tally): [{size, qty}].
opening_batches[].qtynumber
opening_batches[].sizestring
statusstringActive | Inactive (records) or the voucher status.
descriptionnullFree text.
category_idnullGroup id.
custom_fieldsobjectYour own extra fields (object).
seo_titlenullWebsite SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.
seo_descriptionnullWebsite SEO meta description (max 170; null when not set). Website only — never sent to Tally.
seo_keywordsnullWebsite SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.
in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Cases

Without sizes

A plain item: just its opening quantity.

Request
{
  "name": "DOCS SAMPLE CAP",
  "unit": "Nos",
  "opening_stock": 25
}
Response
{
  "status": 200,
  "show": false,
  "msg": "Product created.",
  "data": {
    "id": "6231",
    "name": "DOCS SAMPLE CAP",
    "sku": null,
    "unit": "Nos",
    "hsn_code": null,
    "gst_rate": "0.00",
    "gst_inclusive": true,
    "sales_price": "0.00",
    "mrp": null,
    "opening_stock": "25.00",
    "opening_batches": [],
    "status": "Active",
    "description": null,
    "category_id": null,
    "custom_fields": {},
    "seo_title": null,
    "seo_description": null,
    "seo_keywords": null,
    "in_tally": false,
    "created_at": "2026-10-29T09:30:55.156Z",
    "updated_at": "2026-10-29T09:30:55.156Z"
  }
}
Refused: a size listed twice
Request
{
  "name": "X",
  "opening_batches": [
    {
      "size": "7",
      "qty": 1
    },
    {
      "size": "7",
      "qty": 2
    }
  ]
}
Response
{
  "status": 422,
  "show": true,
  "msg": "The same size is listed twice — each size can appear only once."
}
Refused: opening does not match its sizes

Send the sizes only (opening_stock is then their total), or make both match.

Request
{
  "name": "X",
  "opening_stock": 99,
  "opening_batches": [
    {
      "size": "7",
      "qty": 1
    }
  ]
}
Response
{
  "status": 422,
  "show": true,
  "msg": "Opening stock (99) must equal the total of the sizes (1). Send the sizes only, or make both match."
}

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
422
{
  "status": 422,
  "show": true,
  "msg": "Product name is required."
}
422
{
  "status": 422,
  "show": true,
  "msg": "The same size is listed twice — each size can appear only once."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Opening quantity of a size cannot be negative."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Opening stock (99) must equal the total of the sizes (30). Send the sizes only, or make both match."
}
422
{
  "status": 422,
  "show": true,
  "msg": "HSN code must be 4 to 8 digits."
}

Update product

PUThttps://tallysaasapi.teloora.com/api/v1/ext/products/{id}

Change any field (send only what changes). Opening stock and sizes can be changed only until the item is in Tally.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
namestringNoMax 191 chars. Min length 1. Max length 191.
skustringNoMax 100 chars. Max length 100.
unitstringNoe.g. Nos, Pair, Kgs (max 30). Max length 30.
hsn_codestringNo4 to 8 digits. Max length 20.
gst_ratenumberNoGST % (a valid slab, e.g. 0, 5, 12, 18, 28). Min 0. Max 100. Up to 2 decimals.
purchase_pricenumberNo0 or more, 2 decimals. Min -9999999999. Max 9999999999. Up to 2 decimals.
sales_pricenumberNo0 or more, 2 decimals. Min -9999999999. Max 9999999999. Up to 2 decimals.
opening_stocknumberNoOnly while the item is NOT yet in Tally. Min -9999999999. Max 9999999999. Up to 2 decimals.
opening_batchesarrayNoSize-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).
category_idintegerNoGroup id.
stock_category_idintegerNo
statusstringNoActive | Inactive. One of: Active | Inactive.
is_tally_itembooleanNotrue = push this item to Tally; false = keep it cloud-only.
descriptionstringNoMax 5000 chars. Max length 5000.
custom_fieldsobjectNoYour own extra fields: an object of key → value (optional).
seo_titlestringNoMax length 70.
seo_descriptionstringNoMax length 170.
seo_keywordsstringNoMax length 255.
gst_inclusivebooleanNo

Request example

{
  "sales_price": 899,
  "opening_batches": [
    {
      "size": "6",
      "qty": 5
    },
    {
      "size": "7",
      "qty": 6
    }
  ]
}

Code sample

curl -X PUT "https://tallysaasapi.teloora.com/api/v1/ext/products/{id}" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"sales_price":899,"opening_batches":[{"size":"6","qty":5},{"size":"7","qty":6}]}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Product updated.",
  "data": {
    "id": "6232",
    "name": "DOCS SAMPLE SANDAL",
    "sku": null,
    "unit": "Pair",
    "hsn_code": null,
    "gst_rate": "0.00",
    "gst_inclusive": true,
    "sales_price": "899.00",
    "mrp": null,
    "opening_stock": "11.00",
    "opening_batches": [
      {
        "qty": 5,
        "size": "6"
      },
      {
        "qty": 6,
        "size": "7"
      }
    ],
    "status": "Active",
    "description": null,
    "category_id": null,
    "custom_fields": {},
    "seo_title": null,
    "seo_description": null,
    "seo_keywords": null,
    "in_tally": false,
    "created_at": "2026-10-29T09:30:55.183Z",
    "updated_at": "2026-10-29T09:30:55.300Z"
  }
}
Response fields (23)
FieldTypeMeaning
idstringRecord id — use it in /{id} calls.
namestringName, exactly as in Tally / Teloora.
skunullItem code.
unitstringUnit of measure (Nos, Pair, Kgs …).
hsn_codenullHSN / SAC code (null when the item has none).
gst_ratestringGST % (string, 2 decimals).
gst_inclusivebooleantrue = 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.
sales_pricestringList selling price.
mrpnullMaximum retail price (null when not set).
opening_stockstringOpening quantity (a Tally item: Tally's closing).
opening_batchesarraySize-wise opening sent for a Teloora-created item (not yet in Tally): [{size, qty}].
opening_batches[].qtynumber
opening_batches[].sizestring
statusstringActive | Inactive (records) or the voucher status.
descriptionnullFree text.
category_idnullGroup id.
custom_fieldsobjectYour own extra fields (object).
seo_titlenullWebsite SEO title for the page (max 70; null = build your own from the name). Website only — never sent to Tally.
seo_descriptionnullWebsite SEO meta description (max 170; null when not set). Website only — never sent to Tally.
seo_keywordsnullWebsite SEO keywords, comma separated (max 255; null when not set). Website only — never sent to Tally.
in_tallybooleantrue when the record is already in Tally (then it is read-only — change it in Tally).
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Cases

Refused: the item is already in Tally

Tally owns the stock and sizes of an item that is in Tally — change them in Tally.

Request
{
  "opening_batches": [
    {
      "size": "7",
      "qty": 1
    }
  ]
}
Response
{
  "status": 422,
  "show": true,
  "msg": "Opening batches comes from Tally — change it in Tally; the next sync brings the change here. Only description, custom_fields, status, seo_title, seo_description, seo_keywords, gst_inclusive can be changed in Teloora.",
  "field": "opening_batches"
}

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
403 The login is not a Website user.
404
{
  "status": 404,
  "show": true,
  "msg": "Product not found."
}
422
{
  "status": 422,
  "show": true,
  "msg": "This item is already in Tally — its size-wise opening stock is kept in Tally. Change it there; the next sync brings it here."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Provide at least one field to update."
}

Offers (live public coupons)

GEThttps://tallysaasapi.teloora.com/api/v1/ext/coupons

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/coupons" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": [
    {
      "code": "DIWALI10",
      "title": "Diwali offer",
      "description": "10% off on all shoes",
      "type": "percent",
      "value": 10,
      "max_discount": 200,
      "label": "10% off up to ₹200",
      "summary": "10% off on orders of ₹999 or more (up to ₹200)",
      "buy_qty": null,
      "get_qty": null,
      "get_scope": null,
      "get_category_ids": [],
      "get_product_ids": [],
      "max_free": null,
      "min_order": 999,
      "min_qty": 0,
      "scope": "all",
      "category_ids": [],
      "product_ids": [],
      "payment": "both",
      "ends_on": "2026-11-15",
      "first_order": false,
      "per_customer": 1
    },
    {
      "code": "B2G1",
      "title": "Buy 2 get 1",
      "description": "",
      "type": "bxgy",
      "value": 0,
      "max_discount": null,
      "label": "Buy 2 Get 1 Free",
      "summary": "Buy 2 get 1 free",
      "buy_qty": 2,
      "get_qty": 1,
      "get_scope": "same",
      "get_category_ids": [],
      "get_product_ids": [],
      "max_free": null,
      "min_order": 0,
      "min_qty": 0,
      "scope": "all",
      "category_ids": [],
      "product_ids": [],
      "payment": "both",
      "ends_on": null,
      "first_order": false,
      "per_customer": 1
    },
    {
      "code": "FREESHIP",
      "title": "Free shipping",
      "description": "",
      "type": "free_shipping",
      "value": 0,
      "max_discount": null,
      "label": "Free shipping",
      "summary": "Free shipping on orders of ₹499 or more",
      "buy_qty": null,
      "get_qty": null,
      "get_scope": null,
      "get_category_ids": [],
      "get_product_ids": [],
      "max_free": null,
      "min_order": 499,
      "min_qty": 0,
      "scope": "all",
      "category_ids": [],
      "product_ids": [],
      "payment": "both",
      "ends_on": null,
      "first_order": false,
      "per_customer": null
    }
  ]
}
Response fields (23)
FieldTypeMeaning
[].codestring
[].titlestring
[].descriptionstringFree text.
[].typestring
[].valuenumber
[].max_discountnumber
[].labelstring
[].summarystring
[].buy_qtynull
[].get_qtynull
[].get_scopenull
[].get_category_idsarray
[].get_product_idsarray
[].max_freenull
[].min_ordernumber
[].min_qtynumber
[].scopestring
[].category_idsarray
[].product_idsarray
[].paymentstring
[].ends_onstring
[].first_orderboolean
[].per_customernumber

Check a coupon on a cart

POSThttps://tallysaasapi.teloora.com/api/v1/ext/coupons/check

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
codestringYesCoupon code (any case).
payment_modestringYescash | online
customer_idintegerNoThe shopper (for per-customer and first-order rules).
itemsarrayYes[{ product_id, quantity }] — one per cart line.

Request example

{
  "code": "DIWALI10",
  "payment_mode": "online",
  "customer_id": 17,
  "items": [
    {
      "product_id": 33,
      "quantity": 2
    }
  ]
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/coupons/check" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"code":"DIWALI10","payment_mode":"online","customer_id":17,"items":[{"product_id":33,"quantity":2}]}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Coupon applied.",
  "data": {
    "coupon": {
      "code": "DIWALI10",
      "title": "Diwali offer",
      "description": "10% off on all shoes",
      "type": "percent",
      "value": 10,
      "max_discount": 200,
      "label": "10% off up to ₹200",
      "summary": "10% off on orders of ₹999 or more (up to ₹200)",
      "buy_qty": null,
      "get_qty": null,
      "get_scope": null,
      "get_category_ids": [],
      "get_product_ids": [],
      "max_free": null,
      "min_order": 999,
      "min_qty": 0,
      "scope": "all",
      "category_ids": [],
      "product_ids": [],
      "payment": "both",
      "ends_on": "2026-11-15",
      "first_order": false,
      "per_customer": 1
    },
    "amount": 157.9,
    "eligible_product_ids": [
      33
    ],
    "type": "percent",
    "free_units": 0,
    "free_lines": [],
    "shipping_saved": 0,
    "delivery": {
      "amount": 0,
      "reason": "Free delivery on orders of ₹999 or more"
    }
  }
}
Response fields (33)
FieldTypeMeaning
couponobject
coupon.codestring
coupon.titlestring
coupon.descriptionstringFree text.
coupon.typestring
coupon.valuenumber
coupon.max_discountnumber
coupon.labelstring
coupon.summarystring
coupon.buy_qtynull
coupon.get_qtynull
coupon.get_scopenull
coupon.get_category_idsarray
coupon.get_product_idsarray
coupon.max_freenull
coupon.min_ordernumber
coupon.min_qtynumber
coupon.scopestring
coupon.category_idsarray
coupon.product_idsarray
coupon.paymentstring
coupon.ends_onstring
coupon.first_orderboolean
coupon.per_customernumber
amountnumber
eligible_product_idsarray
typestring
free_unitsnumber
free_linesarray
shipping_savednumber
deliveryobject
delivery.amountnumber
delivery.reasonstring

Cases

Buy X Get Y (bxgy) — 3 units on "buy 2 get 1"
Request
{
  "code": "B2G1",
  "payment_mode": "cash",
  "customer_id": 17,
  "items": [
    {
      "product_id": 33,
      "quantity": 2
    },
    {
      "product_id": 34,
      "quantity": 1
    }
  ]
}
Response
{
  "status": 200,
  "show": false,
  "msg": "Coupon applied — 1 free.",
  "data": {
    "coupon": {
      "code": "B2G1",
      "title": "Buy 2 get 1",
      "description": "",
      "type": "bxgy",
      "value": 0,
      "max_discount": null,
      "label": "Buy 2 Get 1 Free",
      "summary": "Buy 2 get 1 free",
      "buy_qty": 2,
      "get_qty": 1,
      "get_scope": "same",
      "get_category_ids": [],
      "get_product_ids": [],
      "max_free": null,
      "min_order": 0,
      "min_qty": 0,
      "scope": "all",
      "category_ids": [],
      "product_ids": [],
      "payment": "both",
      "ends_on": null,
      "first_order": false,
      "per_customer": 1
    },
    "amount": 299,
    "eligible_product_ids": [
      34
    ],
    "type": "bxgy",
    "free_units": 1,
    "free_lines": [
      {
        "index": 1,
        "product_id": 34,
        "units": 1,
        "share": 299
      }
    ],
    "shipping_saved": 0,
    "delivery": null
  }
}
Free shipping
Request
{
  "code": "FREESHIP",
  "payment_mode": "cash",
  "customer_id": 17,
  "items": [
    {
      "product_id": 33,
      "quantity": 1
    }
  ]
}
Response
{
  "status": 200,
  "show": false,
  "msg": "Coupon applied — free delivery (you save ₹60).",
  "data": {
    "coupon": {
      "code": "FREESHIP",
      "title": "Free shipping",
      "description": "",
      "type": "free_shipping",
      "value": 0,
      "max_discount": null,
      "label": "Free shipping",
      "summary": "Free shipping on orders of ₹499 or more",
      "buy_qty": null,
      "get_qty": null,
      "get_scope": null,
      "get_category_ids": [],
      "get_product_ids": [],
      "max_free": null,
      "min_order": 499,
      "min_qty": 0,
      "scope": "all",
      "category_ids": [],
      "product_ids": [],
      "payment": "both",
      "ends_on": null,
      "first_order": false,
      "per_customer": null
    },
    "amount": 0,
    "eligible_product_ids": [
      33
    ],
    "type": "free_shipping",
    "free_units": 0,
    "free_lines": [],
    "shipping_saved": 60,
    "delivery": {
      "amount": 0,
      "reason": "Free delivery (coupon FREESHIP)"
    }
  }
}

Errors

StatusMeaning / example
422
{
  "status": 422,
  "show": true,
  "msg": "Add ₹250 more to use this coupon (minimum order ₹999)."
}
422
{
  "status": 422,
  "show": true,
  "msg": "You have already used this coupon."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Add 1 more eligible item to get 1 free (buy 2 get 1)."
}
422
{
  "status": 422,
  "show": true,
  "msg": "Delivery is already free on this order — this coupon is not needed."
}

Store reviews

GEThttps://tallysaasapi.teloora.com/api/v1/ext/reviews

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.

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
pageintegerNoMin 1. Default 1.
per_pageintegerNoMin 1, max 50. Default 12. Min 1. Max 50. Default 12.
ratingintegerNo1-5. Only reviews with this many stars on the page (summary still covers all visible reviews). Min 1. Max 5.

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/reviews" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "summary": {
      "avg": 4.8,
      "count": 72,
      "breakdown": {
        "1": 0,
        "2": 0,
        "3": 2,
        "4": 11,
        "5": 59
      }
    },
    "data": [
      {
        "key": "a383a8816c1ba",
        "name": "Manoj",
        "city": null,
        "rating": 4,
        "text": "Very good, I recommended to buy for children and useful for school purpose, Delivery time is long 7-8 days",
        "created_at": "2026-10-26T12:11:57.947Z",
        "updated_at": "2026-10-26T12:11:57.947Z"
      },
      {
        "key": "aab42a34a42c2",
        "name": "Ajay",
        "city": "Narnol",
        "rating": 5,
        "text": "I buy Lakhani School shoe, The shoe have a good quality and are very comfortable.",
        "created_at": "2026-10-26T09:58:11.697Z",
        "updated_at": "2026-10-26T09:58:11.697Z"
      }
    ],
    "meta": {
      "total": 72,
      "page": 1,
      "per_page": 2,
      "last_page": 36
    }
  }
}
Response fields (11)
FieldTypeMeaning
data[].keystring
data[].namestringName, exactly as in Tally / Teloora.
data[].citynullCity.
data[].ratingnumber
data[].textstring
data[].created_atstringWhen it was created (ISO, UTC).
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.
meta.last_pagenumber

Errors

StatusMeaning / example
401 Not signed in, wrong email/password, or the token expired / was ended. Sign in again.
422 A field is missing or invalid. msg says which one.

A customer's own review

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/review

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/review" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "rating": 5,
    "text": "very nice  quality",
    "status": "visible",
    "name": "hitesh",
    "city": null,
    "created_at": "2026-10-21T06:14:03.863Z",
    "updated_at": "2026-10-21T06:14:03.863Z"
  }
}
Response fields (7)
FieldTypeMeaning
ratingnumber
textstring
statusstringActive | Inactive (records) or the voucher status.
namestringName, exactly as in Tally / Teloora.
citynullCity.
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).

Give / edit a customer's review

PUThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/review

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
ratingintegerYes1-5 stars. Min 1. Max 5.
textstringNoMax 1000 characters. Empty / null allowed. Max length 1000.

Request example

{
  "rating": 5,
  "text": "Good quality and quick delivery."
}

Code sample

curl -X PUT "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/review" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"rating":5,"text":"Good quality and quick delivery."}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Review updated.",
  "data": {
    "rating": 5,
    "text": "Good quality and quick delivery.",
    "status": "visible",
    "name": "hitesh",
    "city": null,
    "created_at": "2026-10-21T06:14:03.863Z",
    "updated_at": "2026-10-29T09:30:57.967Z"
  }
}
Response fields (7)
FieldTypeMeaning
ratingnumber
textstring
statusstringActive | Inactive (records) or the voucher status.
namestringName, exactly as in Tally / Teloora.
citynullCity.
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Cases

Refused: rating out of range
Request
{
  "rating": 7
}
Response
{
  "status": 422,
  "show": true,
  "msg": "Choose a rating from 1 to 5 stars."
}

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).
403 The login is not a Website user.
422 A field is missing or invalid. msg says which one.

Remove a customer's review

DELETEhttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/review

Removes the signed-in customer's own review of the store.

Header: Authorization: Bearer <token>

Code sample

curl -X DELETE "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/review" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "Review removed.",
  "data": null
}

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).

Product ratings

GEThttps://tallysaasapi.teloora.com/api/v1/ext/products/{id}/reviews

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.

Header: Authorization: Bearer <token>

Query parameters

NameTypeRequiredNotes
pageintegerNoMin 1. Default 1.
per_pageintegerNoMin 1, max 50. Default 12.
ratingintegerNo1-5. Only ratings with this many stars on the page (summary still covers all).
sortstringNonewest (default) | oldest | highest | lowest | photos (with photos first).
photosbooleanNo1 = only ratings with photos.
searchstringNoWords in the review text or the first name. Max 100.

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/products/{id}/reviews" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "data": {
    "summary": {
      "avg": 4.5,
      "count": 2,
      "breakdown": {
        "1": 0,
        "2": 0,
        "3": 0,
        "4": 1,
        "5": 1
      }
    },
    "data": [
      {
        "key": "a1b2c3d4e5f6",
        "name": "Ravi",
        "city": "Indore",
        "rating": 5,
        "text": "Great fabric.",
        "created_at": "2026-10-29T10:00:00.000Z",
        "updated_at": "2026-10-29T10:00:00.000Z"
      }
    ],
    "meta": {
      "total": 2,
      "page": 1,
      "per_page": 12,
      "last_page": 1
    }
  }
}
Response fields (11)
FieldTypeMeaning
data[].keystring
data[].namestringName, exactly as in Tally / Teloora.
data[].citystringCity.
data[].ratingnumber
data[].textstring
data[].created_atstringWhen it was created (ISO, UTC).
data[].updated_atstringLast change (ISO, UTC) — use with last_update.
meta.totalnumberGrand total.
meta.pagenumberThis page.
meta.per_pagenumberRows per page.
meta.last_pagenumber

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).

A customer's own product rating

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/product-reviews/{productId}

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).

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/product-reviews/{productId}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "data": {
    "rating": 5,
    "text": "Great fabric.",
    "status": "visible",
    "name": "Ravi",
    "city": "Indore",
    "created_at": "2026-10-29T10:00:00.000Z",
    "updated_at": "2026-10-29T10:00:00.000Z"
  }
}
Response fields (7)
FieldTypeMeaning
ratingnumber
textstring
statusstringActive | Inactive (records) or the voucher status.
namestringName, exactly as in Tally / Teloora.
citystringCity.
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).
404 The record does not exist in YOUR company (records of other companies are never visible).

Rate a product

PUThttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/product-reviews/{productId}

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
ratingintegerYes1-5.
textstringNoMax 1000.
imagesarrayNoUp 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.

Code sample

curl -X PUT "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/product-reviews/{productId}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "msg": "Thank you for rating this product!",
  "data": {
    "rating": 5,
    "text": "Great fabric.",
    "status": "visible",
    "name": "Ravi",
    "city": "Indore",
    "created_at": "2026-10-29T10:00:00.000Z",
    "updated_at": "2026-10-29T10:00:00.000Z"
  }
}
Response fields (7)
FieldTypeMeaning
ratingnumber
textstring
statusstringActive | Inactive (records) or the voucher status.
namestringName, exactly as in Tally / Teloora.
citystringCity.
created_atstringWhen it was created (ISO, UTC).
updated_atstringLast change (ISO, UTC) — use with last_update.

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).
403 The login is not a Website user.
422 A field is missing or invalid. msg says which one.

Remove a customer's product rating

DELETEhttps://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/product-reviews/{productId}

Removes the signed-in customer's own rating of the product.

Header: Authorization: Bearer <token>

Code sample

curl -X DELETE "https://tallysaasapi.teloora.com/api/v1/ext/customers/{id}/product-reviews/{productId}" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "msg": "Rating removed.",
  "data": null
}

Errors

StatusMeaning / example
404 The record does not exist in YOUR company (records of other companies are never visible).

The store's referral program

GEThttps://tallysaasapi.teloora.com/api/v1/ext/referral

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).

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/referral" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "enabled": true,
    "point_value": 1,
    "referrer": {
      "on": "first_purchase",
      "type": "points",
      "value": 100
    },
    "referee": {
      "on": "signup",
      "type": "points",
      "value": 50
    },
    "max_reward_points": 0,
    "first_order_min": 499,
    "redeem_enabled": true,
    "redeem_min_points": 50,
    "redeem_max_points": 500,
    "redeem_max_pct": 20,
    "min_order_for_redeem": 0,
    "expiry_days": 365,
    "share_message": "Shop with me and get bonus points!"
  }
}

A shopper's wallet and referral code

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers/:id/wallet

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).

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers/:id/wallet" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "program": {
      "enabled": true,
      "point_value": 1
    },
    "referral_code": "RAHU7K2QX",
    "balance": 150,
    "pending": 100,
    "point_value": 1,
    "balance_amount": 150,
    "referrals": {
      "invited": 3,
      "ordered": 1
    },
    "history": [
      {
        "id": 12,
        "type": "credit",
        "reason": "referral_signup",
        "label": "Referral — signup",
        "points": 50,
        "amount": 50,
        "status": "confirmed",
        "expires_at": "2027-11-18T00:00:00.000Z",
        "note": "Signed up with a friend's code",
        "created_at": "2026-11-18T10:00:00.000Z",
        "invoice_id": null,
        "invoice_no": null
      }
    ]
  }
}

Check wallet points on a cart

POSThttps://tallysaasapi.teloora.com/api/v1/ext/wallet/check

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
customer_idintegerYesThe signed-in shopper.
pointsnumberYesPoints to use (> 0).
payment_modestringNocash | online (default cash).
coupon_codestringNoThe coupon on this cart, if any — points apply after it.
itemsarrayYes[{ product_id, quantity, variant_id? }] — one per cart line.

Request example

{
  "customer_id": 17,
  "points": 100,
  "payment_mode": "online",
  "coupon_code": "",
  "items": [
    {
      "product_id": 33,
      "quantity": 2
    }
  ]
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/wallet/check" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"customer_id":17,"points":100,"payment_mode":"online","coupon_code":"","items":[{"product_id":33,"quantity":2}]}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "points": 100,
    "amount": 100,
    "max_points": 180,
    "balance": 250,
    "point_value": 1,
    "order_value": 900
  }
}

Contact us form

POSThttps://tallysaasapi.teloora.com/api/v1/ext/store/contact

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".

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
namestringYes2–100 characters.
mobilestringYesMobile number (digits, + - and spaces allowed).
emailstringNoShopper e-mail — the owner can reply to it.
subjectstringNoUp to 150 characters.
messagestringYes5–3000 characters.

Request example

{
  "name": "Ravi Shah",
  "mobile": "9876543210",
  "email": "ravi@example.com",
  "subject": "Bulk order",
  "message": "Need 200 pairs for a school."
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/store/contact" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"name":"Ravi Shah","mobile":"9876543210","email":"ravi@example.com","subject":"Bulk order","message":"Need 200 pairs for a school."}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Thank you! Your message has been sent. We will get back to you soon.",
  "data": null
}

Request Quote settings of the store

GEThttps://tallysaasapi.teloora.com/api/v1/ext/quote

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).

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/quote" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "enabled": true,
    "mode": "mixed",
    "show_price": false,
    "repeat_days": 7,
    "ask_qty": true,
    "ask_variant": true,
    "category_ids": [
      2,
      14,
      15
    ],
    "product_ids": [
      33
    ],
    "exclude_product_ids": [
      40
    ]
  }
}

Request a quote on one item

POSThttps://tallysaasapi.teloora.com/api/v1/ext/quotes

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.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
product_idintegerYesThe item.
namestringYes2–100 characters.
mobilestringYesThe repeat limit is per last 10 digits.
emailstringNoReplies and offers are e-mailed here.
quantitynumberNo> 0. Kept only when ask_qty is on.
variantstringNoSize / variant. Kept only when ask_variant is on.
messagestringYesRequired since 2026-11-24: at least 10 words, up to 3000 characters. Fewer words → 422 with field "message".
customer_idintegerNoThe signed-in shopper (this store's customer); omit for a guest.

Request example

{
  "product_id": 33,
  "name": "Ravi Shah",
  "mobile": "9876543210",
  "email": "ravi@example.com",
  "quantity": 50,
  "variant": "8",
  "message": "Please send your best price for 50 pairs, delivery to Indore within two weeks.",
  "customer_id": 17
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/quotes" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"product_id":33,"name":"Ravi Shah","mobile":"9876543210","email":"ravi@example.com","quantity":50,"variant":"8","message":"Please send your best price for 50 pairs, delivery to Indore within two weeks.","customer_id":17}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Thank you! Your quote request has been sent. The store will reply soon.",
  "data": {
    "id": 12,
    "product_id": 33,
    "product_name": "(ACT) PREMIUM-231 6X10 BLK",
    "variant": "8",
    "quantity": 50,
    "name": "Ravi Shah",
    "mobile": "9876543210",
    "email": "ravi@example.com",
    "message": "Price for 50 pairs?",
    "status": "new",
    "offer": null,
    "unread": false,
    "created_at": "2026-11-24T06:20:00.000Z",
    "last_message_at": "2026-11-24T07:05:00.000Z"
  }
}

A shopper's quote requests

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes

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.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": [
    {
      "id": 12,
      "product_id": 33,
      "product_name": "(ACT) PREMIUM-231 6X10 BLK",
      "variant": "8",
      "quantity": 50,
      "name": "Ravi Shah",
      "mobile": "9876543210",
      "email": "ravi@example.com",
      "message": "Price for 50 pairs?",
      "status": "offered",
      "offer": {
        "price": 450,
        "qty": 50,
        "valid_until": "2026-12-01",
        "note": "Free delivery"
      },
      "unread": true,
      "created_at": "2026-11-24T06:20:00.000Z",
      "last_message_at": "2026-11-24T07:05:00.000Z"
    }
  ]
}

One quote request with its chat

GEThttps://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes/:quoteId

The request, the store's offer and every chat line (from: customer | admin | system). Opening it marks the store's replies read.

Header: Authorization: Bearer <token>

Code sample

curl -X GET "https://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes/:quoteId" \
  -H "Authorization: Bearer <token>"

Success response

{
  "status": 200,
  "show": false,
  "msg": "success",
  "data": {
    "id": 12,
    "product_id": 33,
    "product_name": "(ACT) PREMIUM-231 6X10 BLK",
    "variant": "8",
    "quantity": 50,
    "name": "Ravi Shah",
    "mobile": "9876543210",
    "email": "ravi@example.com",
    "message": "Price for 50 pairs?",
    "status": "offered",
    "offer": {
      "price": 450,
      "qty": 50,
      "valid_until": "2026-12-01",
      "note": "Free delivery"
    },
    "unread": false,
    "created_at": "2026-11-24T06:20:00.000Z",
    "last_message_at": "2026-11-24T07:05:00.000Z",
    "messages": [
      {
        "id": 1,
        "from": "customer",
        "body": "Price for 50 pairs?",
        "at": "2026-11-24T06:20:00.000Z"
      },
      {
        "id": 2,
        "from": "admin",
        "body": "Offer: ₹450 per piece\nQuantity: 50",
        "at": "2026-11-24T07:05:00.000Z"
      }
    ]
  }
}

Shopper replies on a quote

POSThttps://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes/:quoteId/messages

Adds the shopper's message to the chat and e-mails the store owner. 422 QUOTE_CLOSED when the request is converted / closed / rejected.

Header: Authorization: Bearer <token>

Body fields

NameTypeRequiredNotes
bodystringYes1–3000 characters.

Request example

{
  "body": "Can you do 440?"
}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes/:quoteId/messages" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"body":"Can you do 440?"}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Message sent.",
  "data": {
    "id": 3,
    "from": "customer",
    "body": "Can you do 440?",
    "at": "2026-11-24T07:10:00.000Z"
  }
}

Shopper accepts the offer

POSThttps://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes/:quoteId/accept

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.

Header: Authorization: Bearer <token>

Request example

{}

Code sample

curl -X POST "https://tallysaasapi.teloora.com/api/v1/ext/customers/:id/quotes/:quoteId/accept" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{}'

Success response

{
  "status": 200,
  "show": false,
  "msg": "Offer accepted. The store will confirm your order.",
  "data": {
    "status": "accepted"
  }
}

Teloora is not affiliated with, associated with or endorsed by Tally Solutions Pvt. Ltd., the owner of the trademarks "Tally", "TallyPrime" and "Tally.ERP 9". The names are used only to describe compatibility. All other trademarks belong to their respective owners.

Start 15-day free trial