Create a Business belonging to the SalesPartner of the current User. User needs UserRole ADMIN or ACCOUNT_MANAGER.
Security
X-API-KEY or Authorization
A Business object
- https://uberall.com/apihttps://uberall.com/api/businesses
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/businesses
- X-API-KEY
- Authorization
curl -i -X POST \
https://uberall.com/api/businesses \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"name": "Minimalistic business",
"streetAndNo": "Piac utca 22.",
"addressLine2": "string",
"zip": "4025",
"city": "Debrecen",
"country": "HU",
"contractDuration": 12,
"productPlan": 2404,
"translationLocales": [
{}
]
}'Business successfully created
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": { "business": { … } } }