Company

The following endpoints allow you to view and manage the company information attached to the specified merchant/domain.

Get company

get

Retrieves information about the current company

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Responses
chevron-right
200

The company information

application/json
get
/portal/instance/company
200

The company information

Update company

put

Change company information and settings

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Body
namestringOptional

The new company name

emailstring · emailOptional

The new company email

langstringOptional

The new default language for the company

Example: RO
vat_numberstringOptional

The new company VAT number

registration_numberstringOptional

The new company registration number

primary_colorstringOptional

The hex-encoded color to be applied for this company

Example: #c3c3c3
country_idstringOptional

The ISO-3166 Alpha-2 country code for this company, available via the /company/countries API call

Example: US
state_idstringOptional

The state code for the company, if applied, available via the /company/countries API call

Example: DE
industry_idnumberOptional

The company's industry, available via the /company/industries API call

Example: 2
sector_idnumberOptional

The company's sector, available via the /company/sectors API call

criteriasnumber[]Optional

The company's custom criteria groups, available via the /company/criteria-groups API call

logo_urlstringOptional

A previously-uploaded image id that will act as the company's logo image on dark background

Example: 155e178a582341ffba1a57f66on1col4.3d07ab5....
logo_light_urlstringOptional

A previously-uploaded image id that will act as the company's logo image on light background

Example: 155e178a582341ffba1a57f66on1col4.3d07ab5....
Responses
chevron-right
200

Company information updated

application/json
Responseobject
put
/portal/instance/company
200

Company information updated

Prepare upload

post

This API endpoint is used when you want to upload a logo image to the company. This will generate a signed upload URL you can use.

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Body
typestring · enumRequired

The type of asset you want to prepare the upload for

Possible values:
mimestringRequired

The mime type of the image you want to upload

Example: image/png
Responses
chevron-right
200

Result with an upload URL you can use

application/json
post
/portal/instance/company/sign-asset
200

Result with an upload URL you can use

Delete asset

delete

This API endpoint is used when you want to remove a previously uploaded asset from the company.

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
typestring · enumRequiredPossible values:
Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Responses
chevron-right
200

Request completed successfully

application/json
delete
/portal/instance/company/image/{type}
200

Request completed successfully

Create representative

post

Create a new company-level representative

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Body

The representative form

typestring · enumRequired

The type of representative to configure

Possible values:
categorystring · enumRequired

The representative category

Possible values:
company_namestringOptional

The company name if the representative is an organization

first_namestringOptional

The person's first name if the representative is a person

last_namestringOptional

The person's last name if the representative is a person

positionstringOptional

The representative's position within the company

descriptionstringOptional

A short representative description

emailstring · emailRequired

The representative's email address

countrystringOptional

The representative's 2-letter country code

statestringOptional

The representative's state

citystringOptional

The representative's city

addressstringOptional

The representative's address

address_2stringOptional

The representative's address 2

postal_codestringOptional

The representative's postal code

phone_numberstringOptional

The representative's phone number

avatar_urlstringOptional

A previously signed and uploaded asset id

Responses
chevron-right
200

Result with the representative information

application/json
post
/portal/instance/company/representatives
200

Result with the representative information

Update representative

put

Update a previously created company-level representative

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
idstringRequired

The representative id

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Body

The representative form

typestring · enumOptional

The type of representative to configure

Possible values:
categorystring · enumOptional

The representative category

Possible values:
company_namestringOptional

The company name if the representative is an organization

first_namestringOptional

The person's first name if the representative is a person

last_namestringOptional

The person's last name if the representative is a person

positionstringOptional

The representative's position within the company

descriptionstringOptional

A short representative description

emailstring · emailOptional

The representative's email address

countrystringOptional

The representative's 2-letter country code

statestringOptional

The representative's state

citystringOptional

The representative's city

addressstringOptional

The representative's address

address_2stringOptional

The representative's address 2

postal_codestringOptional

The representative's postal code

phone_numberstringOptional

The representative's phone number

avatar_urlstringOptional

A previously signed and uploaded asset id

Responses
chevron-right
200

Result with the DPO information

application/json
put
/portal/instance/company/representatives/{id}
200

Result with the DPO information

Delete representative

delete

Deletes a previously created company-level representative

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Path parameters
idstringRequired

The representative id

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Responses
chevron-right
200

Result with the DPO information

application/json
delete
/portal/instance/company/representatives/{id}
200

Result with the DPO information

Prepare upload

post

This API endpoint is used when you want to upload a profile image to the representative. This will generate a signed upload URL you can use.

Authorizations
AuthorizationstringRequired

API key generated in Clym Partner Portal.

Query parameters
merchant_idstringOptional

Either a merchant ID or a domain ID is required

domain_idstringOptional
Body
mimestringRequired

The mime type of the image you want to upload

Example: image/png
Responses
chevron-right
200

Result with an upload URL you can use

application/json
post
/portal/instance/company/representatives/sign-asset
200

Result with an upload URL you can use

Last updated