POST
/
customers
/
add
{
  "data": {
    "CustomerId": "0329ed49-28dd-11ef-af4e-0ef0812e6179",
    "customerEmail": "sally@software.com",
    "customerPhone": "9987654321",
    "firstName": "Sally",
    "lastName": "Sanders"
  },
  "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
Example:

"sally@software.com"

first_name
string
Example:

"Sally"

last_name
string
Example:

"Sanders"

merchant_key
string
Example:

"{{merchant_key}}"

phone_number
string
Example:

"9987654321"

Response

200 - application/json
Create Customer
data
object
message
string
Example:

"Customer added successfully"

result
boolean
Example:

true