Tiny ERP API: what it can do and how to use it with AI agents
The API of Tiny, a Brazilian ERP now part of Olist, lets you look up and add orders, products, inventory, tax invoices and accounts payable and receivable. Online stores and distributors in Brazil that sell on several channels use it. Access is by an account token, and different versions of the API are in use.
What the Tiny ERP API offers
Orders
Add, look up and change the status of sales orders.
Products
Records of products, variations and prices.
Inventory
Look up and update stock balances.
Tax invoices
Issue and look up invoices (notas fiscais, Brazil's tax documents) linked to orders.
Accounts payable and receivable
Financial entries.
Contacts
Customers and suppliers.
How to access the Tiny ERP API
- With your company’s credentialsIt uses an API token generated in the Tiny account settings. Newer API versions adopt OAuth 2.0 with a registered application.
- There are per-minute request limits that vary with the plan.
- Issuing a tax invoice has fiscal effect: keep approval.
- Customer data is covered by LGPD, Brazil's data-protection law.
What an iTeam agent does with the Tiny ERP API
Late order, customer informed
The agent finds orders stuck in picking or without an invoice and alerts shipping and the customer.
Low stock by channel
The agent compares sales and stock and sends the buyer the list of products to reorder.
Invoice on demand
The customer asks for the invoice on WhatsApp, and the agent finds the order's file and sends it.
Catalog check
Products with no NCM (tax classification code), weight or image are listed before they go to the marketplaces.
From the credential to the agent at work, with approval
Generate the credential in Tiny
In the account settings, generate the API token or register the application, depending on the version used.
Store it in the iTeam vault
The credential stays in the vault. Lookups are open, while issuing invoices or changing status require approval at the start.
Validate with real orders in read mode
Start by reading orders and inventory, and only then enable writing gradually.
Ready-made AI teams that use Tiny ERP
Questions about the Tiny ERP API
Is the Tiny ERP API free?
In general, API access depends on the Tiny plan, and some plans have usage limits. Check the terms of your plan.
Do I need to code to use the Tiny ERP API with iTeam?
Not necessarily. iTeam's HTTP tool learns the endpoints from the documentation, and the deployment team sets up the routines.
Which API version is used?
It depends on your account. This is checked in the diagnosis so that the version Tiny supports is used.