Get a list of businesses managed by the current user.
Security
X-API-KEY or Authorization
Possible fieldMask options ('id', 'identifier', 'name', 'type', 'streetAndNo', 'addressLine2', 'province', 'zip', 'city','phone', 'country', 'status', 'canSync', 'dateCreated', 'defaultPrice','defaultOriginalPrice', 'defaultPriceSetup', 'productPlan', 'nextProductPlan', 'numOfLocations')
Example:fieldMask=type&fieldMask=city
- https://uberall.com/apihttps://uberall.com/api/businesses
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/businesses
- X-API-KEY
- Authorization
curl -i -X GET \
'https://uberall.com/api/businesses?query=string&queryFields=string&identifier=string&businessIds=string&status=string&minLocations=string&maxLocations=string&productPlan=string&productPlanId=string&sort=string&max=string&offset=string&fieldMask=type%26fieldMask%3Dcity' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'Successfully retrieved Businesses
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": {
"businesses": [
{
"addressLine2": "string",
"businessSyncable": true,
"city": "string",
"country": "AF",
"dateCreated": "2019-08-24T14:15:22Z",
"dateExpiration": "2019-08-24T14:15:22Z",
"defaultOriginalPrice": 0,
"defaultPrice": 0,
"defaultPriceSetup": 0,
"id": 0,
"identifier": "string",
"name": "string",
"type": "SMB",
"phone": "string",
"province": "string",
"status": "CREATED",
"streetAndNo": "string",
"zip": "string",
"nextProductPlanId": 0,
"effectiveDate": "2019-08-24T14:15:22Z",
"numOfLocations": 0,
"productPlan": {
"id": 0,
"name": "string",
"salesPartnerId": 0,
"features": [
"ADS"
],
"updatedDirectories": [
"FOURSQUARE"
],
"countryPrice": [
{
"country": "AF",
"price": 0,
"marketDevelopmentFunds": 0,
"priceSetup": 0
}
],
"currency": "string",
"defaultPlan": true,
"identifier": "string",
"description": "string",
"dateCreated": "2019-08-24T14:15:22Z",
"lastUpdated": "2019-08-24T14:15:22Z",
"duration": 0,
"initialDuration": 0,
"billingPeriod": 0,
"initialBillingPeriod": 0,
"defaultPrice": 0,
"defaultOriginalPrice": 0,
"defaultPriceSetup": 0,
"defaultMarketDevelopmentFunds": 0,
"status": "ACTIVE"
},
"countryPrices": [
{
"country": "AF",
"price": 0,
"priceSetup": 0,
"marketDevelopmentFunds": 0,
"currency": "string"
}
],
"productPlanId": 0,
"defaultCurrency": "string",
"fieldMask": [
"string"
],
"productPlanFieldMask": [
"string"
],
"customFields": [
"string"
],
"directoryBusinessPages": [
{
"id": 0,
"type": "FACEBOOK",
"directoryBusinessPageId": "string",
"status": "VALID"
}
]
}
],
"max": 0,
"offset": 0,
"count": 0,
"warnings": [
"string"
]
}
}