Change a saved quote
update_quoteChanges a saved quote in place: lines to change (line_id plus only the options that change) or add (product_id and configuration), lines to remove, the reference, notes or delivery address. Changed and added lines are re-priced by the engine; untouched lines keep their prices. Accepted, ordered, expired and team-priced quotes cannot be changed. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| notes | No | ||
| quote | Yes | The quote number (or the quote id from its link). | |
| reference | No | ||
| address_id | No | A saved address id, or null to clear it. | |
| remove_line_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| next | Yes | ||
| lines | No | ||
| errors | No | ||
| pickup | No | ||
| priced | No | ||
| reason | No | ||
| status | No | ||
| expires | No | ||
| missing | No | ||
| nearest | No | ||
| product | No | ||
| updated | Yes | ||
| currency | Yes | ||
| reference | No | ||
| share_url | No | ||
| line_index | No | ||
| product_id | No | ||
| quote_number | No | ||
| service_area | Yes | ||
| status_label | No | ||
| total_inc_gst | No | The quote page's Total, inc GST: subtotal_inc_gst (the lines) plus delivery (shipping_ex_gst) and its GST. | |
| added_line_ids | No | ||
| shipping_ex_gst | No | ||
| changed_line_ids | No | ||
| removed_line_ids | No | ||
| subtotal_inc_gst | No | ||
| prices_include_gst | Yes |