getAllSubscriptions
Returns all subscriptions to products 🔐 This method requires authorization.
Events.getAllSubscriptions(offset, limit)
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 return:
{
"total": 100,
"items": [
{
"eventMarker": "string",
"productId": 0
}
]
}
Schema
total: number
Total number of records found
eventMarker: string
Event marker
productId number
Product identifier