Update a customer
Every field is optional. The address lists replace the stored ones, they are not merged.
/customer/{id}AuthorizationAPI key · headerrequiredThe Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.
idstringrequiredapplication/jsonemailstringCustomer email.
firstNamestringFirst name.
lastNamestringLast name.
accountTypestringAccount type.
customIdstringCustom customer id.
phonestringPhone number.
departmentstringDepartment.
companyNamestringCompany name.
profitCenterNamestringName of an existing profit center.
customerStatusNamestringName of an existing customer status.
customerGroupNamestringName of an existing customer group.
billingAddressesobject[]Billing addresses.
Show propertiesHide properties
objectfirstNamestringrequiredFirst name.
lastNamestringrequiredLast name.
addressstringrequiredStreet address.
addressSecondLinestringrequiredSecond address line.
citystringrequiredCity.
telephonestringrequiredTelephone.
emailstringrequiredEmail.
companyNamestringCompany name.
postCodestringPost code.
countryNamestringCountry name.
countryISOstringISO country code.
shippingAddressesobject[]Shipping addresses.
Show propertiesHide properties
objectfirstNamestringrequiredFirst name.
lastNamestringrequiredLast name.
addressstringrequiredStreet address.
addressSecondLinestringrequiredSecond address line.
citystringrequiredCity.
telephonestringrequiredTelephone.
emailstringrequiredEmail.
companyNamestringCompany name.
postCodestringPost code.
countryNamestringCountry name.
countryISOstringISO country code.
regionsinteger[]Quotation form region ids.
OK. Returns only the id — fetch the full Customer with the corresponding GET.
idinteger | stringrequiredId of the updated Customer.
Show propertiesHide properties
integerstringAuthentication failed. All causes return this identical response.
codeintegermessagestringtypestringDownstream errors pass through verbatim; x-error-source names the failing service.
codeintegermessagestringtypestring