Update a specific customer's information
Path parameters
-
customer_id
string Required Customer ID
Body
Update an existing customer
-
name_prefix
string Prefix to the customer's name
-
name_first
string Customer's first name
-
name_middle
string Customer's middle name
-
name_last
string Customer's last name
-
name_suffix
string Prefix to the customer's name
-
phone_number
string Phone number of the customer
-
address_line_one
string Address line one
-
address_line_two
string Address line two
-
address_city
string Address city
-
address_state
string Address state.
-
address_zip
string Address zip code
-
email
string(email) The email address of this Customer
-
ssn
string Social security number of the customer
-
date_of_birth
string(date-time) Customer's date of birth
PUT
/customers/{customer_id}
curl \
-X PUT https://sandbox-api.canopyservicing.com/customers/1001 \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name_prefix":"Dr.","name_first":"Miriam","name_middle":"Louise","name_last":"Trevino","name_suffix":"Jr","phone_number":"555-555-5555","address_line_one":"12 Strawberry Road","address_line_two":"Suite 101","address_city":"Atlanta","address_state":"GA","address_zip":"99999-1000","email":"marissa@protonmail.com","ssn":"888-88-8888","date_of_birth":"2018-06-20T09:12:30+00:00"}'
Request example
{
"name_prefix": "Dr.",
"name_first": "Miriam",
"name_middle": "Louise",
"name_last": "Trevino",
"name_suffix": "Jr",
"phone_number": "555-555-5555",
"address_line_one": "12 Strawberry Road",
"address_line_two": "Suite 101",
"address_city": "Atlanta",
"address_state": "GA",
"address_zip": "99999-1000",
"email": "marissa@protonmail.com",
"ssn": "888-88-8888",
"date_of_birth": "2018-06-20T09:12:30+00:00"
}
Request examples
{
"name_prefix": "Dr.",
"name_first": "Miriam",
"name_middle": "Louise",
"name_last": "Trevino",
"name_suffix": "Jr",
"phone_number": "555-555-5555",
"address_line_one": "12 Strawberry Road",
"address_line_two": "Suite 101",
"address_city": "Atlanta",
"address_state": "GA",
"address_zip": "99999-1000",
"email": "marissa@protonmail.com",
"ssn": "888-88-8888",
"date_of_birth": "2018-06-20T09:12:30+00:00"
}
Response examples (200)
{
"customer_id": "31mNprzLd2bKl6koVna68ARM",
"name_prefix": "Dr.",
"name_first": "Miriam",
"name_middle": "Louise",
"name_last": "Trevino",
"name_suffix": "Jr",
"phone_number": "+14105556789",
"address_line_one": "12 Strawberry Road",
"address_line_two": "Suite 101",
"address_city": "Atlanta",
"address_state": "GA",
"address_zip": "99999-1000",
"address_country_code": "US",
"ssn": "888888888",
"international_customer_id": "9999999999",
"email": "marissa@protonmail.com",
"date_of_birth": "1985-06-20",
"business_details": {
"business_legal_name": "Umbrella Corporation",
"doing_business_as": "Umbrella",
"business_ein": "888-88-8888"
}
}
Response examples (200)
{
"customer_id": "31mNprzLd2bKl6koVna68ARM",
"name_prefix": "Dr.",
"name_first": "Miriam",
"name_middle": "Louise",
"name_last": "Trevino",
"name_suffix": "Jr",
"phone_number": "+14105556789",
"address_line_one": "12 Strawberry Road",
"address_line_two": "Suite 101",
"address_city": "Atlanta",
"address_state": "GA",
"address_zip": "99999-1000",
"address_country_code": "US",
"ssn": "888888888",
"international_customer_id": "9999999999",
"email": "marissa@protonmail.com",
"date_of_birth": "1985-06-20",
"business_details": {
"business_legal_name": "Umbrella Corporation",
"doing_business_as": "Umbrella",
"business_ein": "888-88-8888"
}
}