INPUT_OBJECT

SaleInput

link GraphQL Schema definition

  • input SaleInput {
  • # Voucher name.
  • name: String
  • # Fixed or percentage.
  • type: DiscountValueTypeEnum
  • # Value of the voucher.
  • value: Decimal
  • # Products related to the discount.
  • products: [ID]
  • # Categories related to the discount.
  • categories: [ID]
  • # Collections related to the discount.
  • collections: [ID]
  • # Start date of the voucher in ISO 8601 format.
  • startDate: DateTime
  • # End date of the voucher in ISO 8601 format.
  • endDate: DateTime
  • }

link Require by