Skip to main content
object

Defines errors encountered while managing a catalog.

•CatalogUserErrorCode

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

Updates the context of a catalog.

Arguments

•ID!required

The ID of the catalog for which to update the context.

•CatalogContextInput

The contexts to add to the catalog.

•CatalogContextInput

The contexts to remove from the catalog.


Fields

•Catalog

The updated catalog.

•[CatalogUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Creates a new catalog.

Arguments

•CatalogCreateInput!required

The properties of the new catalog.


Fields

•Catalog

The newly created catalog.

•[CatalogUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Delete a catalog.

Arguments

Anchor to deleteDependentResourcesdeleteDependentResources
•BooleanDefault:false

Whether to also delete the price list and the publication owned by the catalog.

•ID!required

The ID of the catalog to delete.


Fields

•ID

The ID of the deleted catalog.

•[CatalogUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates an existing catalog.

Arguments

•ID!required

The ID of the catalog to update.

•CatalogUpdateInput!required

The properties of the updated catalog.


Fields

•Catalog

The updated catalog.

•[CatalogUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?