Skip to content



This function inserts an address into an existing customer.

Request Parameters#

Type Description
address1 Number The first address field
address2 Number The second address field
city String The city for the address
company String The company name for the address
country String The country for the address
customer_id Number The id number of the customer
description String The description for the address
email String The email for the address
fax String The fax number for the address
firstname String The first name for the address
lastname String The last name for the address
phone String The phone number for the address
residential Boolean Boolean value indicating if the address is residential
state String The state for the address
zip String The zip code for the address

Response Parameters#

Type Description
success Boolean Boolean value indicating if the API request was successful

Example Request#

    "Store_code": "beta",
    "Function": "CustomerAddress_Insert",
    "Address1": "2 Main St.",
    "Address2": "",
    "City": "Long Beach",
    "Company": "Bad",
    "Country": "US",
    "Customer_ID": 12,
    "Description": "Sleeping Dog",
    "Email": "",
    "Fax": "",
    "FirstName": "Sleep",
    "LastName": "Dogg",
    "Phone": "1234567890",
    "Residential": false,
    "State": "CA",
    "Zip": "92000"

Example Response#

    "success": 1