productUnpublish - admin-graphql - MUTATION
Version: 2025-01
Description:
Unpublishes a product.
Access Scopes
`write_publications` access scope. Also: The user must have a permission to unpublish a product.
Arguments
-
input:
ProductUnpublishInput! -
Specifies the product to unpublish and the channel to unpublish it from.
Returns
-
product:
Product
The product that has been unpublished.
-
shop:
Shop!
The user's shop.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples