Magidoc

SaleInput
Input Object

Fields

#

categories

[ ID !]

Categories related to the sale.

collections

[ ID !]

Collections related to the sale.

endDate

End date of the sale in ISO 8601 format.

minCheckoutItemsQuantity

Minimal quantity of checkout items required to apply the voucher.

minSpentAmount

Min purchase amount required to apply the voucher.

name

Sale name.

products

[ ID !]

Products related to the sale.

saleType

Sale type: SPECIFICT PRODUCT or SHIPPING

startDate

Start date of the sale in ISO 8601 format.

type

Fixed or percentage.

value

Value of the sale.

variants

[ ID !]

Variants related to the sale.

Usages

#

References

#

  • Argument input of field saleCreate from type Mutation
  • Argument input of field saleUpdate from type Mutation