Skip to main content
PATCH
Update a customer

Authorizations

Authorization
string
header
required

API key starting with sk_live_ or sk_test_

Path Parameters

id
string
required

Body

application/json
name
string
email
string
metadata
object | null

Arbitrary key-value metadata (max 50 keys)

Response

200 - application/json

Customer updated

id
string
Example:

"cu_abc123"

phone
string
Example:

"+2389001234"

operator
enum<string>

Mobile money operator

Available options:
CVMOVEL,
UNITEL_TMAIS,
MOCK
country
enum<string>

ISO 3166-1 alpha-2 country code

Available options:
CV,
AO
name
string | null
email
string | null
metadata
object | null

Arbitrary key-value metadata (max 50 keys)

createdAt
string<date-time>
updatedAt
string<date-time>