DiscountCustomerGetsInput input object

Version 2020-01 (Release candidate)

Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.

Input fields

items (DiscountItemsInput)

The IDs of the items that the customer gets. The items can be either collections or products.

value (DiscountCustomerGetsValueInput)

The quantity of items discounted and the discount value.

Version 2019-10 (Latest)

Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.

Input fields

items (DiscountItemsInput)

The IDs of the items that the customer gets. The items can be either collections or products.

value (DiscountCustomerGetsValueInput)

The quantity of items discounted and the discount value.

Version 2019-07

Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.

Input fields

items (DiscountItemsInput)

The IDs of the items that the customer gets. The items can be either collections or products.

value (DiscountCustomerGetsValueInput)

The quantity of items discounted and the discount value.

Version 2019-04

Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.

Input fields

items (DiscountItemsInput)

The IDs of the items that the customer gets. The items can be either collections or products.

value (DiscountCustomerGetsValueInput)

The quantity of items discounted and the discount value.

Sign up for a Partner account to get started.

Sign up