Source Product

{
  availableForSale: true,
  compareAtPrice: {
    __nylaType: "nyla_compound_price",
    value: [
      {
        amount: "52.0",
        currencyCode: "USD",
      },
      {
        amount: "96.0",
        currencyCode: "USD",
      },
    ],
  },
  description: "A light-reflecting superproduct that’s as versatile as it is simple to use. Wear Miracle Balm alone or layer on top of foundation for an instant refresh. Changetest link",
  descriptionHtml: "A light-reflecting superproduct that’s as versatile as it is simple to use. Wear Miracle Balm alone or layer on top of foundation for an instant refresh. Change test link",
  handle: "balm",
  id: "gid://shopify/Product/7686505824421",
  maxCompareAtPrice: {
    amount: "52.0",
    currencyCode: "USD",
  },
  maxPrice: {
    amount: "76.0",
    currencyCode: "USD",
  },
  media: [
    {
      altText: "Dawn,50ml",
      id: "gid://shopify/ImageSource/25201001300133",
      type: "image",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Rosesmall.jpg?v=1651269732",
    },
    {
      altText: "Dawn, Dusk, Evening, Morning, Noon",
      id: "gid://shopify/ImageSource/25434767622309",
      type: "image",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Productimage2_78b9f74a-f50a-4e3b-9beb-eb4414f1f265.jpg?v=1663857862",
    },
    {
      altText: "Dawn, 50ml",
      id: "gid://shopify/ImageSource/25201001463973",
      type: "image",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Roselarge.jpg?v=1663857862",
    },
  ],
  metafield: {
    custom: {
      descriptionlarge: "Louise is 6'2 wearing the Open air pant in blue",
      largesizes: {
        altText: null,
        height: 800,
        id: "gid://shopify/ImageSource/25856801472677",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/Large.png?v=1663163286",
        width: 800,
      },
      mysize: "true",
      smallsizes: {
        altText: null,
        height: 800,
        id: "gid://shopify/ImageSource/25856800391333",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/Small.png?v=1663163275",
        width: 800,
      },
    },
    nyla: {
      array_of_images: "[\"gid://shopify/MediaImage/26451061047461\",\"gid://shopify/MediaImage/26451061014693\",\"gid://shopify/MediaImage/26451060981925\",\"gid://shopify/MediaImage/26451060949157\",\"gid://shopify/MediaImage/26451060883621\"]",
      featuredIngredients: "Geranium, Mint, Eucalyptus, Lavender",
      ingredients: "antioxidant, black-pepper",
      shipping: "Usually ships in 2-4 weeks",
      single_image: {
        altText: null,
        height: 4096,
        id: "gid://shopify/ImageSource/26309420417189",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/92d292fe78389de7a22c376f48164a61.jpg?v=1671467507",
        width: 2713,
      },
    },
    nyla_messaging: {
      ribbon: "Best-Seller",
      tagline: "Tagline text",
    },
    nyla_options: {
      defaultValue1: "50ml",
      defaultValue2: "Morning",
      productOptionImageFilter: "Shade",
    },
  },
  minCompareAtPrice: {
    amount: "42.0",
    currencyCode: "USD",
  },
  minPrice: {
    amount: "42.0",
    currencyCode: "USD",
  },
  options: [
    {
      name: "Shade",
      selectedOptionValue: "Dawn",
      values: [
        "Dawn",
        "Morning",
        "Noon",
        "Dusk",
        "Evening",
      ],
    },
    {
      name: "Size",
      selectedOptionValue: "25ml",
      values: [
        "25ml",
        "50ml",
        "75ml",
        "100ml",
      ],
    },
  ],
  optionsByName: {
    shade: {
      values: [
        {
          availableForSale: true,
          isSelected: false,
          value: "Dawn",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Morning",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Noon",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Dusk",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "Evening",
        },
      ],
    },
    size: {
      values: [
        {
          availableForSale: true,
          isSelected: false,
          value: "25ml",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "50ml",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "75ml",
        },
        {
          availableForSale: true,
          isSelected: false,
          value: "100ml",
        },
      ],
    },
  },
  price: {
    __nylaType: "nyla_compound_price",
    value: [
      {
        amount: "42.0",
        currencyCode: "USD",
      },
      {
        amount: "76.0",
        currencyCode: "USD",
      },
    ],
  },
  productType: "Options_shade_size",
  sellingPlanGroups: [
    {
      appName: "SKIO",
      currentDiscount: 5,
      discountType: "SellingPlanFixedPriceAdjustment",
      isSelected: "Every Month",
      isSellingPlanSelected: false,
      name: "Subscription",
      options: [
        {
          name: "Every-gid://shopify/ProductVariant/46240848544065",
          values: [
            "Every Month",
            "Every 2 months",
            "Every 3 months",
          ],
        },
      ],
      selectedIndex: 0,
      sellingPlanName: "Every-gid://shopify/ProductVariant/46240848544065",
      sellingPlans: [
        {
          description: null,
          id: "gid://shopify/SellingPlan/8363868481",
          name: "Every Month",
          options: [
            {
              name: "Every-gid://shopify/ProductVariant/46240848544065",
              value: "Every Month",
            },
          ],
          priceAdjustments: [
            {
              adjustmentValue: {
                __typename: "SellingPlanPercentagePriceAdjustment",
                adjustmentPercentage: 0,
              },
              orderCount: null,
            },
          ],
          recurringDeliveries: true,
        },
        {
          description: null,
          id: "gid://shopify/SellingPlan/8363901249",
          name: "Every 2 months",
          options: [
            {
              name: "Every-gid://shopify/ProductVariant/46240848544065",
              value: "Every 2 months",
            },
          ],
          priceAdjustments: [
            {
              adjustmentValue: {
                __typename: "SellingPlanPercentagePriceAdjustment",
                adjustmentPercentage: 0,
              },
              orderCount: null,
            },
          ],
          recurringDeliveries: true,
        },
        {
          description: null,
          id: "gid://shopify/SellingPlan/8363934017",
          name: "Every 3 months",
          options: [
            {
              name: "Every-gid://shopify/ProductVariant/46240848544065",
              value: "Every 3 months",
            },
          ],
          priceAdjustments: [
            {
              adjustmentValue: {
                __typename: "SellingPlanPercentagePriceAdjustment",
                adjustmentPercentage: 0,
              },
              orderCount: null,
            },
          ],
          recurringDeliveries: true,
        },
      ],
      sellingPlansIds: [
        "gid://shopify/SellingPlan/8363868481",
        "gid://shopify/SellingPlan/8363901249",
        "gid://shopify/SellingPlan/8363934017",
      ],
    },
    {
      appName: "SKIO",
      currentDiscount: {
        amount: "4.0",
        currencyCode: "USD",
      },
      discountType: "SellingPlanFixedPriceAdjustment",
      isSelected: "Every Month",
      isSellingPlanSelected: false,
      name: "Subscription",
      options: [
        {
          name: "Every-gid://shopify/ProductVariant/46240848544065",
          values: [
            "Every Month",
            "Every 2 months",
            "Every 3 months",
          ],
        },
      ],
      selectedIndex: 0,
      sellingPlanName: "Every-gid://shopify/ProductVariant/46240848544065",
      sellingPlans: [
        {
          description: null,
          id: "gid://shopify/SellingPlan/8363868481",
          name: "Every Month",
          options: [
            {
              name: "Every-gid://shopify/ProductVariant/46240848544065",
              value: "Every Month",
            },
          ],
          priceAdjustments: [
            {
              adjustmentValue: {
                __typename: "SellingPlanPercentagePriceAdjustment",
                adjustmentPercentage: 0,
              },
              orderCount: null,
            },
          ],
          recurringDeliveries: true,
        },
        {
          description: null,
          id: "gid://shopify/SellingPlan/8363901249",
          name: "Every 2 months",
          options: [
            {
              name: "Every-gid://shopify/ProductVariant/46240848544065",
              value: "Every 2 months",
            },
          ],
          priceAdjustments: [
            {
              adjustmentValue: {
                __typename: "SellingPlanPercentagePriceAdjustment",
                adjustmentPercentage: 0,
              },
              orderCount: null,
            },
          ],
          recurringDeliveries: true,
        },
        {
          description: null,
          id: "gid://shopify/SellingPlan/8363934017",
          name: "Every 3 months",
          options: [
            {
              name: "Every-gid://shopify/ProductVariant/46240848544065",
              value: "Every 3 months",
            },
          ],
          priceAdjustments: [
            {
              adjustmentValue: {
                __typename: "SellingPlanPercentagePriceAdjustment",
                adjustmentPercentage: 0,
              },
              orderCount: null,
            },
          ],
          recurringDeliveries: true,
        },
      ],
      sellingPlansIds: [
        "gid://shopify/SellingPlan/8363868481",
        "gid://shopify/SellingPlan/8363901249",
        "gid://shopify/SellingPlan/8363934017",
      ],
    },
  ],
  seo: {
    description: "The SEO description",
    title: "Balm - SEO title",
  },
  shortId: "7686505824421",
  tags: [
    "categoryFace",
    "nyla_collection_285428154533",
    "nyla_collection_285428613285",
    "nyla_collection_286857232549",
    "upsell-balm",
    "upsell-top",
  ],
  title: "Balm",
  totalInventory: 130,
  url: "/products/balm?variant_id=41606306693285",
  variant: {
    availableForSale: true,
    barcode: "",
    compareAtPrice: null,
    currentlyNotInStock: false,
    image: {
      altText: "Morning, 50ml",
      id: "gid://shopify/ProductImage/32788414529701",
      url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mintlarge.jpg?v=1663857862",
    },
    media: [
      {
        altText: "Dawn, Dusk, Evening, Morning, Noon",
        id: "gid://shopify/ImageSource/25434767622309",
        type: "image",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Productimage2_78b9f74a-f50a-4e3b-9beb-eb4414f1f265.jpg?v=1663857862",
      },
      {
        altText: "Morning, 50ml",
        id: "gid://shopify/ImageSource/25201001398437",
        type: "image",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mintsmall.jpg?v=1663857862",
      },
      {
        altText: "Morning, 50ml",
        id: "gid://shopify/ImageSource/25201001562277",
        type: "image",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mintlarge.jpg?v=1663857862",
      },
    ],
    metafield: {
      nyla: {
        dark_image: {
          altText: null,
          height: 2475,
          id: "gid://shopify/ImageSource/26309377294501",
          url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-of-beautiful-black-woman-with-mysterious-shadows.jpg?v=1671466812",
          width: 1650,
        },
        light_image: {
          altText: null,
          height: 2474,
          id: "gid://shopify/ImageSource/26446658437285",
          url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-of-beautiful-woman-with-clear-skin-posing-with-monster-plant-leaf.jpg?v=1675097830",
          width: 1650,
        },
        medium_image: {
          altText: null,
          height: 4096,
          id: "gid://shopify/ImageSource/26309377360037",
          url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/dbd006133f931767456c7cdfb16cf1d4.jpg?v=1671466813",
          width: 2925,
        },
      },
    },
    price: {
      amount: "76.0",
      currencyCode: "USD",
    },
    quantityAvailable: 23,
    selectedOptions: [
      {
        name: "Shade",
        value: "Morning",
      },
      {
        name: "Size",
        value: "50ml",
      },
    ],
    sellingPlanAllocations: [
      {
        sellingPlan: {
          id: "gid://shopify/SellingPlan/8363868481",
        },
      },
      {
        sellingPlan: {
          id: "gid://shopify/SellingPlan/8363901249",
        },
      },
      {
        sellingPlan: {
          id: "gid://shopify/SellingPlan/8363934017",
        },
      },
    ],
    shortId: "41606306693285",
    sku: "",
    title: "Morning / 50ml",
  },
  variants: [
    {
      availableForSale: true,
      barcode: "",
      compareAtPrice: null,
      currentlyNotInStock: false,
      image: {
        altText: "Dusk, 50ml",
        id: "gid://shopify/ProductImage/32788414595237",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mangosmall.jpg?v=1663857862",
      },
      isSelected: false,
      metafield: {
        nyla: {
          dark_image: {
            altText: null,
            height: 1100,
            id: "gid://shopify/ImageSource/26309377228965",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-black-woman-using-jade-roller-her-face.jpg?v=1671466812",
            width: 1650,
          },
          light_image: {
            altText: null,
            height: 1066,
            id: "gid://shopify/ImageSource/26309377196197",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-woman-with-clear-skin.jpg?v=1671466812",
            width: 1600,
          },
          medium_image: {
            altText: null,
            height: 4096,
            id: "gid://shopify/ImageSource/26309420417189",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/92d292fe78389de7a22c376f48164a61.jpg?v=1671467507",
            width: 2713,
          },
        },
      },
      price: {
        amount: "42.0",
        currencyCode: "USD",
      },
      quantityAvailable: 22,
      selectedOptions: [
        {
          name: "Shade",
          value: "Dawn",
        },
        {
          name: "Size",
          value: "25ml",
        },
      ],
      sellingPlanAllocations: [
        {
          sellingPlan: {
            id: "gid://shopify/SellingPlan/8363868481",
          },
        },
        {
          sellingPlan: {
            id: "gid://shopify/SellingPlan/8363901249",
          },
        },
        {
          sellingPlan: {
            id: "gid://shopify/SellingPlan/8363934017",
          },
        },
      ],
      shortId: "41606306431141",
      sku: "",
      title: "Dawn / 25ml",
    },
    {
      availableForSale: true,
      barcode: "",
      compareAtPrice: null,
      currentlyNotInStock: false,
      image: {
        altText: "Dusk, 50ml",
        id: "gid://shopify/ProductImage/32788414562469",
        url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/products/Mangolarge.jpg?v=1663857862",
      },
      isSelected: true,
      metafield: {
        nyla: {
          dark_image: {
            altText: null,
            height: 1100,
            id: "gid://shopify/ImageSource/26309377228965",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-black-woman-using-jade-roller-her-face.jpg?v=1671466812",
            width: 1650,
          },
          light_image: {
            altText: null,
            height: 1066,
            id: "gid://shopify/ImageSource/26309377196197",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/portrait-beautiful-woman-with-clear-skin.jpg?v=1671466812",
            width: 1600,
          },
          medium_image: {
            altText: null,
            height: 4096,
            id: "gid://shopify/ImageSource/26309420417189",
            url: "https://cdn.shopify.com/s/files/1/0584/6053/6997/files/92d292fe78389de7a22c376f48164a61.jpg?v=1671467507",
            width: 2713,
          },
        },
      },
      price: {
        amount: "76.0",
        currencyCode: "USD",
      },
      quantityAvailable: 1,
      selectedOptions: [
        {
          name: "Shade",
          value: "Dawn",
        },
        {
          name: "Size",
          value: "50ml",
        },
      ],
      sellingPlanAllocations: [
        {
          sellingPlan: {
            id: "gid://shopify/SellingPlan/8363868481",
          },
        },
        {
          sellingPlan: {
            id: "gid://shopify/SellingPlan/8363901249",
          },
        },
        {
          sellingPlan: {
            id: "gid://shopify/SellingPlan/8363934017",
          },
        },
      ],
      shortId: "41606306594981",
      sku: "",
      title: "Dawn / 50ml",
    },
  ],
  vendor: "Nyla",
}

Properties

boolean

Indicates whether or not the product is available for sale.

nyla_compound_price

The minimum and maximum compare-at prices across a product's variants.

string

Stripped description of the product, single line with HTML tags removed.

string

The description of the product, complete with HTML formatting.

string

A human-friendly unique string for the Product automatically generated from its title.

string

A globally-unique identifier from Shopify (the GraphQL long-form format).

nyla_price

The maximum compare-at price across a product's variants.

nyla_price

The highest variant's product

array

The media associated with the product. You can iterate over the array (in Grid Layout/Slide Layout) or directly use {{ product.media.0 }} to select the first image (with any number in the list).

object

nyla_price

The minimum compare-at price across a product's variants.

nyla_price

The lowest variant's product

array

List of custom product property names like “Size”, “Color”, and “Material” with values. These represent product options and can be used for products in a variety of ways.

object

Same as product.options but keyed by option name which makes it easy to use. Each option also surfaces more useful information.

nyla_compound_price

The price range.

string

A categorization that a product can be tagged with, commonly used for filtering and searching.

object

array

This properties are generally created by a subscription app, SKIO for example.
A list of a product's available selling plan groups. A selling plan group represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans.

object

The product's SEO data

string

A globally-unique identifier from Shopify (the Admin number-only format).

array

A categorization that a product can be tagged with, commonly used for filtering and searching.

string

The product’s title.

number

The total quantity of inventory available for the product.

string

The URL for the product’s page on the shop’s website.

object

Returns the selected variant

array

List of product variants.

string

The product’s vendor name.