Quotes API
POST /api/v1/quotes/{id}/status
Sets a quote's status. Requires the write:quotes scope.
Mark a quote SENT once it has actually gone to the buyer, and ACCEPTED or DECLINED when they answer. Setting the status it already has changes nothing.
Request
POST /api/v1/quotes/cmq2quot0alk34567890/status HTTP/1.1
Host: agentlyleads.com
Authorization: Bearer alk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json
{ "status": "ACCEPTED" }status is one of DRAFT, SENT, ACCEPTED, DECLINED.
Response (200)
The updated quote, in the shape of the Quote object:
{ "quote": { "id": "cmq2quot0alk34567890", "status": "ACCEPTED", "...": "..." } }