Atualizar o perfil da organização
PATCH/organization
Partial update of the profile the customer owns: trade_name, website, addresses and custom_metadata. Requires scope finance/settings with access level write, the settings.update permission and, since the profile applies to every workspace, the organization owner or access to all of its workspaces. Identity (id, public_id, external_id), the fiscal document (document_type, document_number) and name, email and phone — mirrors of the Kobana Account, overwritten by the account sync — are not writable (422, like any unknown key); a commercial setting (courtesy, entitlements, partner_slug…) is a 403. custom_metadata: null keeps the stored value.
Requisição
Respostas
- 200
- 400
- 401
- 403
- 422
- 429
- 500
The updated organization.
Malformed JSON body.
Missing / invalid / expired / revoked token.
Token lacks the finance/settings scope or the write access level; the person lacks the settings.update permission or does not reach every workspace (details.reason: not_all_workspaces); or the body carries a commercial setting (details.reason: commercial_field).
Schema validation failure, including a read-only or unknown field.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.