import { CustomerPortalSubscriptionsListRequest } from "@polar-sh/sdk/models/operations";
let value: CustomerPortalSubscriptionsListRequest = {};
Field | Type | Required | Description |
---|---|---|---|
organizationId |
operations.CustomerPortalSubscriptionsListQueryParamOrganizationIDFilter | ➖ | Filter by organization ID. |
productId |
operations.CustomerPortalSubscriptionsListQueryParamProductIDFilter | ➖ | Filter by product ID. |
active |
boolean | ➖ | Filter by active or cancelled subscription. |
query |
string | ➖ | Search by product or organization name. |
page |
number | ➖ | Page number, defaults to 1. |
limit |
number | ➖ | Size of a page, defaults to 10. Maximum is 100. |
sorting |
components.CustomerSubscriptionSortProperty[] | ➖ | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order. |