Quote
Quotes should be requested by the user as a way of showing interest in the product and willingness to purchase it.
The API processes the user's quote request accordingly.
Retrieve Quote Request
Users can request a quote before finalizing the purchase order.
Headers
JSON which contains first name, last name, phone number, home number, email, address, and other information, sends raw data in the request body. The server accepts JSON-formatted responses.
Parameters
No parameter required.
Attributes
quote_no
stringIt specifies the number of quotes.
notes
array of objectsThe notes of quote history.
quote_no
stringIt specifies the number of quotes.
date_note
stringIt shows the date of the quote when it was made.
user_id
numberIt is an option of the user id.
note
stringIt shows the description or note which is filled by the user.
from_note
stringIt shows the description or note which is filled by the user.
date_created
stringIt shows the date which the quote is created.
date_updated
array of objectsdate
stringIt shows the specific date and time of the created quote.
timezone_type
numberIt shows the option of w=timezone, the country.
timezone
stringIt describes the exact timezone, the country.
id
numberIt shows the id of the products..
sales_person
array of objectsuser_id
stringIt specifies the user id.
stringIt shows the email of the user.
first_name
stringIt shows the first name of the user.
last_name
stringIt shows the last name of the user.
extension_number
empty stringIt is optional to input this.
job_title
stringIt shows the job title of the user.
photo
stringIt shows the photo of the user.
fullname
stringIt shows the fullname of the user.
image_asset
stringIt shows the url of the image of the user.
message
stringIt shows the message information when it succeeds.
POST /api/v2/quote/createcurl --location 'https://appliance-api.com/api/v2/quote/create' \
--header 'x-api-key: your_api_key' \
--header 'x-tenant-id: your_tenant_id' \
--header 'Accept: application/json' \
--data-raw '{
"first_name": "John",
"last_name":"Takpor",
"phone_number":"(201) 444-3992",
"home_number":"(223) 299-3322",
"email":"john.doe@jajan.com",
"address":"5850, Eichelberger St, St. Louis, , Missouri, 63109, United States",
"same_as_billing":0,
"ship_first_name":"John",
"ship_last_name":"Does",
"ship_phone_number":"(201) 444-3932",
"ship_home_number":null,
"ship_email":"john.doe@hua.com",
"ship_address":"1111, Eichelberger St, St. Louis, , Missouri, 63109, United States",
"product_interests_notes":"I do really love GE product and kitchen sets"
}'
{
"data": {
"quote_no": "15-94356",
"notes": {
"quote_no": "15-94356",
"date_note": "2023-11-21",
"user_id": 0,
"note": "I do really love GE product and kitchen sets",
"from_note": "EXTERNAL",
"date_created": "2023-11-21 22:02:02",
"date_updated": {
"date": "2023-11-21 22:02:02.647048",
"timezone_type": 3,
"timezone": "America/Chicago"
},
"id": 8399
},
"sales_person": {
"user_id": "645b708fb77a2",
"email": "james.doe@example.com/api/api/public",
"first_name": "James",
"last_name": "Doe",
"extension_number": "",
"job_title": "Appliance Specialist",
"photo": "1689613419-james.doe@example.com/api/api/public.JPG",
"fullname": "James Doe",
"image_asset": "http://localhost:8000/storage/example/photo-employee/1689613419-jamesdoe@example.com/api/api/public.JPG"
}
},
"message": "success"
}