Skip to main content
PATCH
JavaScript

Autorizzazioni

Authorization
string
header
obbligatorio

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

Parametri del percorso

customer_id
string
obbligatorio

Customer Id

Corpo

application/json
email
string | null
metadata
null | Metadata · object

Additional metadata for the customer

name
string | null
phone_number
string | null

Risposta

business_id
string
obbligatorio
created_at
string<date-time>
obbligatorio
customer_id
string
obbligatorio
email
string
obbligatorio
name
string
obbligatorio
blocked_at
string<date-time> | null

When the merchant blocked this customer. The dashboard shows the "Blocked" badge and the unblock action from it. The list route leaves it empty; only the single-customer route resolves it.

blocklist_entry_id
string | null

Blocklist entry behind blocked_at, so the dashboard can link to it.

metadata
Metadata · object

Additional metadata for the customer

phone_number
string | null
Ultima modifica il 28 maggio 2026