Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

addCollectionAssets():AddCollectionAssets

Add Assets to the existing Collection. Requires basic:write scope to be accessible and Collection permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of AddCollectionAssetsInput
collectionId: ID!

Collection Id.

assetIds: [ID!]!

Ids of the Assets to add to the Collection. Must be in the same Library as the Collection.

Fields of AddCollectionAssets
collection:Collection

Collection details.