Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Customer name

Maximum string length: 255
email
string<email>
required

Customer email

partner_id
string<uuid>
required

UUID of the referring partner (must belong to the same organization)

phone
string

Phone number (optional)

Maximum string length: 50
address
object

Address object (optional)

metadata
object

Arbitrary metadata (optional)

uid
string | null

EU VAT ID (UID) of the business, e.g. ATU12345678. Spaces and the separators - . / are removed and letters uppercased; after that it must be a 2-letter country prefix plus 2–12 characters (otherwise 400). Unique per partner account. null is treated as not given.

Maximum string length: 40
Example:

"ATU12345678"

partner_client_reference
string | null

Your own ID for this business. Trimmed, matched exactly (case-sensitive). Unique per partner account; checked before uid. null is treated as not given.

Maximum string length: 255
Example:

"WIN-10457"

Response

Existing customer reused — your partner account already has a customer with this partner_client_reference or uid. Nothing was created.

success
boolean
Example:

true

reused
boolean

true (HTTP 200) when an existing customer was returned, false (HTTP 201) when one was created

data
object