Create Quote

Creates Quote

post-api /quotes/create

https://api.oauth.pabau.com/{api_key}/quotes/create

 

Request

Query Parameters:  
api_key *  
customer_id * System ID of the customer
location_id System ID of the location
template_id System ID of the quote template
booking_id System ID of the appointment
items *

Array or Object
[

    id * - system id of the item,
    type * - String ('service', 'product', 'package'),
    price - Float (Override system price),
    quantity - Int,
    discount_id - System ID of the discount,
    tax_id - System ID of the VAT,
    sold_by - System ID of the biller

]

Response sample

application/json

{
"status": true,
"message": "Quote created successfully",
"quote_id": {id}
}