SaleInput
No description
input SaleInput {
name: String
type: DiscountValueTypeEnum
value: PositiveDecimal
products: [ID!]
variants: [ID!]
categories: [ID!]
collections: [ID!]
startDate: DateTime
endDate: DateTime
minSpentAmount: PositiveDecimal
minCheckoutItemsQuantity: Int
saleType: SaleTypeEnum
}
Fields
SaleInput.name ● String scalar
Sale name.
SaleInput.type ● DiscountValueTypeEnum enum
Fixed or percentage.
SaleInput.value ● PositiveDecimal scalar
Value of the sale.
SaleInput.products ● [ID!] list scalar
Products related to the sale.
SaleInput.variants ● [ID!] list scalar
Variants related to the sale.
SaleInput.categories ● [ID!] list scalar
Categories related to the sale.
SaleInput.collections ● [ID!] list scalar
Collections related to the sale.
SaleInput.startDate ● DateTime scalar
Start date of the sale in ISO 8601 format.
SaleInput.endDate ● DateTime scalar
End date of the sale in ISO 8601 format.
SaleInput.minSpentAmount ● PositiveDecimal scalar
Min purchase amount required to apply the sale.
SaleInput.minCheckoutItemsQuantity ● Int scalar
Minimal quantity of checkout items required to apply the sale.
SaleInput.saleType ● SaleTypeEnum enum
Sale type: SPECIFICT PRODUCT or SHIPPING
Member Of
saleCreate mutation ● saleUpdate mutation