# List Subscriptions Get all your subscriptions. Endpoint: POST /api/v1/partner/subscription/search Version: 1.0 ## Request fields (application/json): - `condition` (object) Condition to filter results - `condition.field` (string) Field name to apply the condition to Example: "name" - `condition.value` (object) Value to compare against the field Example: "Example Value" - `condition.type` (string) Relational operator for the condition Enum: "BETWEEN", "EQ", "LT", "LTE", "GT", "GTE", "NE", "LIKE", "START", "FINISH", "IN", "NIN", "NLIKE", "LENGTH" - `condition.endValue` (object) End value for range conditions Example: 100 - `condition.innerConditions` (array) Nested conditions for complex queries - `condition.conditionType` (string) Type of condition for combining multiple conditions Enum: "AND", "OR" - `condition.empty` (boolean) Indicates if the condition is empty - `condition.compareFields` (boolean) Indicates if comparing between fields - `sortCriteria` (array) List of sorting criteria to apply - `sortCriteria.sortField` (string) Field name to sort by Example: "name" - `sortCriteria.sortDirection` (string) Sort direction (ascending or descending) Enum: "ASC", "DESC" - `pageNumber` (integer, required) Page number to retrieve (0-based) - `pageSize` (integer, required) Number of items per page Example: 20 ## Response 200 fields (application/json): - `data` (array, required) List of data items for the current page - `data.id` (integer, required) Unique identifier of the entity Example: 1 - `data.commercialName` (string) Commercial name of the subscription. Example: "Clave Informática S.L." - `data.cif` (string) Cif of the subscription. Example: "B12345678" - `data.name` (string) Name of the subscription. Example: "Clavei" - `data.email` (string) Subscription email address. Example: "info@acme.es" - `data.discount` (number) Discount percentage. Example: 10 - `data.logo` (string) Picture or logo (URL or base64). Example: "https://www.acme.es/logo.png" - `data.subscription` (string) description of the contracted/assigned plan. Example: "Integral" - `data.period` (string) Assigned/contracted billing plan period. Example: "Anual" - `data.status` (string) Subscription status. Enum: "ACTIVE", "INACTIVE", "PENDING" - `data.partnerId` (integer) Partner ID. Example: 100 - `data.partnerName` (string) Partner name. Example: "Partner" - `data.companyName` (string) Subscription company. Example: "Clave Informática S.L." - `data.companyOwnerEmail` (string) Owner subscription company. Example: "info@acme.es" - `data.externalCode` (string) Internal client code. Example: "Code customer" - `data.invitationSentOn` (string) Invitation sending date. Example: "2025-10-01T12:05:36.930615+02:00" - `data.invitationAcceptedOn` (string) Accepted invitation date. Example: "2025-10-01T12:05:36.930615+02:00" - `data.createdOn` (string) Subscription creation date. Example: "2025-10-01T12:05:36.930615+02:00" - `data.firstPhoneNumber` (string) First phone number. Example: "+34600111222" - `data.cancellationDate` (string) Subscription cancellation date. Example: "2025-10-01T12:05:36.930615+02:00" - `data.cancellationReason` (string) Subscription cancellation reason. Example: "Creation of new company" - `data.trialExpirationDays` (integer) Days until the end of the trial period. Example: 15 - `data.trialExtended` (boolean) Extended trial. Example: true - `data.lastAccess` (string) Last access date. Example: "2025-10-01T12:05:36.930615+02:00" - `page` (integer, required) Current page number (0-based) - `total` (integer, required) Total number of items across all pages Example: 150 - `pages` (integer, required) Last page number (0-based) Example: 14 - `size` (integer, required) Number of items per page Example: 10