Does "v1_1" is right encodedVariantExistence for no variants?

Does "v1_1" is right encodedVariantExistence for no variants?

xdlbdy
Shopify Partner
5 0 0

I got "v1_1" as encodedVariantExistence from the product query by Storefront API, but the product only has a default option with one default value.

The correct value should be "v1_0", so I think this is a bug.

{
    "encodedVariantAvailability": "v1_",
    "encodedVariantExistence": "v1_1",
    "options": [
      {
        "name": "Title",
        "optionValues": [
          {
            "name": "Default Title"
          }
        ]
      }
    ],
    "variants": {
      "nodes": [
        {
          "availableForSale": false,
          "currentlyNotInStock": false,
          "selectedOptions": [
            {
              "name": "Title",
              "value": "Default Title"
            }
          ],
          "title": "Default Title"
        }
      ]
    }
}

 

Replies 0 (0)