{ "error": { "type": "request_error", "code": "customer_already_exists", "detail": "Customer email conflicts with existing customer ID ctm_01ghbk4xjn4qdsmstcwzgcgg35.", "documentation_url": "https://developer.paddle.com/errors/customers/customer_already_exists" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 409
- Error code
customer_already_exists- Error message
- Customer email conflicts with existing customer ID %s.
Common causes
- Another customer already uses this
email. Email addresses are unique regardless of letter case, andarchivedcustomers still count. - You're updating a customer's
emailto an address that another customer already uses. - Multiple requests to create a customer with the same email address were made.
- A third-party integration you authorized may be trying to create a customer that already exists.
Troubleshooting
- Get the ID of the existing customer from the error
detailand use that for subsequent requests. - To find the existing customer, list customers using the
emailquery parameter withstatus=active,archived. Archived customers aren't returned by default. - If the existing customer is
archived, set itsstatustoactiveto use it again. - Don't send multiple requests to create a customer with the same email address.