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