Additional Information¶
Retrieving supplier locations¶
In order to create new drivers a supplier location must be assigned, it's not possible to create new locations via the API.
Request¶
GET /v1/locations
Response¶
Field | Type | Description |
---|---|---|
supplier_location_id | String | The location ID, which can be used in the request to create a driver. |
name | String | The name of the location (e.g. city, region, country, etc). |
Sample Response¶
[
{
"supplier_location_id": "123",
"name": "Manchester"
},
{
"supplier_location_id": "456",
"name": "Liverpool"
}
]