Update Company
PUT/companies/:id
Update Company
Request
Path Parameters
- application/json
Body
- MOD1
- MOD2
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
Tags
Type
Possible values: [Company, Agency, Broker, Association, Club, Group, Other]
Name
Description
Timezone
Phone
Website
TripAdvisor
Fax
Country
State
brokers
object
Brokers
oneOf
ID of the related entity
string
Client ID of the related entity
Numbers
groupMembers
object[]
Group
Member
Campaign
Tags
addresses
object[]
Type
Is Primary
Name
Organization
Address1
Address2
Address3
City
Region
Postal Code
Country
Phone Number
Notes
Tags
contacts
object[]
Type
Possible values: [Primary, Billing, Other]
First Name
Last Name
Title
Phone Number
Notes
Tags
documents
object[]
Tags
Type
Name
File Name
Notes
Visibility
notes
object[]
Note
Tags
institutionNumbers
object[]
Tags
Type
Value
Preferences
Notes
Confirmed
institutionPreferences
object[]
Institution
Key
Value
Strict
Notes
Tags
groups
object[]
Institution
Tags
Parent
Campaign
Name
Description
Members
Bookings
Total Spend
Responses
- 200
Updated Company
- application/json
- Schema
- Example (from schema)
Schema
Tags
Type
Possible values: [Company, Agency, Broker, Association, Club, Group, Other]
Name
Description
Timezone
Phone
Website
TripAdvisor
Fax
Country
State
Brokers
Numbers
Id
ID#
Campaign
Members
Groups
Bookings
Total
Created At
Updated At
Deleted At
Deleted
Created By
Updated By
Deleted By
{
"tags": "string",
"type": "Company",
"name": "string",
"description": "string",
"timezone": "string",
"email": "string",
"phone": "string",
"website": "string",
"facebook": "string",
"twitter": "string",
"instagram": "string",
"tripadvisor": "string",
"whatsapp": "string",
"fax": "string",
"country": "string",
"state": "string",
"brokers": "string",
"numbers": "string",
"id": "string",
"clientId": "string",
"campaignId": "string",
"members": 0,
"groups": 0,
"bookings": 0,
"totalSpend": 0,
"createdAt": "string",
"updatedAt": "string",
"deletedAt": "string",
"deleted": "string",
"createdBy": "string",
"updatedBy": "string",
"deletedBy": "string"
}