Create a customer
Creates a new customer with optional billing and shipping addresses. The customer email must be unique within your account.
Body Parameters
Customer's first name
Customer's email address
Two-letter ISO country code
Customer's last name
Company name (if applicable)
Customer's phone number
Preferred language/locale code
Timezone offset from UTC
Use billing address as shipping address
UUID of the teammate to assign
Billing address and contact information for the customer
Billing contact first name
Billing contact last name
Two-letter ISO country code for the billing address
Billing street address
Billing address city
Company name for billing
Billing address postal/zip code
Billing address state or province
Billing contact email address
Billing contact phone number
VAT identification number for tax purposes
Preferred language/locale for billing communications
Whether the billing entity is a company
Authorized representative name (for company billing)
Whether this billing address should also be used as the shipping address
Shipping address and delivery information for the customer
Shipping recipient first name
Shipping recipient last name
Two-letter ISO country code for the shipping address
Shipping street address
Shipping address city
Company name for shipping label
Special delivery instructions or notes
Shipping address postal/zip code
Shipping address state or province
Shipping contact email address
Shipping contact phone number
Preferred language/locale for shipping communications
Marks this as a valid shipping address
{
"name": "John",
"last_name": "Doe",
"email": "[email protected]",
"country": "de",
"locale": "en",
"billing_information": {
"name": "John",
"last_name": "Doe",
"country": "de",
"address": "123 Main St",
"city": "Berlin",
"postcode": "10115",
"email": "[email protected]"
}
}
Responses
Customer created successfully
Validation or business-logic error.
| Code | Description |
|---|---|
10142 | A customer with this email already exists in your account |
Unauthorized – invalid or missing Bearer token