Skip to main content
PUT
Update or archive a customer

Example request

Only the fields you send change. billing_address is accepted as a nested alias for the flat address fields — a flat field wins when both are supplied, and postal_code/zip are synonyms.

Errors

See Errors for the error envelope and the full code taxonomy.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
email
string<email>
phone
string
tax_id
string
gstin
string
tax_type
enum<string>
Available options:
business,
consumer
place_of_supply
string
tax_exempt
boolean

US sales-tax exemption status (D2).

tax_exemption_number
string

Exemption/resale certificate number.

tax_exemption_code
string

Provider entity-use / usage code (also the reason).

tax_exemption_expires_at
string<date>

Exemption certificate expiry (YYYY-MM-DD); empty/omitted = no expiry. Past this date the buyer is charged tax again (Inc 2).

line1
string
city
string
state
string
zip
string
country
string
Required string length: 2
active
boolean

Response

Updated customer.

data
object