Updates customer details related to their account. For white label users only.
Useful to perform the following actions:
Authorization type: Account
curl -X "PATCH" "https://getchipbot.com/api/v3/connect/accounts/{accountId}/sub-accounts/{subAccountId}" \
-H 'Authorization: {token}'
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"status": "active",
"billing.plan.id": "",
"billing.plan.url": "",
"billing.delinquency.message": ""
}'
status
– Change the status of the customer. Allowed values: active
, trial
, deactivated
, and delinquent
billing.plan.id
– Store a custom identifier value related to the customers planbilling.plan.
url – Store a custom URL, related to the customersbilling.delinquency.message
– Send the user a specific delinquency message through their dashboard. When you want to hide it, set this as an empty string.