Businesses

Sync All Business' Locations

Start a sync on all directories for all locations in the business with the given id. Current user needs UserRole ADMIN, ACCOUNT_MANAGER or BUSINESS_MANAGER.

post/businesses/{businessId}/locations/sync

Request

  • Base URL
    https://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api
  • Auth
    HTTP bearer

Path parameters

businessIdstring required

The PromoRepublic unique id of the business

Response

Sync successfully started

status'SUCCESS' | 'PENDING' | 'QUOTA_LIMIT_EXCEED' | 'NOT_AUTHORIZED' | 'FORBIDDEN' | 'BAD_ACCESS_TOKEN' | 'BAD_PRIVATE_KEY' | 'BAD_PUBLIC_KEY' | 'MISSING_PARAMETER' | 'INVALID_PARAMETER' | 'WRONG_PARAMETER_TYPE' | 'CONFLICT' | 'RESOURCE_LOCKED' | 'SERVER_ERROR' | 'ERROR' | 'NOT_FOUND' | 'BAD_REQUEST' | 'USER_ERROR' | 'PARTIAL_ERROR' | 'SERVICE_TEMPORARILY_UNAVAILABLE' required
messagestring

(optional) Holds further information about the response

warningsstring[]

(optional) Holds further warnings

Example response

{
  "response": {
    "business": {
      "type": "[SMB, ENTERPRISE]",
      "addressLine2": "building, floor...",
      "productPlan": {
        "countryPrices": [
          {
            "marketDevelopmentFunds": 99
          }
        ]
      },
      "countryPrices": [
        {
          "marketDevelopmentFunds": 99
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.