Skip to main content
POST
Upsert a customer

Authorizations

Authorization
string
header
required

Bearer token from POST /generate-token. Expires ~1h; on 401, re-generate and retry once.

Body

application/json
type
enum<string>
required
Available options:
PERSON,
BUSINESS
customerId
string<uuid>

Omit to create; include to update.

mobile
string
email
string<email>
dob
string

yyyy-MM-dd

nationalId
string
address
object

Response

Customer upserted