Skip to main content
POST
/
customers
/
add
Error
A valid request URL is required to generate request examples
{
  "data": {
    "customer_email": "[email protected]",
    "customer_id": "f1070284-5fda-11ef-bae5-0ef0812e6179",
    "customer_phone": "5134140000"
  },
  "message": "Customer added successfully",
  "result": true
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
email
string
first_name
string
Example:

"John"

last_name
string
Example:

"Doe"

merchant_key
string
Example:

"{{merchant_key}}"

phone_number
string
Example:

"5134140000"

Response

200 - application/json

Create Customer

data
object
message
string
Example:

"Customer added successfully"

result
boolean
Example:

true