v1
latestOpenAPI 3.0.12026-07-22154142.9 KBCustomers
Create a customer
Creates a customer under the authenticated partner tenant. Returns 201 Created for a new customer, or 200 OK when a customer with the same email already exists and is returned instead of duplicated (created: false). Idempotent on the Idempotency-Key header: replaying the same key returns the original result — the same response and status as the first call — never a duplicate. If a create fails before it commits, the key is released; fix the request and retry with the same key.
post/v1/partner/customers
Headers
Idempotency-Keystring required
Unique key that makes the create safe to retry. Reuse the same value to retry; if the create fails before committing, the key is released, so retry with the same value.
Request body
Example request
{
"email": "founder@example.com",
"firstName": "Ada",
"lastName": "Lovelace",
"countryOfResidence": "USA",
"phoneNumber": "+12125550100"
}Response
OK