Update Company
PUT/api/company
Update Company
Request
Header Parameters
X-Company-Slug stringrequired
- application/json
Body
name string
about string
address string
email string
country_id number
phone number
city string
working_hours
object
monday stringnullable
tuesday stringnullable
wednesday stringnullable
thursday stringnullable
friday stringnullable
saturday stringnullable
sunday stringnullable
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id string
whitelabel_id number
code string
slug string
Possible values: <= 25 characters
name string
about stringnullable
address stringnullable
email stringnullable
created_at string
updated_at string
country_id numbernullable
package_id number
valid_until string
phone numbernullable
full_phone numbernullable
cf_vendor objectnullable
cf_customer objectnullable
cf_reservation objectnullable
settings objectnullable
modules string[]nullable
city stringnullable
working_hours
object
monday stringnullable
tuesday stringnullable
wednesday stringnullable
thursday stringnullable
friday stringnullable
saturday stringnullable
sunday stringnullable
{
"id": "string",
"whitelabel_id": 0,
"code": "string",
"slug": "string",
"name": "string",
"about": "string",
"address": "string",
"email": "string",
"created_at": "string",
"updated_at": "string",
"country_id": 0,
"package_id": 0,
"valid_until": "string",
"phone": 0,
"full_phone": 0,
"cf_vendor": {},
"cf_customer": {},
"cf_reservation": {},
"settings": {},
"modules": [
"string"
],
"city": "string",
"working_hours": {
"monday": "07:30-18:00",
"tuesday": "07:30-18:00",
"wednesday": "07:30-18:00",
"thursday": "07:30-18:00",
"friday": "07:30-18:00",
"saturday": "07:30-18:00",
"sunday": "07:30-18:00"
}
}
Loading...