Skip to main content
Anchor to CollectionAddProductsPayload

CollectionAddProductsPayload

payload

Return type for collectionAddProducts mutation.

•Collection

The updated collection. Returns null if an error is raised.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation
Deprecated

Arguments

•ID!
required

The ID of the collection that's being updated.

•[ID!]!
required

The IDs of the products that are being added to the collection. If any of the products is already present in the input collection, then an error is raised and no products are added.



Was this section helpful?