Skip to main content
PATCH
@firma-dev/sdk

Authorizations

Authorization
string
header
required

API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.

Body

application/json
name
string

Company name

Maximum string length: 255
language
enum<string>

Default language for the company

Available options:
en,
es,
it,
pt,
fr,
de,
el,
ru,
pl
account_owner
string

Name of the account owner

Maximum string length: 255
account_owner_email
string<email>

Email address of the account owner

website
string<uri>

Company website URL

Response

Company updated successfully

id
string<uuid>
required

Unique identifier for the company

name
string
required

Company name

Maximum string length: 255
account_owner
string
required

Name of the account owner

Maximum string length: 255
account_owner_email
string<email>
required

Email address of the account owner

created_date
string<date-time>
required

Company account creation timestamp

language
enum<string>
default:en

Default language for the company

Available options:
en,
es,
it,
pt,
fr,
de,
el,
ru,
pl
website
string<uri> | null

Company website URL

icon_url
string<uri> | null

Publicly accessible URL to the company logo image. Returns null if no logo is set.

Example:

"https://ielmshcswdhuacyjlpiy.supabase.co/functions/v1/logo/company/3feb35a8-5aaf-4603-8b50-acd807176b38"

credits
integer
read-only

Available credits for the company (read-only, managed internally)

Required range: x >= 0
updated_date
string<date-time>

Company account last update timestamp