Skip to main content

getAllSubscriptions

Returns all subscriptions to products. 🔐 This method requires ?.

Events?.getAllSubscriptions( offset?, limit? );

Minimal example

const value = await Events.getAllSubscriptions()
Schema

offset: number
Pagination parameter, default is 0
example: 0

limit: number
Pagination parameter, default is 30
example: 30

This method return all subscriptions to product.

Example response

{
"total": 100,
"items": [
{
"eventMarker": "string",
"productId": 0
}
]
}
Schema

total: number
Total number of records found

eventMarker: string
Event marker

productId number
Product identifier