Skip to main content
POST
/
customers
/
create
Create customer
curl --request POST \
  --url https://api.orafi.app/v1/customers/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "firstname": "<string>",
  "lastname": "<string>",
  "email": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "firstname": "<string>",
    "lastname": "<string>",
    "email": "<string>",
    "totalSpent": 123
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
firstname
string
lastname
string
email
string

Response

201 - application/json

Customer created

success
boolean
message
string
data
object