GitHub

ShopifySellingPlanPriceAdjustment

interface

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

Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. If a variant has multiple price adjustments, then the first price adjustment applies when the variant is initially purchased. The second price adjustment applies after a certain number of orders (specified by the orderCount field) are made. If a selling plan doesn't have any price adjustments, then the unadjusted price of the variant is the effective price.

interface ShopifySellingPlanPriceAdjustment {
  __typename: "SellingPlanPriceAdjustment"
  adjustmentValue: ShopifySellingPlanPriceAdjustmentValue
  orderCount: number
}

Properties

__typename
"SellingPlanPriceAdjustment"
adjustmentValue
ShopifySellingPlanPriceAdjustmentValue

The type of price adjustment. An adjustment value can have one of three types: percentage, amount off, or a new price.

orderCount
number

The number of orders that the price adjustment applies to. If the price adjustment always applies, then this field is null.