Update a customer

View as Markdown
Partial update. Send only the fields you want to change.

Authentication

AuthorizationBearer

Send your key in the Authorization header. Keys start with pivotal_ (production) or pivotal_test_ (test mode, no side effects on integrations). Rotate keys from /admin/api-keys — old keys 401 instantly when revoked.

Path parameters

idstringRequired

Numeric display_id or canonical cuid id.

Request

This endpoint expects an object.
namestringOptional1-255 characters
slugstringOptional1-120 characters
domainstringOptional<=255 characters
statusenumOptional
planstringOptional<=120 characters
mrrintegerOptional>=0
monthly_ordersintegerOptional>=0
hubspot_company_idstringOptional
hubspot_deal_idstringOptional
stripe_customer_idstringOptional
intercom_company_idstringOptional
slack_channel_idstringOptional

Response

OK
objectenum
idstring
display_idinteger
namestring
slugstring or null
domainstring or null
statusstring
planstring or null
mrrinteger or null
Monthly recurring revenue in cents.
monthly_ordersinteger or null
hubspot_company_idstring or null
hubspot_deal_idstring or null
stripe_customer_idstring or null
intercom_company_idstring or null
slack_channel_idstring or null
created_atdatetime
updated_atdatetime

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error