Skip to main content
Anchor to CollectionAddProductsV2UserError

CollectionAddProductsV2UserError

object

An error that occurs during the execution of CollectionAddProductsV2.

•CollectionAddProductsV2UserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


Was this section helpful?

•mutation

Asynchronously adds a set of products to a given collection. It can take a long time to run. Instead of returning a collection, it returns a job which should be polled.

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 the collection's sort order is manual, the products will be added in the order in which they are provided.


Fields

•Job

The asynchronous job adding the products.

•[CollectionAddProductsV2UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?