DiscountApplicationTargetType

Version 2019-04

The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.

Show definition
"""
The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
"""
enum DiscountApplicationTargetType {
  """
  The discount applies onto line items.
  """
  LINE_ITEM
  """
  The discount applies onto shipping lines.
  """
  SHIPPING_LINE
}

Values

LINE_ITEM

The discount applies onto line items.

SHIPPING_LINE

The discount applies onto shipping lines.

Version 2019-07 (Latest)

The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.

Show definition
"""
The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
"""
enum DiscountApplicationTargetType {
  """
  The discount applies onto line items.
  """
  LINE_ITEM
  """
  The discount applies onto shipping lines.
  """
  SHIPPING_LINE
}

Values

LINE_ITEM

The discount applies onto line items.

SHIPPING_LINE

The discount applies onto shipping lines.

Version 2019-10 (Release candidate)

The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.

Show definition
"""
The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
"""
enum DiscountApplicationTargetType {
  """
  The discount applies onto line items.
  """
  LINE_ITEM
  """
  The discount applies onto shipping lines.
  """
  SHIPPING_LINE
}

Values

LINE_ITEM

The discount applies onto line items.

SHIPPING_LINE

The discount applies onto shipping lines.

Sign up for a Partner account to get started.

Sign up