PriceRuleTarget

Version 2019-04

The type of lines (line_item or shipping_line) to which the price rule applies.

Show definition
"""
The type of lines (line_item or shipping_line) to which the price rule applies.
"""
enum PriceRuleTarget {
  """
  The price rule applies to line items.
  """
  LINE_ITEM
  """
  The price rule applies to shipping lines.
  """
  SHIPPING_LINE
}

Values

LINE_ITEM

The price rule applies to line items.

SHIPPING_LINE

The price rule applies to shipping lines.

Version 2019-07 (Latest)

The type of lines (line_item or shipping_line) to which the price rule applies.

Show definition
"""
The type of lines (line_item or shipping_line) to which the price rule applies.
"""
enum PriceRuleTarget {
  """
  The price rule applies to line items.
  """
  LINE_ITEM
  """
  The price rule applies to shipping lines.
  """
  SHIPPING_LINE
}

Values

LINE_ITEM

The price rule applies to line items.

SHIPPING_LINE

The price rule applies to shipping lines.

Version 2019-10 (Release candidate)

The type of lines (line_item or shipping_line) to which the price rule applies.

Show definition
"""
The type of lines (line_item or shipping_line) to which the price rule applies.
"""
enum PriceRuleTarget {
  """
  The price rule applies to line items.
  """
  LINE_ITEM
  """
  The price rule applies to shipping lines.
  """
  SHIPPING_LINE
}

Values

LINE_ITEM

The price rule applies to line items.

SHIPPING_LINE

The price rule applies to shipping lines.

Sign up for a Partner account to get started.

Sign up