API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04 Unsupported
API version: 2020-01 Unsupported

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-07 (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-04 (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-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

Version 2020-07

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-04 (Unsupported)

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-01 (Unsupported)

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 2019-10 (Unsupported)

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 2019-07 (Unsupported)

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 2019-04 (Unsupported)

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