Skip to main content

Update a customer

Updates an identified saved customer resource's personal details.

The request only overwrites the parameters included in the request, all other parameters will remain with their initially assigned values.

Request Body
  • personal_details object

    Personal details for the customer.

  • first_name string

    First name of the customer.

  • last_name string

    Last name of the customer.

  • email string

    Email address of the customer.

  • phone string

    Phone number of the customer.

  • birthdate date

    Date of birth of the customer.

  • address object

    Account's personal address information.

  • city string

    City name from the address.

  • country string required

    Two letter country code formatted according to ISO3166-1 alpha-2.

  • line1 string

    First line of the address with details of the street name and number.

  • line2 string

    Second line of the address with details of the building, unit, apartment, and floor numbers.

  • postal_code string

    Postal code from the address.

  • state string

    State name or abbreviation from the address.

Responses

Created


Schema
  • customer_id string

    Unique ID of the customer.

  • personal_details object

    Personal details for the customer.

  • first_name string

    First name of the customer.

  • last_name string

    Last name of the customer.

  • email string

    Email address of the customer.

  • phone string

    Phone number of the customer.

  • birthdate date

    Date of birth of the customer.

  • address object

    Account's personal address information.

  • city string

    City name from the address.

  • country string

    Two letter country code formatted according to ISO3166-1 alpha-2.

  • line1 string

    First line of the address with details of the street name and number.

  • line2 string

    Second line of the address with details of the building, unit, apartment, and floor numbers.

  • postal_code string

    Postal code from the address.

  • state string

    State name or abbreviation from the address.