catalogDelete - admin-graphql - MUTATION
Version: 2025-01
Description:
Delete a catalog.
Access Scopes
`write_products` access scope. Also: The user must have a permission to delete a catalog.
Arguments
-
deleteDependentResources:
Boolean -
Whether to also delete the price list and the publication owned by the catalog.
-
id:
ID! -
The ID of the catalog to delete.
Returns
-
deletedId:
ID
The ID of the deleted catalog.
-
userErrors:
CatalogUserError!
The list of errors that occurred from executing the mutation.
Examples