DiscountCustomerGetsValueInput input object

Version unstable

Specifies the quantity of items discounted and the discount value.

Input fields

  • discountAmount (DiscountAmountInput)

    The value of the discount.

  • discountOnQuantity (DiscountOnQuantityInput)

    The quantity of the items that are discounted and the discount value.

  • percentage (Float)

    The percentage value of the discount. Value must be between 0.00 - 1.00.

Version 2021-10 (Release candidate)

Specifies the quantity of items discounted and the discount value.

Input fields

  • discountAmount (DiscountAmountInput)

    The value of the discount.

  • discountOnQuantity (DiscountOnQuantityInput)

    The quantity of the items that are discounted and the discount value.

  • percentage (Float)

    The percentage value of the discount. Value must be between 0.00 - 1.00.

Version 2021-07 (Latest)

Specifies the quantity of items discounted and the discount value.

Input fields

  • discountAmount (DiscountAmountInput)

    The value of the discount.

  • discountOnQuantity (DiscountOnQuantityInput)

    The quantity of the items that are discounted and the discount value.

  • percentage (Float)

    The percentage value of the discount. Value must be between 0.00 - 1.00.

Version 2021-04

Specifies the quantity of items discounted and the discount value.

Input fields

  • discountAmount (DiscountAmountInput)

    The value of the discount.

  • discountOnQuantity (DiscountOnQuantityInput)

    The quantity of the items that are discounted and the discount value.

  • percentage (Float)

    The percentage value of the discount. Value must be between 0.00 - 1.00.

Version 2021-01

Specifies the quantity of items discounted and the discount value.

Input fields

  • discountAmount (DiscountAmountInput)

    The value of the discount.

  • discountOnQuantity (DiscountOnQuantityInput)

    The quantity of the items that are discounted and the discount value.

  • percentage (Float)

    The percentage value of the discount. Value must be between 0.00 - 1.00.

Version 2020-10

Specifies the quantity of items discounted and the discount value.

Input fields

  • discountAmount (DiscountAmountInput)

    The value of the discount.

  • discountOnQuantity (DiscountOnQuantityInput)

    The quantity of the items that are discounted and the discount value.

  • percentage (Float)

    The percentage value of the discount. Value must be between 0.00 - 1.00.