Skip to main content
POST
Create a customer

Authorizations

Authorization
string
header
required

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

Headers

X-Trace-Id
string

A unique identifier to track this operation. It must be between 12 and 255 characters in length.

Required string length: 12 - 255
X-Idempotency-Key
string

A unique identifier to prevent duplicate requests. It must be between 12 and 255 characters in length.

Required string length: 12 - 255

Body

application/json
email
string
required

The Customer's email address.

Pattern: ^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$
Example:

"cornelius@gmail.com"

address
object

Customer address information.

meta
object
name
object

The Customer's full name.

phone
object

The customer's mobile number.

Example:

Response

OK

status
enum<string>
Available options:
success,
failed
message
string
data
object