Reference · Account
List sites
/v1/sitesEvery site the key reaches, with its currency, time zone, and what the key may do there. A site the key does not reach is not listed.
Headers
AuthorizationrequiredAn API key from Automation > Access in the Dnero portal, sent as
Authorization: Bearer <key>.string
Responses
- missing_keyinvalid_keykey_expired+1 more
- key_revokedassistant_keykey_without_access+7 more
- rate_limited
- server_error
- upstream_unavailable
200 OK
datarequiredThe records, in a stable order.
array of objects
5 fields in each
accessrequiredWhat this key may do at the site.
object
2 fields
cataloguerequiredProducts, categories, modifiers, taxes and menus. read lists them; write also creates and changes them.
string · one of "none", "read", "write"
ordersrequiredOrders. read looks them up; write also sends new ones.
string · one of "none", "read", "write"
currencyrequiredThe currency the site trades in, ISO 4217. Every amount at this site is in its minor units.
string
idrequiredThe site's id. Every site-level path takes it.
string
namerequiredThe site's name.
string
timeZonerequiredThe site's time zone, IANA. Times in the API are UTC; this says what local time they are.
string
nextCursorPass as cursor to get the next page. Absent on the last page.
string