Skip to content

Update all suggestions status

Request

Update the status of all PENDING suggestions that belong to the locations identified by the filter parameters. For non-admin users any non-managed locations will be ignored. Note that rejecting a suggestion does not delete it, and accepting the suggestion won't automatically apply it to the location. The status can only be set to ACCEPTED or DECLINED

Security
X-API-KEY or Authorization
curl -i -X PUT \
  https://uberall.com/api/locations/suggestions/update-all-status \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Successfully updated suggestions

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {
    "updatedSuggestionsCount": 10
  }
}