24/7 Support: 800.608.6482

Navigation


Customer_Update

This function allows you to update an existing customer record.

This function takes one of three input parameters to identify the customer: Customer_ID, Customer_Login or Edit_Customer

Request Body Parameters

Customer_ID Type:
Number
Title:
Customer Id
Id of customer to delete
Customer_Login Type:
String
Title:
Customer Login
Login of customer to delete
Edit_Customer Type:
String
Title:
Edit Customer
Login of customer to delete. This parameter is typically used when you need to change the customer_login value
Customer_PasswordEmail Type:
String
Title:
Customer Password Email
Forgot Password Email. This is also used as the email address to log into the account
Customer_Password Type:
String
Title:
Customer Password
Customer Password. This password will get encrypted when the recored is created.
Customer_ShipResidential Type:
Boolean
Title:
Customer Ship Residential Flag
Boolean flag used to determine if commercial or resential rates are returned.
Customer_ShipFirstName Type:
String
Title:
Customer_ShipFirstName
Shipping First Name to assign to a customer
Customer_ShipLastName Type:
String
Title:
Customer Shipping Lastname
Shipping Last Name to assign to a customer
Customer_ShipEmail Type:
String
Title:
Customer_ShipEmail
Shipping Email address to assign to a customer
Customer_ShipCompany Type:
String
Title:
Customer_ShipCompany
Shipping Company name to assign to a customer
Customer_ShipPhone Type:
String
Title:
Customer_ShipPhone
Shipping Phone Number to assign to a customer
Customer_ShipFax Type:
String
Title:
Customer_ShipFax
Shipping Fax Number to assign to a customer
Customer_ShipAddress1 Type:
String
Title:
Customer_ShipAddress1
Shipping Address 1 to assign to a customer
Customer_ShipAddress2 Type:
String
Title:
Customer_ShipAddress2
Shipping Address 2 to assign to a customer
Customer_ShipCity Type:
String
Title:
Customer_ShipCity
Shipping City to assign to a customer
Customer_ShipState Type:
String
Title:
Customer_ShipState
Shipping State to assign to a customer. 2 digit state code
Customer_ShipZip Type:
String
Title:
Customer_ShipZip
Shipping Zip Code to assign to a customer
Customer_ShipCountry Type:
String
Title:
Customer_ShipCountry
Shipping Country to assign to a customer. 2 digit country code
Customer_BillFirstName Type:
String
Title:
Customer_BillFirstName
Billing First Name to assign to a customer
Customer_BillLastName Type:
String
Title:
Customer_BillLastName
Billing Last Name to assign to a customer
Customer_BillEmail Type:
String
Title:
Customer_BillEmail
Billing Email Address to assign to a customer
Customer_BillCompany Type:
String
Title:
Customer_BillCompany
Billing Company to assign to a customer
Customer_BillPhone Type:
String
Title:
Customer_BillPhone
Billing Phone Number to assign to a customer
Customer_BillFax Type:
String
Title:
Customer_BillFax
Billing Fax Number to assign to a customer
Customer_BillAddress1 Type:
String
Title:
Customer_BillAddress1
Billing Address 1 to assign to a customer
Customer_BillAddress2 Type:
String
Title:
Customer_BillAddress2
Billing Address 2 to assign to a customer
Customer_BillCity Type:
String
Title:
Customer_BillCity
Billing City to assign to a customer
Customer_BillState Type:
String
Title:
Customer_BillState
Billing State to assign to a customer. 2 digit state code
Customer_BillZip Type:
String
Title:
Customer_BillZip
Billing Zip Code to assign to a customer
Customer_BillCountry Type:
String
Title:
Customer_BillCountry
Billing Country to assign to a customer. 2 digit country code.
Customer_Tax_Exempt Type:
Boolean
Title:
Customer_Tax_Exempt
Flag to determine if customer is tax exempt
Customer_BusinessAccount Type:
Number
Title:
Customer BusinessAccount
Id of the business accout to assign the customer to
CustomField_Values Type:
Object
Title:
Custom Field Value
Object containing custom field modules
customfield Type:
Object
Title:
Module Name
Object containing custom field name value pairs

Response Parameters

success Type:
Boolean
Title:
Success
Value of 1 or 0 if the update was successful

Example Request

Example Response

Error Responses

error code
#Error#
error message
Unable to load customer: One of Edit_Customer, Customer_ID or Customer_Login must be specified
  Missing one of the 3 required customer identifiers.

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2023 Miva©, Miva Merchant©, MivaPay©, MivaCon©, Camp Miva ℠, Miva, Inc. All Rights Reserved.