cURL
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 } }
Create a new customer
Customer created
Show child attributes