v2

latestOpenAPI 3.0.02026-08-08112115411.4 KB
Quotes

Update the status of a quote

Updates a quote to a native Nutshell status (READY, SENT, REVOKED, ACCEPTED, ARCHIVED). Odoo-specific fulfillment states should be stored on the lead via custom fields.

post/quotes/{id}/status

Path parameters

idstring required

Quote ID

Request body

status'READY' | 'SENT' | 'REVOKED' | 'ACCEPTED' | 'ARCHIVED' required
acceptedNamestring

Optional name recorded when accepting the quote

acceptedEmailstring

Optional email recorded when accepting the quote

Example request

{
  "status": "SENT"
}

Response

Quote

Example response

{
  "quotes": [
    {
      "id": "123-quotes",
      "type": "quotes",
      "number": "1000-01",
      "total": {
        "amount": "5000.00",
        "currency": "USD",
        "formatted": "$5,000.00"
      },
      "validThroughTime": "2024-12-31T23:59:59Z",
      "createdTime": "2024-01-15T10:30:00Z",
      "publishedTime": "2024-01-16T14:20:00Z",
      "sentTime": "2024-01-17T09:15:00Z",
      "acceptedTime": "2024-01-20T16:45:00Z",
      "acceptedName": "Jane Customer",
      "acceptedEmail": "jane@example.com",
      "deletedTime": null,
      "links": {
        "lead": "456-leads"
      }
    }
  ]
}