GitHub

ShopifyPricingPercentageValue

Type

import { ShopifyPricingPercentageValue } from '@daffodil/driver/shopify'

A percentage discount value applied to cart items or orders. Returned as part of the PricingValue union on discount applications, where it represents discounts calculated as a percentage off rather than a fixed amount.

interface ShopifyPricingPercentageValue {
  __typename: "PricingPercentageValue"
  percentage: number
}

Properties

__typename
"PricingPercentageValue"
percentage
number

The percentage value of the object.