Edit Customer

This request allows you to edit a customer's information.

{
   "customer":{
      "birthdate":"04/25/2021",
      "email":"[email protected]",
      "primary-address":{
         "city":"SAN FRANCISCO",
         "address1":"123 Oak Lanes",
         "zipcode":"94102",
         "address2":"Test Line"
      },
      "generation_code":"jr",
      "ssn":"801256845",
      "company_name":"Test Company",
      "contact_name":"New Name",
      "mail-address":{
         "zipcode":"94102",
         "address1":"123 Oak Lanes",
         "city":"SAN FRANCISCO",
         "state":"CA",
         "country":"USA",
         "address2":"Test Line"
      },
      "gender":"female",
      "driver_license":"12356587",
      "credit_limit":50
   }
}

Instructions

This request allows you to edit a customer's information. The endpoint requires the customer's ID, which can be found with a Get Customers request.

📘

Try It

To get a 200 response from this request, you just need a valid customer ID. We have provided an example customer's ID, and you can experiment with changing the customer information values. If you'd like to edit a customer within your account, make sure to update the headers to match your authentication information.

If you copy the payload into your own REST client, note that you can't leave the generation_code field blank. If the customer doesn't use a generation suffix, use "none" in that field.

The most common error is a 425, which typically means that one of your values is invalid. For instance, you might have a customer ID that doesn't exist or an SSN with too few digits.

Language
Authorization
Click Try It! to start a request and see the response here!