POST /v1/sales-playbook/objection-suggestions/{id}/approve
POST
/v1/sales-playbook/objection-suggestions/{id}/approve
const url = 'https://seu-endereco-da-api/v1/sales-playbook/objection-suggestions/example/approve';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"objection":"example","answer":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
Request Bodyrequired
Seção intitulada “Request Bodyrequired”Media typeapplication/json
object
objection
required
What the customer says
string
answer
required
The answer that works
string
Example generated
{ "objection": "example", "answer": "example"}Responses
Seção intitulada “Responses”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
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