Creates a deal owner.
Sales Funnels and Deals >
Creates a deal owner.
Method
create.deal_employees
API version
—
Description
Creates a deal owner.
Available to: Agents and clients
Request parameters
Name
Type
Required
Description
access_token
string
yes
Access token used to authenticate the request.
user_id
number
no
Unique ID of the client user on whose behalf the agent is making the request. Required for agents. To retrieve a list of client users, use "get.customer_users" .
ext_id
string
yes
External deal owner ID.
name
string
yes
Deal owner name.
Response parameters
Name
Type
Required
Description
ext_id
string
yes
External deal owner ID.
Example request
{
"jsonrpc": "2.0",
"id": "number",
"method": "create.deal_employees",
"params": {
"access_token":"string",
"user_id":"number",
"ext_id": "string",
"name": "string"
}
}
Example response
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"data": {
"ext_id": "string"
},
"metadata": "object"
}
}
Possible errors
See the "Errors for create methods" section.