Skip to main content
PATCH
Update a customer

Authorizations

X-Suby-Api-Key
string
header
required

Secret API key. sk_live_… (production) or sk_sandbox_… (sandbox).

Path Parameters

id
string
required
Example:

"cus_abc123"

Body

application/json
firstName
string
Maximum string length: 100
lastName
string
Maximum string length: 100
billingAddress
object | null
externalRef
string

Update the merchant business reference (empty string clears it).

Maximum string length: 120

Response

Customer updated

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload.

message
string