Subscriptions / Get Subscriptions Items
### Retrieve Subscription Items This endpoint allows you to retrieve items associated with a specific subscription by providing a filter parameter. #### Request - **Method**: GET - **URL**:
Body parameters
module
|
string |
Example: subscriptions_items
|
data
|
object |
Example:
|
### Retrieve Subscription Items
This endpoint allows you to retrieve items associated with a specific subscription by providing a filter parameter.
#### Request
- **Method**: GET
- **URL**: `{{base_url}}`
- { "module": "subscriptions_items", "data": { "filter": \[ { "subscription_id": 1 } \] }}
#### Parameters
- **module** (string): Specifies the module to interact with. In this case, it is set to `"subscriptions_items"`.
- **data** (object): Contains the filtering criteria for the request.
- **filter** (array): An array of filter objects to narrow down the results.
- **subscription_id** (integer): The ID of the subscription for which items are being requested.
#### Response
- **Status Code**: 200 OK
- **Content-Type**: application/json
- { "success": true, "data": \[\]}
#### Notes
- The `success` field in the response indicates whether the request was processed successfully.
- The `data` field contains an array of items related to the specified subscription. If there are no items, it will return an empty array.
- Ensure that the `subscription_id` provided in the filter exists to retrieve relevant items.
This endpoint is useful for applications that need to display or manage items linked to specific subscriptions.