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
Modifies which contexts, like markets or B2B company locations, can access a
Catalog. You can add or remove contexts to control where the catalog's products and prices are available.Learn more about managing catalog contexts and managing B2B catalogs.
- Anchor to catalogIdcatalog•ID!
Id required 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
- •mutation
Creates a
Catalogthat controls product availability and pricing for specific contexts like markets or B2B company locations. Catalogs usePublicationobjects to determine which products are available andobjects to set custom pricing.You can optionally associate a publication and price list when creating the catalog, or add them later using separate mutations.
Learn more about managing catalog contexts and using catalogs for different markets.
- Anchor to inputinput•Catalog
Create Input! required The properties of the new catalog.
Arguments
- •mutation
Delete a catalog.
- •ID!required
The ID of the catalog to delete.
- Anchor to deleteDependentResourcesdelete•Boolean
Dependent Resources Default:false Whether to also delete the price list and the publication owned by the catalog.
Arguments
- •ID!
- •mutation
Updates an existing catalog's configuration. Catalogs control product publishing and pricing for specific contexts like markets or B2B company locations.
You can modify the catalog's title, status, and associated context. You can also update the
that determines pricing adjustments or thePublicationthat controls which products customers see.- •ID!required
The ID of the catalog to update.
- Anchor to inputinput•Catalog
Update Input! required The properties of the updated catalog.
Arguments
- •ID!