Update a Business
Edit information of the business with the given id. Current user needs UserRole ADMIN, ACCOUNT_MANAGER or BUSINESS_MANAGER.
Path parameters
The uberall unique id for the business
Request body
The uberall unique id for the business
The business's name
Business type. One of SMB or ENTERPRISE
Address of the business
An address extra: e.g. building, floor...
Province. Only send when not blank
Zipcode of the business
City of the business
The business identifier based on your internal identification system
Country of the business
Business's phone number
Pre sync
The date and time the business was created in uberall database
Business's status
Business default price in cent
Default Original Price in cent
Business default setup price in cent
Custom fields allow for additional information to be added at the location level. All locations within the business will have the same list of custom fields.
The date the business's contract expires
True if the business is allowed to start a sync. Only relevant for Businesses with more than 10 locations.
Number of active locations
Date when the business automatically changes its product plan to the new product plan (defined by nextProductPlanId)
ID of the next product plan applied for the business on the defined effectiveDate
Retail price
Contract duration of the chosen product plan in months
Example request
{
"type": "[SMB, ENTERPRISE]",
"addressLine2": "building, floor...",
"productPlan": {
"countryPrices": [
{
"marketDevelopmentFunds": 99
}
]
},
"countryPrices": [
{
"marketDevelopmentFunds": 99
}
]
}Response
Successfully edited Business