Update

Required

NameDescriptionType
customerIdThe ID of the customer being updated.string
customerDataThe customer data being updated.customerDataType

Common customerDataType Attributes

These are common attributes that are typically assigned to customers. This list may change depending on the attributes settings in Customers > Attributes > Manage Customer Attributes page in Admin Panel. For example, a required status of the middlename attribute (Middle Name/Initial) may be changed to 'YES".

Attribute CodeDescriptionType
firstnameThe customers first name.string
lastnameThe customers last name.string
passwordThe customers password. The password must contain minimum 7 characters.string
group_idCustomer Group ID.int
prefixCustomer prefix.string
middlenameCustomer middlename.string
suffixCustomer suffix.string
taxvatCustomer Tax or VAT number.string
tax_class_idCustomer Tax Class ID. Use null to set the same as the Customer Group.int

Other customerDataType Data

This is non-attribute data or actions that are associated with creating the customer.

NameDescriptionType
storecreditWill add a store credit balance to the customer.storeCreditConfig (defined below)

storeCreditConfig

Attribute CodeDescriptionType
balanceThe amount of credit given to the customer.number
commentA comment added to the store credit balance history.string
send_emailA flag to send an email to the customer letting them know the balance has been updated.string (1,0)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
customerData
object
Response
200

OK

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!