# Unpublish product variant

**URL:** <https://community.shopify.dev/t/unpublish-product-variant/13991>\
**Category:** GraphQL Admin API Troubleshooting\
**Tags:** general-gql-troubles\
**Created:** [April 22, 2025, 7:14am UTC](https://community.shopify.dev/t/unpublish-product-variant/13991 "2025-04-22T07:14:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastienpowell](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sebastienpowell](https://community.shopify.dev/u/sebastienpowell)\
**Post date:** [April 22, 2025, 7:14am UTC](https://community.shopify.dev/t/unpublish-product-variant/13991/1 "2025-04-22T07:14:59Z")

</div>

Hello,

I’m trying to find a way to unpublish a product variant using the API. Looking at the available mutations for product variants, I can’t seem to see one that would allow me to do this.

One option I found is the `publishableUnpublish` mutation, but not sure that’s going to help either?

Any help would be greatly appreciated, thank you in advance.

---

<div class="post-metadata">

**Author:** ![Luke](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/luke/32/22023_2.png) [@Luke](https://community.shopify.dev/u/Luke)\
**Post date:** [April 22, 2025, 7:28am UTC](https://community.shopify.dev/t/unpublish-product-variant/13991/2 "2025-04-22T07:28:48Z")

</div>

Unless I’m mistaken, it is not possible to unpublish a variant, you can only do it on a product level.

---

<div class="post-metadata">

**Author:** ![sebastienpowell](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sebastienpowell](https://community.shopify.dev/u/sebastienpowell)\
**Post date:** [April 22, 2025, 7:59am UTC](https://community.shopify.dev/t/unpublish-product-variant/13991/3 "2025-04-22T07:59:06Z")

</div>

@Luke thanks for the quick reply! Right you are, can’t do this in the UI either. So I think I’ll need to unpublish the product are you mentioned, and it looks like the `publishableUnpublish` method is the recommended way of doing this now. I’ll give that a go, thank you for your help!
