Update a client company attached to your reseller account
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Example payload
Only the attributes you send are changed.
{
"name": "Client Uno",
"industry": "consulting",
"trial_end": 1769900400,
"company_setting": { "license_category": "starter" },
"setting": { "locale": "en-US" }
}Pushing trial_end to a future date restarts the Leexi trial of a company whose trial has ended. trial_end is locked while the company has an open Stripe subscription (active, trialing, incomplete, past_due, unpaid or paused) and answers 422; subscription_currency and the license constraints are locked while it has an active one.
An unknown subscription_interval, subscription_currency, setting.locale or setting.time_zone answers 422.
The subscription status cannot be set here: use Start a client subscription and Cancel a client subscription.
Setting active to false deactivates the company exactly like Deactivate a client company: read that page first. Setting it back to true only reopens the company record, its users and subscription are not restored.
Requires thewrite_clientspermission scope on the API key of a reseller account.
A company that is not one of your clients, including your own reseller company, answers404.
401401
402402
429429
