Skip to main content
Anchor to DiscountCustomerBuysInput

DiscountCustomerBuysInput

input_object

The input fields for prerequisite items and quantity for the discount.

•BooleanDefault:true

If the discount is applicable when a customer buys a one-time purchase.

•BooleanDefault:false

If the discount is applicable when a customer buys a subscription purchase.

•DiscountItemsInput

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

•DiscountCustomerBuysValueInput

The quantity of prerequisite items.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The items eligible for the discount and the required quantity of each to receive the discount.

•INPUT OBJECT

The items eligible for the discount and the required quantity of each to receive the discount.


Was this section helpful?