catalogContextUpdate - admin-graphql - MUTATION
Version: 2024-07
Description:
Updates the context of a catalog.
Access Scopes
`write_products` access scope. Also: The user must have a permission to update a catalog.
Arguments
-
catalogId:
ID! -
The ID of the catalog for which to update the context.
-
contextsToAdd:
CatalogContextInput -
The contexts to add to the catalog.
-
contextsToRemove:
CatalogContextInput -
The contexts to remove from the catalog.
Returns
-
catalog:
Catalog
The updated catalog.
-
userErrors:
CatalogUserError!
The list of errors that occurred from executing the mutation.
Examples