Anchor to CollectionAddProductsPayloadCollection
payloadCollection Add Products Payload
Return type for mutation.
Anchor to FieldsFields
- collection (Collection)
- userErrors ([UserError!]!)
- Anchor to collectioncollection•Collection
The updated collection. Returns
nullif an error is raised.- Anchor to userErrorsuser•[User
Errors Error!]! 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
- collectionAddProducts (CollectionAddProductsPayload): deprecated
- •mutationDeprecated
- •ID!required
The ID of the collection that's being updated.
- Anchor to productIdsproduct•[ID!]!
Ids 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.
Arguments
- •ID!
Was this section helpful?