Skip to content

Set Deal 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

X-Target-Org-Id
Any of:
string

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
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string