Scopes
A scope is one kind of data a key can read. The owner picks a key’s scopes when they create it, and they can’t be changed later. Ask for only the scopes your software needs.
A request for data outside the key’s scopes answers 403 insufficient_scope, and the message names the missing scope.
Available today
| Scope | Back Office label | Endpoints | Returns |
|---|---|---|---|
business:read | Business | GET /v1/locations, GET /v1/business | Location name, address, timezone, and currency. Every key has it. |
reports:read (GET /v1/reports, daily sales) already answers on the API, but Back Office still marks Reports as Coming soon, so owners can’t add it to a key yet.
Coming soon
Back Office shows these as Coming soon. An owner can’t choose them yet.
| Scope | Back Office label | Will return |
|---|---|---|
reports:read | Reports | Daily sales summaries |
payouts:read | Payouts | Payouts and their fees. Never bank account details. |
payments:read | Payments | Charges, tips, refunds, and disputes across processors. Card brand and last 4 only. |
menu:read | Menu | Categories, items, modifiers, prices, taxes, and discounts |
orders:read | Orders | Orders and their items, without customer contact details |
orders.customer:read | Customer contact details | Customer name, phone, and email on orders |
staff:read | Staff | Staff and roles, without pay |
staff.pay:read | Staff pay | Pay rates |
timecards:read | Time cards | Clock-ins, breaks, and declared tips |
cash:read | Cash | Cash drawer sessions and counts |
orders.customer:read, staff:read, and staff.pay:read return personal information. The owner confirms each one separately when creating the key.
Changing scopes
Because a key’s scopes are fixed, adding a scope means a new key:
- Ask the owner to create a key with every scope you need.
- Switch your software to the new key.
- Ask the owner to revoke the old key.
Related
Last updated on