Knock.Objects.bulk_add_subscriptions

You're seeing just the function bulk_add_subscriptions, go back to Knock.Objects module for more information.
Link to this function

bulk_add_subscriptions(client, collection, subscriptions)

View Source

Specs

bulk_add_subscriptions(Knock.Client.t(), String.t(), [map()]) ::
  Knock.Api.response()

Creates a bulk operation to create subscriptions for a set of recipients to a set of objects within the given collection.

Each entry in the provided subscriptions list should have the properties:

  • id: the id of an object for subscribing
  • recipients: a list of recipients to subscribe to the object
  • properties (optional): a map of properties to apply to each recipient subscription