Admin Customers

Create a new customer

Create a new customer

post/customers

Request

Request body

first_namestring required
last_namestring required
emailstring required
phonestring nullable
gender'Male' | 'Female' | 'Other' nullable
date_of_birthstring nullable
customer_group_idinteger required
channel_idinteger nullable
statusinteger
subscribed_to_news_letterboolean nullable
send_passwordboolean

When true, generate a random password and email credentials. When false, the explicit password field is required.

passwordstring nullable

Example request

{
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "jane@example.com",
  "date_of_birth": "1990-01-01",
  "customer_group_id": 2,
  "status": 1,
  "send_password": true
}

Response

Customer created.

Changes

No recorded changes to this operation across all 8 revisions of this API.