PriceRuleTarget enum

Version unstable

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

Values

  • LINE_ITEM

    The price rule applies to line items.

  • SHIPPING_LINE

    The price rule applies to shipping lines.

Types that return PriceRuleTarget

Version 2021-10 (Release candidate)

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

Values

  • LINE_ITEM

    The price rule applies to line items.

  • SHIPPING_LINE

    The price rule applies to shipping lines.

Types that return PriceRuleTarget

Version 2021-07 (Latest)

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

Values

  • LINE_ITEM

    The price rule applies to line items.

  • SHIPPING_LINE

    The price rule applies to shipping lines.

Types that return PriceRuleTarget

Version 2021-04

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

Values

  • LINE_ITEM

    The price rule applies to line items.

  • SHIPPING_LINE

    The price rule applies to shipping lines.

Types that return PriceRuleTarget

Version 2021-01

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

Values

  • LINE_ITEM

    The price rule applies to line items.

  • SHIPPING_LINE

    The price rule applies to shipping lines.

Types that return PriceRuleTarget

Version 2020-10

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

Values

  • LINE_ITEM

    The price rule applies to line items.

  • SHIPPING_LINE

    The price rule applies to shipping lines.

Types that return PriceRuleTarget