24/7 Support: 800.608.6482

Get Started

Navigation


Customer_Insert

This function allows you to insert a new customer.

Request Parameters

Customer_Login Type:
String
Title:
Customer Login
Login to assign to a customer
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. /td>
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

id Type:
Number
Title:
Customer Id
Customer Id
account_id Type:
Number
Title:
Business Account Id
Business Account Id
login Type:
String
Title:
Customer Login
Customer Login
pw_email Type:
String
Title:
Customer Forgot Password Email
Forgot Password Email
ship_id Type:
Number
Title:
Shipping Address ID
Address Book Shipping Address ID
ship_res Type:
Boolean
Title:
Customer Ship Residential Flag
Boolean flag used to determine if commercial or resential rates are returned.
ship_fname Type:
String
Title:
Shipping First Name
Shipping First Name
ship_lname Type:
String
Title:
Shipping Last Name
Customer Last Name
ship_email Type:
String
Title:
Shipping Email Address
Shipping Email Address
ship_comp Type:
String
Title:
Shipping Company
Shipping Company
ship_phone Type:
String
Title:
Shipping Phone Number
Shipping Phone Number
ship_fax Type:
String
Title:
Shipping Fax Number
Shipping Fax Number
ship_addr1 Type:
String
Title:
Shipping Address 1
Shipping Address 1
ship_addr2 Type:
String
Title:
Shipping Address 2
Shipping Address 2
ship_city Type:
String
Title:
Shipping City
Shipping City
ship_state Type:
String
Title:
Shipping State
Shipping State. 2 digit state code
ship_zip Type:
String
Title:
Shipping Zip Code
Shipping Zip Code
ship_cntry Type:
String
Title:
Shipping Country
Shipping Country. 2 digit country code
bill_id Type:
Number
Title:
Billing Address Id
Billing Address ID
ship_fname Type:
String
Title:
Customer First Name
Shipping First Name to assign to a customer
ship_lname Type:
String
Title:
Customer Last Name
Customer Last Name
ship_email Type:
String
Title:
Shipping Email Address
Shipping Email Address
ship_comp Type:
String
Title:
Shipping Company
Shipping Company
ship_phone Type:
String
Title:
Shipping Phone Number
Shipping Phone Number
ship_fax Type:
String
Title:
Shipping Fax Number
Shipping Fax Number
ship_addr1 Type:
String
Title:
Shipping Address 1
Shipping Address 1
ship_addr2 Type:
String
Title:
Shipping Address 2
Shipping Address 2
ship_city Type:
String
Title:
Shipping City
Shipping City
ship_state Type:
String
Title:
Shipping State
Shipping State. 2 digit state code
ship_zip Type:
String
Title:
Shipping Zip Code
Shipping Zip Code
ship_cntry Type:
String
Title:
Shipping Country
Shipping Country. 2 digit country code
bill_fname Type:
String
Title:
Bill Address First Name
Billing First Name
bill_lname Type:
String
Title:
Bill Address Last Name
Customer Last Name
bill_email Type:
String
Title:
Billing Email Address
Billing Email Address
bill_comp Type:
String
Title:
Billing Company
Billing Company
bill_phone Type:
String
Title:
Billing Phone Number
Billing Phone Number
bill_fax Type:
String
Title:
Billing Fax Number
Billing Fax Number
bill_addr1 Type:
String
Title:
Billing Address 1
Billing Address 1
bill_addr2 Type:
String
Title:
Billing Address 2
Billing Address 2
bill_city Type:
String
Title:
Billing City
Billing City
bill_state Type:
String
Title:
Billing State
Billing State. 2 digit state code
bill_zip Type:
String
Title:
Billing Zip Code
Billing Zip Code
bill_cntry Type:
String
Title:
Billing Country
Billing Country. 2 digit country code
note_count Type:
Number
Title:
Note Count
Number of Notes assigned to customer record
dt_created Type:
Unix Timestamp
Title:
Date Time Created
Unix timestamp of the date account was created.
dt_login Type:
Unix Timestamp
Title:
Date Time of Last Login
Date Time of Last Login
credit Type:
Number
Title:
Customer Account Credit
Customer Account Credit
formatted_credit Type:
String
Title:
Formatted Customer Account Credit
Currency Formatted Customer Account Credit

Example Request

Example Response

Example Error Responses

Error Response

Error Code
EOF
Message:
"Record not found: MER-UTL-CST-00088"
  Custom Customer Field Code does not exist.

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

Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Links
Contact Us
Receive Tips & Updates

Copyright © 2017 Miva, Inc - All Rights Reserved

Back To The Top