Get started
Scopes
sales:approve can also write and read. Each operation in the reference lists the capability it needs and the scopes that carry it.
| Scope | Allows |
|---|---|
sales:read | |
sales:write | |
sales:approve | POST /einvoices needs it. |
purchase:read | |
purchase:write | |
purchase:approve | |
contacts:read · contacts:write | |
reports:read | sales:read or purchase:read) and aged receivable (with sales:read). |
accounting:read |
The limits on any key
A key is never more than the person who creates it: a scope above theirs is refused ( API_SCOPE_ABOVE_YOURS), and so is an app outside the plan (API_SCOPE_NOT_IN_PLAN).A key never manages users, keys, billing or the company’s settings, whatever its scopes. An app the company’s plan does not hold is refused even to a key that names it ( APP_LOCKED).GET /meanswers what the key may do right now — use it rather than tracking scopes yourself.
sales:approve; a reporting tool needs reports:read and sales:read.