Can't create an unlisted product with the latest API version

Hey everyone,

I tried to create an unlisted product and read in the docs that my API version should be 2025-10, which it already is, but I kept getting this error:

Error creating product: GraphqlQueryError: Variable $input of type ProductInput! was provided invalid value for status (Expected "UNLISTED" to be one of: ACTIVE, ARCHIVED, DRAFT)

So I upgraded my API version to 2026-01, but I’m still getting same error:

Error creating product: GraphqlQueryError: Variable $input of type ProductInput! was provided invalid value for status (Expected "UNLISTED" to be one of: ACTIVE, ARCHIVED, DRAFT)

Can you post the full mutation code you’re using, as well as the API url you’re using.

Here’s the mutation I’m using:

const response = await admin.graphql(`#graphql
  mutation productCreate($product: ProductCreateInput!) {
    productCreate(product: $product) {
      product {
        id
        title
        status
      }
      userErrors {
        field
        message
      }
    }
  }
`, {
  variables: {
    product: {
      title: "Private Product",
      status: "UNLISTED",
    }
  }
});

May need some input from the Shopify team here to help further. But in the mean time could you try using productSet to see if the error is the same? :slight_smile: