Set Deal Company
PUT /deals/{deal_id}/company
PUT
/deals/{deal_id}/company
Attach or change the company on a deal.
mashup_company_id is the CANONICAL company id, not a
cb_company_extensions / ABM overlay id. They are different tables with
different ids, and the wrong one attaches the deal to nothing.
Authorizations
Parameters
Path Parameters
deal_id
required
Deal id.
string
Deal id.
Header Parameters
Request Body required
Attach or change the company on a deal.
object
mashup_company_id
required
The CANONICAL company id (mashup_companies), not a cb_company_extensions / ABM overlay id. The two are different tables with different ids and passing the wrong one attaches the deal to nothing.
integer
Responses
200
Successful Response
object
data
required
Whatever the operation returns, carried through whole.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string