curl -X POST "https://api.corebill.io/v1/quotes?company_id=com_abc123" \
-H "Authorization: Bearer sk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"customer_id": "cus_abc123",
"valid_until": "2025-05-15",
"payment_terms": "50% upfront, 50% on delivery",
"items": [
{
"name": "Website Redesign",
"description": "Complete redesign including UX research",
"quantity": 1,
"unit": "project",
"unit_price": 8000.00
},
{
"name": "Monthly Maintenance",
"quantity": 6,
"unit": "month",
"unit_price": 500.00
}
]
}'