Types

Get all partner types

get

Gets all partner types

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
namestringOptional

Name of the partner type

partnerTypestring · enumRequired

Type of the partner

Possible values:
organizationIdnumberOptional

Organization ID the partner type belongs to

activeanyOptional

Active status of the partner type

Example: true
Responses
200Success
application/json
Responseany
get
/api/partners/types
200Success

No content

Create partner type

post

Creates a new partner type

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
namestringRequired

Name of the partner type

descriptionstringOptional

Description of the partner type

partnerTypestring · enumRequired

Type of the partner

Possible values:
activebooleanOptional

Active status of the partner type

Example: true
Responses
200Success
application/json
post
/api/partners/types
200Success

Get partner type by id

get

Gets a partner type by id

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
get
/api/partners/types/{id}
200Success

Update partner type by id

put

Updates a partner type by id

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Body
namestringRequired

Name of the partner type

descriptionstringOptional

Description of the partner type

partnerTypestring · enumRequired

Type of the partner

Possible values:
activebooleanOptional

Active status of the partner type

Example: true
Responses
200Success
application/json
put
/api/partners/types/{id}
200Success

Delete partner type by id

delete

Deletes a partner type by id

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
idnumberRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
delete
/api/partners/types/{id}
200Success