publishableUnpublishToCurrentChannel mutation
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.
Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is active
.
Required access
write_product_listings
access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
Arguments
Argument | Description |
---|---|
id
(
ID!
)
required
|
The resource to delete or update publications for. |
Return fields
-
publishable (
Publishable
)Resource that has been unpublished.
-
shop (
Shop!
)The user's shop.
-
userErrors (
[UserError!]!
)List of errors that occurred executing the mutation.