aid_locations_get
Get all sales locations, the starting_after have to be set to location_id scopes:
- admin:locations
- read:locations
Path parameters
An id that uniquely identifies the account.
Query parameters
A limit on the number of objects to be returned. Limit can range between 1 and 100 items, and the default is 10 items.
cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, end the result contains paging_token=pt1, your subsequent call can include starting_after=pt1 in order to fetch the next page of the list.
lookup locations where search term match name, phone_number, email, organization_number and business_name
filter locations by status
filter locations by country
filter locations by phone_number
filter locations by organization_number
filter locations by email
filter locations by type
Response
SalesLocation collection
Example response
[
{
"id": "SL02",
"organization_number": "123456789MVA",
"name": "SC Oslo",
"business_name": "SC Oslo AS"
}
]