Pular para o conteúdo

PUT /v1/sales-playbook

PUT
/v1/sales-playbook
curl --request PUT \
--url https://seu-endereco-da-api/v1/sales-playbook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "stages": [ { "name": "example", "questions": [ "example" ], "checklist": [ "example" ], "pipelineStageId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ], "objections": [ { "objection": "example", "answer": "example", "quotes": [ "example" ] } ] }'

Permissão que a Chave de acesso precisa: Editar roteiro de vendas e objeções (sales-playbook:manage).

Media typeapplication/json
object
stages
required
Array<object>
object
name
required
string
>= 1 characters <= 1000 characters
questions
required
Array<string>
checklist
required
Array<string>
pipelineStageId
required
string format: uuid
nullable
objections
required
Array<object>
object
objection
required
string
>= 1 characters <= 1000 characters
answer
required
string
>= 1 characters <= 1000 characters
quotes
required
Array<string>

Example generated

{
"stages": [
{
"name": "example",
"questions": [
"example"
],
"checklist": [
"example"
],
"pipelineStageId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}
],
"objections": [
{
"objection": "example",
"answer": "example",
"quotes": [
"example"
]
}
]
}
Media typeapplication/json
object
playbook
required
object
stages
required
Array<object>
object
name
required
string
pipelineStageId
required

The funnel stage this checklist belongs to; null when it is not tied to one

string format: uuid
nullable
questions
required
Array<string>
checklist
required

Empty means the stage uses the generic sales method

Array<string>
objections
required
Array<object>
object
objection
required
string
answer
required
string
quotes
required

What customers actually wrote, read from the account’s conversations when the owner allowed it

Array<string>

Example generated

{
"playbook": {
"stages": [
{
"name": "example",
"pipelineStageId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"questions": [
"example"
],
"checklist": [
"example"
]
}
],
"objections": [
{
"objection": "example",
"answer": "example",
"quotes": [
"example"
]
}
]
}
}