Authentication
Access to the resource requires provision of the correct and valid access token.
Getting information about the Organization
Collecting information about a particular organization the user has access to:
Code Block |
---|
GET /v1/organizations/:id |
href
Information about errors
The server may return the following errors
resource_not_found
- if the organization does not existtoken_invalid
- the user does not have access rights to a specific organization
List all organizations
List of all organizations which the user has access to
Resource is paged.
Parameters
Description
sort_by
Determines the attribute by which the results are to be sorted.
Default: id
Possible:
- id
- name
- tax_id
- address
- created_at
sort_order
Determines the sorting type - descending(desc) or ascending (asc).
By default: ascending (asc) lkfjasd9f70y43ohriw...[ommited for brevity]..."Response
In response, the server returns collections with the response code 200 OK:
List of the organization's statistics.
Response
In the response the server will return the following data:
Code Block |
---|
{
"to_send": 23,
"in_logistics": 31,
"delivered": 58
} |