Quote_Update_Requester_Information
#
Description#
This function updates the Requester Information in a quote.
Request Parameters#
Parameter |
Type | Description |
---|---|---|
function |
String | 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 Quote_Update_Requester_Information |
quote_id edit_quote quote_code |
Number String String |
The id of the quote The code of the quote The code of the quote |
customer_id edit_customer customer_login |
Number String String |
The customer id The customer login The customer login |
requester_firstname |
String | First name |
requester_lastname |
String | Last name |
requester_phone |
String | Phone number |
requester_zip |
String | Zip code |
requester_country |
String | Country |
requester_email |
String | Email address |
requester_comment |
String | Comments attached to the requester information |
requester_terms |
String | Terms |
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": "Quote_Update_Requester_Information",
"Quote_ID": 1000,
"Customer_ID": 2,
"Requester_FirstName": "Kofi",
"Requester_LastName": "Pot",
"Requester_Phone": "801-123-7895",
"Requester_Zip": "10021",
"Requester_Country": "US",
"Requester_Email": "kofipot@email.com",
"Requester_Comment": "Kofi has an affinity for Pots",
"Requester_Terms": ""
}
Example Response#
{
"success": 1
}
Error Responses#
Error Code | Error Message | Error Description |
---|---|---|
MER-UTL-QUOTES-00343 | Quote not found | Quote not found |
MER-UTL-QUOTES-00346 | Unable to load quote: One of Quote_ID, Edit_Quote, or Quote_Code must be specified | Unable to load quote |