CRM

Create a Quote

Creates a new Quote.

post/admin/crm/quotes

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/crm/quotes
  • Auth: HTTP basic

Request body

customer_idnumber required

Quote ID

numberstring

Quote number

statusstring

Status: 'new', 'sent', 'on_review', 'accepted', 'denied'

date_createdstring

Date created

real_create_datetimestring

Real create datetime

date_updatedstring

Date updated

date_of_decisionstring

Date when quote was accepted or denied

date_tillstring

Date till

totalnumber

Total amount

invoice_idnumber

Invoice ID

request_idnumber

Request ID

is_sentboolean required

Values: true or false. Is sent Quote

notestring

Note

memostring

Memo

signaturestring

Signature

is_customersboolean

Is customer's quote

added_bystring

Added by: 'api', 'admin', 'system'

added_by_idnumber

Added by ID

Example request

{
  "customer_id": 1,
  "status": "new",
  "date_created": "2019-05-16",
  "real_create_datetime": "2019-05-16 12:00:00",
  "date_updated": "2019-05-16",
  "date_of_decision": "2019-05-16",
  "date_till": "2019-06-16",
  "total": 120,
  "invoice_id": 1,
  "note": "some text",
  "memo": "some text",
  "signature": "some text",
  "added_by": "api",
  "added_by_id": 1,
  "items": [
    {
      "description": "Desc of item",
      "quantity": 1,
      "price": 120
    }
  ]
}

Response

idnumber required

Quote ID

Example response

{
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.