Catalog User Error
Defines errors encountered while managing a catalog.
Anchor to FieldsFields
- Anchor to codecode•Catalog
User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
Updates the context of a catalog.
- Anchor to catalogIdcatalog•ID!required
Id The ID of the catalog for which to update the context.
- Anchor to contextsToAddcontexts•Catalog
To Add Context Input The contexts to add to the catalog.
- Anchor to contextsToRemovecontexts•Catalog
To Remove Context Input The contexts to remove from the catalog.
Arguments
- Anchor to catalogcatalog•Catalog
The updated catalog.
- Anchor to userErrorsuser•[Catalog
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Creates a new catalog.
- Anchor to inputinput•Catalog
Create Input!required The properties of the new catalog.
Arguments
- Anchor to catalogcatalog•Catalog
The newly created catalog.
- Anchor to userErrorsuser•[Catalog
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Delete a catalog.
- Anchor to deleteDependentResourcesdelete•BooleanDefault:false
Dependent Resources Whether to also delete the price list and the publication owned by the catalog.
- •ID!required
The ID of the catalog to delete.
Arguments
- Anchor to deletedIddeleted•ID
Id The ID of the deleted catalog.
- Anchor to userErrorsuser•[Catalog
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates an existing catalog.
- •ID!required
The ID of the catalog to update.
- Anchor to inputinput•Catalog
Update Input!required The properties of the updated catalog.
Arguments
- Anchor to catalogcatalog•Catalog
The updated catalog.
- Anchor to userErrorsuser•[Catalog
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields