Create Customer
Customers
Create Customer
Create a new customer
POST
Create Customer
Create Customer
Creates a new customer record in the store.Request
Body Parameters
Customer email address (must be unique)
Customer’s first name
Customer’s last name
Customer’s phone number
Whether customer has opted in to marketing emails
Array of tags for organizing customers
Internal notes about the customer
Whether customer is exempt from taxes
Array of customer addresses
Whether to send account activation email
Set customer password (min 8 characters). If not provided, customer must activate via email.
Password confirmation (required if password is provided)
Response
Whether the request succeeded
The created customer object (same structure as Get Customer response)
Example Response
Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Invalid or missing access token |
FORBIDDEN | App doesn’t have write_customers scope |
VALIDATION_ERROR | Invalid request body |
DUPLICATE_EMAIL | A customer with this email already exists |
INVALID_PASSWORD | Password doesn’t meet requirements |