Edit an account

Change an account's business details or owner information. This replaces the record, so send every field, not just what changed: an optional field you leave out is cleared. The plan isn't changed here; use Assign or change an account's plan. Instead of city_id you can send the city, state and country names; the response's geo object returns the city that was used.

Prerequisites: the account's id (brandId). Get one account gives you the current values to start from.

Authentication: Partner or Account token (an Account token reaches only its own account). The account must be inside your account tree (otherwise 404); an account that belongs to another partner returns 403.

Rate limit: none.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Defaults to 6021

Required. The account's id.

Body Params
string
required
Defaults to Acme Brand

The account (business) name. Max 100 characters, no < or >.

string
Defaults to https://acmebrand.com

The business website. Must be a valid URL.

string
Defaults to BILL-001

Your billing reference for the account. Max 100 characters, no < or >.

string
Defaults to ACC-001

Your own id for the account. Max 100 characters, no < or >.

string
Defaults to 1234567890

The business phone. 9 to 15 characters.

string
required
Defaults to 1 George St

Street address. Max 255 characters, no < or >.

integer
Defaults to 3243

The city's id. Required unless you send city, state and country. Must be an existing city id. When you send both, city_id is used and the text is ignored.

string
length ≤ 100
Defaults to Austin

The city name. Required, with state and country, when you don't send city_id. No < or >. Matched within the state, ignoring case, accents and extra spaces. A city we don't have yet is added.

string
length ≤ 100
Defaults to TX

The state code or name, e.g. TX or Texas. Required when you don't send city_id. Must be a state we have for that country; otherwise 422.

string
length ≤ 100
Defaults to US

The two-letter ISO country code or the country name, e.g. US or United States. Required when you don't send city_id. Must be a country we have; otherwise 422.

integer
required
Defaults to 37

The industry. Must be an existing, active industry id.

string
required
Defaults to 2000

Postal code. 3 to 12 characters, no < or >.

string
required
Defaults to Jane

The owner's first name. Max 100 characters.

string
Defaults to Smith

The owner's last name. Max 100 characters.

string
required

The owner's email address. Must not belong to another user. The domain must accept mail (it's checked with a DNS lookup).

string
Defaults to 9876543210

The owner's phone. 9 to 15 characters.

override_locations
array of strings
Defaults to plan_id

Accepted for compatibility. The only allowed value is plan_id, and it doesn't change any location; it's counted in stores_updated and echoed in overrides_applied.

override_locations
Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json