Skip to main content

Function: updateSubscriptions()

updateSubscriptions(session, addressId, updateRequestBulk, query?): Promise<Subscription[]>

Bulk update subscriptions. Must all be for the same address. There is a limit of 20 subscriptions per request. Same rules apply as a single subscription update

Parameters

ParameterType
sessionSession
addressIdstring | number
updateRequestBulkUpdateSubscriptionsRequest[]
query?UpdateSubscriptionsParams

Returns

Promise<Subscription[]>