Skip to content

Migrate the Business to a new SalesPartner

Request

Migration is only possible from parent sales partner to child sales partner or between children sales partners.

Security
X-API-KEY or Authorization
Path
idstringrequired

The uberall unique id for the business

Query
targetSalesPartnerIdstringrequired

ID of the sales partner where the business should be migrated

targetWhiteLabelIdentifierstring

If the target sales partner has more then one whitelabel, please specify which one has to be chosen

curl -i -X POST \
  'https://uberall.com/api/businesses/{id}/migrate?targetSalesPartnerId=string&targetWhiteLabelIdentifier=string' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Successfully migrated Business

Bodyapplication/json
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": { "business": { … } } }