Pular para o conteúdo

POST /v1/sales-playbook/objection-suggestions/{id}/approve

POST
/v1/sales-playbook/objection-suggestions/{id}/approve
curl --request POST \
--url https://seu-endereco-da-api/v1/sales-playbook/objection-suggestions/example/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "objection": "example", "answer": "example" }'

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

id
required
string
Media typeapplication/json
object
objection
required

What the customer says

string
>= 1 characters <= 1000 characters
answer
required

The answer that works

string
>= 1 characters <= 1000 characters

Example generated

{
"objection": "example",
"answer": "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"
]
}
]
}
}

Already approved or rejected, or the playbook has no room for another objection