/

Get all partners

get

Gets all partners for the organization

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
namestringOptional

Name of the partner

organizationIdintegerOptional

Organization ID the partner belongs to

partnerTypeIdintegerOptional

Partner type ID

addressGroupIdintegerOptional

Address group ID

activebooleanOptional

Whether the partner is active

sortOrderstring · enumRequired

The order to sort by

Example: ascPossible values:
sortBystringOptional

The field to sort by

Example: createdAt
pageNumbernumberOptional

The page number to filter by

Example: 1
pageSizenumberOptional

The page size to filter by

Example: 10
Responses
get
/api/partners/
200Success

Create partner

post

Creates a new partner

Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
namestringRequired

Name of the partner

partnerTypeIdintegerRequired

Partner type ID

attributesobjectOptional

Additional attributes for the partner

addressGroupIdnumberOptional

Address group ID

activebooleanOptional

Whether the partner is active

Responses
post
/api/partners/
200Success