New quote
o2c_create_quoteDraft a quote for a customer. A quote commits nothing: no stock is reserved, no credit is consumed. Omit unit_price to take the list price — that is the honest default. A discount is an explicit unit_price and shows up as a discount in the log, which is the point. Effects: quote created in draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | The quoted lines. | |
| customer_id | Yes | Who we are quoting. An existing customer id. | |
| valid_until | No | Expiry. ISO date, YYYY-MM-DD. |