Partner
Questi contenuti non sono ancora disponibili nella tua lingua.
Manage partners, which represent organizations or companies associated with your account.
You can create, update, delete, and search for partners with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Sezione intitolata “Operations” POST /v2/partner/index
Returns a paginated and filterable list of partners.
Use POST to allow complex filters via JSON payload.
Request Body
Sezione intitolata “Request Body ”Parameters for searching partners
object
object
The unique identifier of the partner.
The name of the partner.
The balance associated with the partner.
The status of the partner (e.g., active, inactive).
The unique identifier of the customer associated with the partner.
The unique identifier of the subscription linked to the partner.
The timestamp when the partner was created.
The timestamp when the partner details were last updated.
The identifier of the subscription plan (varchar(50)).
The number of people included in the subscription (int(11)).
The number of projects included in the subscription (int(11)).
The email address of the customer associated with the partner.
The type of white label (either ‘ADVANCED’, ‘SIMPLE’, or null).
The field of the model to sort the list for, use a minus to revert the sort. Es -name is to require the sort in reverse order
The field establishes whether to also include historized elements that are no longer active in the results. If you leave this parameter empty the response returns only actual entries.
Example
{ "filter": { "name": "Partner 1", "status": 1 }, "per-page": 10, "page": 1, "sort": "name"}
Responses
Sezione intitolata “ Responses ”List of partners
object
The unique identifier of the partner.
The name of the partner.
The balance associated with the partner.
The status of the partner (e.g., active, inactive).
The unique identifier of the customer associated with the partner.
The unique identifier of the subscription linked to the partner.
The timestamp when the partner was created.
The timestamp when the partner details were last updated.
The identifier of the subscription plan (varchar(50)).
The number of people included in the subscription (int(11)).
The number of projects included in the subscription (int(11)).
The email address of the customer associated with the partner.
The type of white label (either ‘ADVANCED’, ‘SIMPLE’, or null).
Example
{ "partner_id": "par-1", "name": "Partner 1", "balance": 1000, "status": 1, "customer_id": "cus-1", "subscription_id": "sub-1", "created_at": 1700000000, "updated_at": 1700000001, "whitelabel": "ADVANCED"}
Headers
Sezione intitolata “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
GET /v2/partner/view/{id}
Retrieve a partner by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the partner to retrieve
Responses
Sezione intitolata “ Responses ”Partner found
object
The unique identifier of the partner.
The name of the partner.
The balance associated with the partner.
The status of the partner (e.g., active, inactive).
The unique identifier of the customer associated with the partner.
The unique identifier of the subscription linked to the partner.
The timestamp when the partner was created.
The timestamp when the partner details were last updated.
The identifier of the subscription plan (varchar(50)).
The number of people included in the subscription (int(11)).
The number of projects included in the subscription (int(11)).
The email address of the customer associated with the partner.
The type of white label (either ‘ADVANCED’, ‘SIMPLE’, or null).
Example
{ "partner_id": "par-1", "name": "Partner 1", "balance": 1000, "status": 1, "customer_id": "cus-1", "subscription_id": "sub-1", "created_at": 1700000000, "updated_at": 1700000001, "whitelabel": "ADVANCED"}
Partner not found