Skip to main content
POST
Add Customer

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-lang
string
default:en

Language support

Example:

"en"

Body

application/json
name
string

Customer's name

Example:

"John Doe"

phone
string

Customer's phone

Example:

"+12345678999"

Response

Successful Response

id
string

Customer's id

name
string

Customer's name

phone
string

Customer's phone

email
string | null

Customer's email

balance
number

Current balance of customer

lifetimePoints
number

The cumulative points earned, excluding redeemed points