Access Token: 1000.3dfa75dc54aa2394b11179935ff3dd13.24432a7ca6e6...
Refresh Token: 1000.63d716fcb67c0f45fb57d38c6760e48f.1c7536746976...
Expires In: -1775664054 seconds
Token Type: None
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/sync-customers | Sync Zoho customers to patients table |
| GET | /api/items | List all items from Zoho |
| GET | /api/items/<item_id> | Get one item with batches (for batch_number) |
| GET | /api/items/batches/by-name?name=ItemName | Get batches by item name (for products[].batch_number) |
| GET | /api/invoices | List all invoices from Zoho |
| GET | /api/customers | List all customers from Zoho |
| POST | /api/invoice | Create new invoice |
| POST | /api/invoice/delete | Delete Zoho invoice (body: zoho_invoice_id) |
| DELETE | /api/invoice/<id> | Delete Zoho invoice by ID |
| GET | /api/invoice/<id>/pdf | Download invoice as PDF |
| GET | /api/contacts | List all contacts from Zoho |
| GET | /api/debug/taxes | List Zoho taxes (tax_id, %) — set CONFIG GST_0_ID, GST_5_ID, etc. |
| GET | /auth/clear-tax-cache | Clear cached tax list |
| POST | /create/invoice | Full flow: check/create customer + items, create invoice, email it |
| GET | /token | Get token info as JSON |