Skip to main content
Anchor to catalogContextUpdate

catalogContextUpdate

mutation

Requires write_products access scope. Also: The user must have permission to create and edit catalogs.

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.

•ID!
required

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

•CatalogContextInput

The contexts to add to the catalog.

Show input fields
•CatalogContextInput

The contexts to remove from the catalog.

Show input fields

Was this section helpful?

Anchor to CatalogContextUpdatePayload returnsCatalogContextUpdatePayload returns

•Catalog

The updated catalog.

Show fields
•[CatalogUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?