SaleInput Input Type
No description
input SaleInput {
  name: String
  type: DiscountValueTypeEnum
  value: PositiveDecimal
  products: [ID!]
  variants: [ID!]
  categories: [ID!]
  collections: [ID!]
  startDate: DateTime
  endDate: DateTime
}
Fields
SaleInput.name ● String scalar miscellaneous
Voucher name.
SaleInput.type ● DiscountValueTypeEnum enum discounts
Fixed or percentage.
SaleInput.value ● PositiveDecimal scalar miscellaneous
Value of the voucher.
SaleInput.products ● [ID!] list scalar miscellaneous
Products related to the discount.
SaleInput.variants ● [ID!] list scalar miscellaneous
SaleInput.categories ● [ID!] list scalar miscellaneous
Categories related to the discount.
SaleInput.collections ● [ID!] list scalar miscellaneous
Collections related to the discount.
SaleInput.startDate ● DateTime scalar miscellaneous
Start date of the voucher in ISO 8601 format.
SaleInput.endDate ● DateTime scalar miscellaneous
End date of the voucher in ISO 8601 format.
Member Of
saleCreate mutation ● saleUpdate mutation