# 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](/docs/api/admin-graphql/2024-07/scalars/ID): ID! - The ID of the catalog for which to update the context. * [contextsToAdd](/docs/api/admin-graphql/2024-07/input-objects/CatalogContextInput): CatalogContextInput - The contexts to add to the catalog. * [contextsToRemove](/docs/api/admin-graphql/2024-07/input-objects/CatalogContextInput): CatalogContextInput - The contexts to remove from the catalog. ## Returns * [catalog](/docs/api/admin-graphql/2024-07/interfaces/Catalog): Catalog The updated catalog. * [userErrors](/docs/api/admin-graphql/2024-07/objects/CatalogUserError): CatalogUserError! The list of errors that occurred from executing the mutation. ## Examples