Authorization: Bearer ********************curl --location --request PUT '/quotes/1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"sales": [
{
"product_id": 152741,
"product_variant_id": 30293,
"quantity": 2,
"unit": "Pieces",
"rate": 4000.00,
"amount": 8000.00
},
{
"product_id": 152741,
"product_variant_id": 30292,
"quantity": 1,
"unit": "Pieces",
"rate": 3000.00,
"amount": 3000.00
}
],
"notes": ["This has been updated for review."],
"customer_id": 5230,
"delivery_fee": 50.00,
"delivery_date": "2025-12-29",
"discount_type": "percent",
"discount": 10,
"tax": 5,
"quote_date": "2025-12-25",
"expiry_date": "2025-12-29",
"quote_number": "Q-2025-001",
"name": "Website Development Quote",
"attachments": ["document2.pdf", "proposal1.docx"]
}'{
"success": true,
"message": "string",
"data": {
"quote": {
"id": "string",
"user_id": "string",
"business_id": "string",
"customer_id": 0,
"app_id": "string",
"quote_number": "string",
"name": "string",
"transaction_type": "string",
"quantity": 0,
"items": 0,
"delivery_charge": 0,
"discount": 0,
"unpaid_balance": 0,
"profit": 0,
"discount_type": "string",
"discount_amount": 0,
"sub_total_amount": 0,
"tax": 0,
"tax_amount": 0,
"amount": 0,
"amount_received": 0,
"app_created_at": "string",
"app_updated_at": "string",
"quote_date": "string",
"expiry_date": "string",
"delivery_date": "string",
"sales_data": "string",
"customer_data": null,
"attachments": "string",
"notes": "string",
"raw": "string",
"reminder_sent": true,
"reminder_sent_at": null,
"status": "string",
"is_accepted": true,
"accepted_at": null,
"sent_at": "string",
"extended_at": null,
"extension_days": null,
"created_by": "string",
"deleted_at": null,
"created_at": "string",
"updated_at": "string",
"getSalesData": [
{
"product_id": 0,
"product_variant_id": 0,
"quantity": 0,
"unit": "string",
"rate": 0,
"amount": 0
}
],
"getCustomerData": null
},
"totalSalesAmount": 0,
"sales": [
{
"product_id": 0,
"product_variant_id": 0,
"quantity": 0,
"unit": "string",
"rate": 0,
"amount": 0
}
],
"discountAmount": 0,
"taxAmount": 0,
"subTotalAmount": 0
}
}