Update Customer

Access Endpoint URL: https://rest.everyware.com/api/default/updatecustomer [POST]

Summary

You can use the UpdateCustomer method to change the profile information associated with a particular contact/customer. Either an ExternalID or IndividualID must be provided in order to accurately identify the target within our system. All other parameters are optional.

Inbound Parameters

Parameters should be passed in a single JSON-body object.

Parameter NameDescriptionOptional/Required
FirstNameThe first name of the contact/customer targeted for the update.Optional
LastNameThe last name of the contact/customer targeted for the update.Optional
EmailThe email of the contact/customer targeted for the update.Optional
MobilePhoneThe mobile phone number (10-digits max, no formatting) of the contact/customer targeted for the update.

Example: 3055551212
Optional
SecondaryPhoneA second phone number (10-digits max, no formatting) of the contact/customer targeted for the update.Optional
TitleThe title of the contact/customer targeted for the update.Optional
CompanyNameThe name of the company at which the contact/customer targeted for the update is employed.Optional
Address1Line one of the address of the contact/customer targeted for the update.Optional
Address2Line two of the address of the contact/customer targeted for the update.Optional
CityThe city in the address of the contact/customer targeted for the update.Optional
CountryCodeThe country code in the address of the contact/customer targeted for the update.

Example: United States = US
Optional
StateCodeThe state code in the address of the contact/customer targeted for the update.

Format: 2-letter code (TX,FL, etc.)
Optional
PostalCodeThe postal/zip code in the address of the contact/customer targeted for the update.Optional
ListIDThe ID associated with the list in which the contact/customer targeted for the update can be found.Optional
CustomField1Custom field definitions apply to an entire sales site and can be used for various purposes.Optional
CustomField2Custom field definitions apply to an entire sales site and can be used for various purposes.Optional
CustomField3Custom field definitions apply to an entire sales site and can be used for various purposes.Optional
CustomField4Custom field definitions apply to an entire sales site and can be used for various purposes.Optional
CustomField5Custom field definitions apply to an entire sales site and can be used for various purposes.Optional
CustomField6Custom field definitions apply to an entire sales site and can be used for various purposes.Optional
CustomField7Custom field definitions apply to an entire sales site and can be used for various purposes.Optional
ExternalIDThe ID in an external system associated with the contact/customer targeted for the update. Used for tracking customers across systems.*Required

Either the ExternalID or IndividualID must be provided.
IndividualIDThe ID in the Everyware system associated with the contact/customer targeted for the update.*Required

Either the ExternalID or IndividualID must be provided.

Sample Code

{
    "FirstName": "John",
    "LastName": "Smith",
    "Email": "",
    "MobilePhone": "",
    "SecondaryPhone": "",
    "Title": "",
    "CompanyName": "Austin Burritos",
    "Address1": "",
    "Address2": "",
    "City": "Austin",
    "CountryCode": "US",
    "StateCode": "TX",
    "PostalCode": "78702",
    "ListID": "",
    "CustomField1": "",
    "CustomField2": "",
    "CustomField3": "",
    "CustomField4": "",
    "CustomField5": "",
    "CustomField6": "",
    "CustomField7": "",
    "ExternalID": "",
    "IndividualID": "0987643",
}
curl --location 'https://rest.everyware.com/api/Default/UpdateCustomer' \
--header 'Authorization: Basic [xxx]' \
--header 'Content-Type: application/json' \
--data-raw '{
    "FirstName": "John",
    "LastName": "Smith",
    "Email": "",
    "MobilePhone": "",
    "SecondaryPhone": "",
    "Title": "",
    "CompanyName": "Austin Burritos",
    "Address1": "",
    "Address2": "",
    "City": "Austin",
    "CountryCode": "US",
    "StateCode": "TX",
    "PostalCode": "78702",
    "ListID": "",
    "CustomField1": "",
    "CustomField2": "",
    "CustomField3": "",
    "CustomField4": "",
    "CustomField5": "",
    "CustomField6": "",
    "CustomField7": "",
    "ExternalID": "",
    "IndividualID": "0987643",
}'
{
	"OrderNumber": null,
	"SMSID": null,
	"IsSuccess": true,
	"Message": "The customer has been successfully updated.",
  "Data": "0987643"
}