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
name ● String
Voucher name.
type ● DiscountValueTypeEnum
Fixed or percentage.
value ● PositiveDecimal
Value of the voucher.
products ● [ID!]
Products related to the discount.
variants ● [ID!]
categories ● [ID!]
Categories related to the discount.
collections ● [ID!]
Collections related to the discount.
startDate ● DateTime
Start date of the voucher in ISO 8601 format.
endDate ● DateTime
End date of the voucher in ISO 8601 format.
Member Of
saleCreate mutation ● saleUpdate mutation