DiscountAutomaticBasicInput input object

Version unstable

Specifies input field to create or update automatic basic discount.

Input fields

  • customerGets (DiscountCustomerGetsInput)

    The qualifying items in an order, the quantity of each one, and the total value of the discount.

  • endsAt (DateTime)

    The date and time when the discount ends. For open-ended discounts, use null.

  • minimumRequirement (DiscountMinimumRequirementInput)

    The minimum subtotal or quantity that's required for the discount to be applied.

  • startsAt (DateTime)

    The date and time when the discount starts.

  • title (String)

    The title of the discount.

Version 2021-10 (Release candidate)

Specifies input field to create or update automatic basic discount.

Input fields

  • customerGets (DiscountCustomerGetsInput)

    The qualifying items in an order, the quantity of each one, and the total value of the discount.

  • endsAt (DateTime)

    The date and time when the discount ends. For open-ended discounts, use null.

  • minimumRequirement (DiscountMinimumRequirementInput)

    The minimum subtotal or quantity that's required for the discount to be applied.

  • startsAt (DateTime)

    The date and time when the discount starts.

  • title (String)

    The title of the discount.

Version 2021-07 (Latest)

Specifies input field to create or update automatic basic discount.

Input fields

  • customerGets (DiscountCustomerGetsInput)

    The qualifying items in an order, the quantity of each one, and the total value of the discount.

  • endsAt (DateTime)

    The date and time when the discount ends. For open-ended discounts, use null.

  • minimumRequirement (DiscountMinimumRequirementInput)

    The minimum subtotal or quantity that's required for the discount to be applied.

  • startsAt (DateTime)

    The date and time when the discount starts.

  • title (String)

    The title of the discount.

Version 2021-04

Specifies input field to create or update automatic basic discount.

Input fields