Customers

Update a customer

Updates a customer profile. Send the fields you want the customer to end up with — customFields replaces the existing array rather than merging into it.

put/v2/customers/{id}

Request

  • Base URL: https://test-api.kashier.io
  • URL: https://test-api.kashier.io/v2/customers/{id}
  • Auth: API key in header Authorization

Path parameters

idstring required

The customer's record id.

Request body

namestring required

The customer's name.

phoneNumberstring

The customer's phone number.

emailAddressstring

The customer's email address.

countryCodestring

Dialling code for the phone number, e.g. +20.

preferredCommunicationChannel'sms' | 'email'

Which channel to reach the customer on when both an email address and a phone number are set.

labelsstring[]

Labels to tag the customer with.

Response

The updated customer.

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.