Skip to main content
PATCH
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Body

application/json
email
string
name
string | null
first_name
string | null
last_name
string | null
customer_type
enum<string>
Available options:
paid,
free,
lead
notes
string | null
tag_ids
string[]

Response

Customer updated

id
string
required
object
string
required
email
string
required
name
string | null
required
first_name
string | null
required
last_name
string | null
required
customer_type
enum<string>
required
Available options:
paid,
free,
lead
notes
string | null
required
confirmed_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
orders_count
integer
required
total_spend
number
required
tags
array
required