Admin API / Mutations

updateLivestreamCollections

Adds 1 to 100 livestreams to manual livestream collections and removes them from others. Memberships that the input does not name stay. Adding a livestream that a collection holds, or removing one that it does not hold, changes nothing and succeeds. The livestreams of the caller and of a store that the caller staffs need the SELLER role. Another host's livestream needs the ADMIN role. An ADMINS_ONLY collection needs the ADMIN role. A livestream in any status can change. One result per input ID, in input order; a failed livestream does not stop the others. A repeat writes the same memberships.

Requires a client key with one of these scopes: admin:collections:writeRequires this member role or higher: SELLER
updateLivestreamCollections(
  input: UpdateLivestreamCollectionsInput!
): UpdateLivestreamCollectionsPayload!

Arguments

ArgumentTypeDescription
inputUpdateLivestreamCollectionsInput!The livestreams and the collections to add and remove.

Return type

UpdateLivestreamCollectionsPayload!