Skip to content

UpdateCustomer

Field Type Required Description
externalCustomerNumber string External Customer number
firstName string First name of the customer
middleName `string null`
lastName string Last name of the customer
emailAddress string format: email
status Status one of: active, inactive, deleted · default: "active"
isAnonymous boolean Indicates anonymous/guest customer.
default: false
taxExempt boolean Indicates if customer is exempted from tax.
taxClass `string null`
contacts array[ContactSync]
attributes array[CustomerAttribute]
settings CustomerSettings All customer settings which are defined by Shopgate
externalUpdateDate string format: date-time
{
"externalCustomerNumber": "10001",
"firstName": "John",
"middleName": "Doug",
"lastName": "Doe",
"emailAddress": "john.doe@shopgate.com",
"status": "active",
"isAnonymous": true,
"taxExempt": true,
"contacts": [
{}
],
"attributes": [
{
"code": "tshirtSize",
"value": {
"code": "l"
}
},
{
"code": "nameOfCat",
"value": "Some Cats Name"
}
],
"settings": {
"defaultLocale": "en-us",
"defaultCurrency": "USD",
"communicationPreferences": [
"email",
"push",
"sms"
],
"defaultLocationCode": "DERetail001",
"marketingOptIn": true
}
}