This function updates a custom field in from a quote.
Description#
This function updates a custom field in from a quote.
Request Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
function |
String | Yes | For module level functions, this parameter will always have the value Module |
module_code |
String | The module code will always have the value quote for this function |
|
module_function |
String | Specifies the function being executed, in this case QuoteCustomFieldValues_Update_Quote |
|
quote_id |
Number | The id number of the quote to be updated | |
Quote_CustomFields |
Array | Array of objects, each with a code (the custom field code) and a value. Existing custom field values on the quote are deleted first, then these are saved |
Response Parameters#
| Parameter | Type | Description |
|---|---|---|
success |
Boolean | Boolean value indicating if the API request was successful |
Example Request#
{
"Store_Code": "{{Store_Code}}",
"Miva_Request_Timestamp": "{{$timestamp}}",
"function": "Module",
"module_code": "quote",
"module_function": "QuoteCustomFieldValues_Update_Quote",
"quote_id": 123456
}