Can be used for adding locations to a single LocationGroup.
Security
Authorization
- https://uberall.com/apihttps://uberall.com/api/location-groups/{id}/locations
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/location-groups/{id}/locations
curl -i -X POST \
'https://uberall.com/api/location-groups/{id}/locations' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"locations": [
10,
20,
30
]
}'Locations added to LocationGroup successfully
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
Response
{
"status": "SUCCESS",
"message": "string",
"warnings": [
"string"
],
"response": {
"id": 0,
"lastUpdated": "2019-08-24T14:15:22Z",
"name": "string",
"status": "ACTIVE",
"creator": 0,
"salesPartner": 0,
"locationsCount": 0,
"locations": [
{
"id": 1,
"name": "Location 1",
"status": "ACTIVE"
}
],
"users": [
{
"id": 1,
"email": "jan.didschuneit@uberall.com",
"firstName": "Jan",
"lastName": "Didschuneit",
"role": "ADMIN",
"status": "VERIFIED"
}
]
}
}