Preskoči na sadržaj

Create or update company registry entry

POST
/organizations/company-registry/upsert

Creates or updates a single company registry row. Admin or owner only.

object
tin
required
string
>= 9 characters <= 9 characters /^\d+$/
name
Any of:
string
registrationName
Any of:
string
companyRegistrationId
Any of:
string
street
Any of:
string
city
Any of:
string
postalCode
Any of:
string
country
Any of:
string
email
Any of:
string
bankAccount
Any of:
string

OK

object
success
required

401

One of:
object
defined
required
code
required
Allowed value: UNAUTHORIZED
status
required
Allowed value: 401
message
required
string
default: Missing user session. Please log in!
data

403

One of:
object
defined
required
code
required
Allowed value: FORBIDDEN
status
required
Allowed value: 403
message
required
string
default: You do not have enough permission to perform this action.
data

422

One of:
object
defined
required
code
required
Allowed value: INPUT_VALIDATION_FAILED
status
required
Allowed value: 422
message
required
string
default: INPUT_VALIDATION_FAILED
data