POST
/
Customer
/
single
/
{entry}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Headers

idempotencyKey
string

A unique ID you can include to prevent duplicating objects or transactions if a request is sent more than once. This key is not generated in Payabli, you must generate it yourself.

Path Parameters

entry
string
required

The paypoint's entrypoint identifier. Learn more

Query Parameters

replaceExisting
integer
default:
0

Flag indicating to replace existing customer with a new record Possible values: 0(do not replace), 1(replace). Default is "0"

forceCustomerCreation
boolean
default:
false

When true, the request creates a new customer record, regardless of whether customer identifiers match an existing customer.

Body

Data pertaining to single customer. See customerData Object Model for a complete reference.

additionalFields
object | null

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

address
string | null

Customer address

address1
string | null

Additional customer address

balance
number | null

Customer balance.

city
string | null

Customer city

company
string | null

Company name

country
string | null

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

createdAt
string

Timestamp of when record was created, in UTC.

customerNumber
string | null

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

Maximum length: 250
customerPsw
string | null

Customer password for customer portal

customerStatus
integer | null

Customer Status. Possible values:

  • -99 Deleted
  • 0 Inactive
  • 1 Active
  • 85 Locked (typically due to multiple failed login attempts)
customerUsername
string | null

Customer username for customer portal

email
string | null

Customer email address

firstname
string | null

Customer first name

identifierFields
(string | null)[] | null

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

lastname
string | null

Customer last name

phone
string | null

Customer phone number

shippingAddress
string | null

The shipping address.

Maximum length: 250
shippingAddress1
string | null

Additional line for shipping address.

Maximum length: 100
shippingCity
string | null

Shipping city.

Maximum length: 250
shippingCountry
string | null

Shipping address country.

shippingState
string | null

Shipping state or province.

shippingZip
string | null

Shipping ZIP code.

Maximum length: 50
state
string | null

Customer State

timeZone
integer | null
default:
0

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

zip
string | null

Customer zip code

Response

200 - application/json
isSuccess
boolean

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

responseData
object
responseText
string | null

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

Was this page helpful?