Customer

Update customer record

Update a customer record. Include only the fields you want to change.

put/Customer/{customerId}

Request

  • Base URL: https://api-sandbox.payabli.com/api
  • URL: https://api-sandbox.payabli.com/api/Customer/{customerId}
  • Auth: HTTP bearer

Path parameters

customerIdinteger required

Payabli-generated customer ID. Maps to "Customer ID" column in the Payabli Portal.

Request body

customerNumberstring

User-provided unique identifier for the customer. This is typically the customer ID from your own system.

customerUsernamestring

Customer username for customer portal

customerPswstring

Customer password for customer portal

customerStatusinteger

Customer Status. Possible values:

  • -99 Deleted
  • 0 Inactive
  • 1 Active
  • 85 Locked (typically due to multiple failed login attempts)
companystring

Company name

firstnamestring

Customer first name

lastnamestring

Customer last name

phonestring

Customer phone number. Payabli normalizes this value when it's stored. For example, (555) 555-0100 is stored as +15555550100.

emailstring email

Email address.

addressstring

Customer address

address1string

Additional customer address

citystring

Customer city

statestring

Customer State

zipstring

Customer postal code

countrystring

Customer country in ISO-3166-1 alpha 2 format. See https://en.wikipedia.org/wiki/ISO_3166-1 for reference.

shippingAddressstring

The shipping address.

shippingAddress1string

Additional line for shipping address.

shippingCitystring

Shipping city.

shippingStatestring

Shipping state or province.

shippingZipstring

Shipping ZIP code. For Pay In functions, this field supports 5-digit and 9-digit ZIP codes and alphanumeric Canadian postal codes. For example: 37615-1234 or 37615.

shippingCountrystring

Shipping address country.

balancenumber double

Customer balance.

timeZoneinteger

Timezone, in UTC offset. For example, -5 is Eastern time.

additionalFieldsobject

Additional Custom fields in format "key":"value".

identifierFieldsstring[]

List of fields acting as customer identifiers, to be used instead of CustomerNumber.

createdAtstring date-time

Timestamp of when record was created, in UTC.

Response

Success

responseCodeinteger

Code for the response. Learn more in API Response Codes.

pageIdentifierstring

Auxiliary validation used internally by payment pages and components.

roomIdinteger

Describes the room ID. Only in use on Boarding endpoints, returns 0 when not applicable.

isSuccessboolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseTextstring required

Response text for operation: 'Success' or 'Declined'.

Changes

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