Update account profile or business facts
/accountAuthorizationBearer token (JWT) · headerrequiredJWT issued by the external IdP via the OAuth 2.0 authorization-code flow (Kinde in
production; a simulator in test). The client obtains it and sends it as a Bearer token on
every authenticated call. Sarvex's services verify it — issuer, audience, signature
(IdP JWKS), expiry — and read identity and tenant from its claims. Sarvex does not issue
or revoke these tokens. merchant_id/store_id are read from the verified claims (and the
merchant→store mapping), never from the URL. The operator scope is required for
/operator/*. Operators acting on a specific merchant pass the X-Operate-As header,
which is recorded in the audit log.
application/jsonnamestringtimezonestringcountry_codestringISO 3166-1 alpha-2 country code
business_factsbusiness_factsFacts Google requires downstream; collected at onboarding.
Show propertiesHide properties
legal_entity_namestringsupport_emailstring<email>support_phonestringfulfillment_regionsstring[]Updated account.
merchant_idstringnamestringtimezonestringcountry_codestringISO 3166-1 alpha-2 country code
business_factsbusiness_factsFacts Google requires downstream; collected at onboarding.
Show propertiesHide properties
legal_entity_namestringsupport_emailstring<email>support_phonestringfulfillment_regionsstring[]created_atstring<date-time>locale_optionslocale_optionsReference data for the console's timezone/country selection — countries and their selectable IANA timezones. The client relies entirely on this list rather than validating country/timezone pairs itself.
Show propertiesHide properties
countriescountry_locale[]Show propertiesHide properties
country_localecodestringISO 3166-1 alpha-2 country code
namestringtime_zonesstring[]Request body failed validation.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequireddetailsobject | null