Description#
This function updates a note from a quote.
Request Body 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 QuoteNote_Update |
|
note_id |
Number | The id number of the note to be updated | |
Content |
String | Yes | New text content for the note specified |
Response Body 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": "QuoteNote_Update",
"Note_ID": 17,
"Content": "This text replaces the content in note 17."
}
Example Response#
{
"success": 1
}
Error Responses#
| Error Code | Error Message | Error Description |
|---|---|---|
| MER-UTL-QUOTES-00348 | Note not found | Note not found |
| MER-UTL-QUOTES-00349 | Unable to load note: Note_ID must be specified | Unable to load note |