NolaPro API: Connect Your Own Software to NolaPro
NolaPro has an API that lets your own software, or an integration a developer builds for you, read data from NolaPro and send data into it: customers, items, orders, invoices, payments, journal entries and more. Use it to connect a website, store, warehouse system or reporting tool to NolaPro instead of re-typing data.
This article explains which API to use and how to get access. For running your own code inside NolaPro when something happens there, see Custom Code Hooks Vs. API.
Requirements
The NolaPro API feature must be enabled. It includes both API versions below.
Which API to Use
- API v2 (JSON, REST): the current API, and the one to use for new work. It is documented in the NolaPro API v2 developer documentation at developer.nolapro.com, which includes a quick start, authentication, a PHP example, and the full list of resources and fields.
- API v1 (XML): the original API, described in the NolaPro API (v1, XML) PDF. Existing v1 integrations keep working.
Getting Access (API v2)
API v2 requests are authenticated with a per-user API token. A supervisor creates and revokes tokens in the API Tokens section of a user's record: on the user's edit page under Admin -> System -> Users, or on your own My Info page. Only a user who is a supervisor in the company can hold a token, and each token works in one company.
Examples of What You Can Read
- An item's stock on hand, by location.
- Physical inventory count batches, and each count's lines (what was counted and what was found).
- Customers, vendors, items, orders, invoices, payments and general ledger accounts.
The developer documentation lists every resource and field. Data you send through API v2 is checked by the same rules as the NolaPro screens, so the API cannot post an entry the application would refuse.
Notes
- Every API call is logged. To see what an integration actually sent and received, use Tools -> System -> API Log Viewer.