Skip to main content

Discount

No description

type Discount implements IDiscount {
categoryId: Int
category: Category
id: String!
createdAt: DateTime!
lastModifiedAt: DateTime!
value: Float!
quantityFrom: Int!
validFrom: DateTime
validTo: DateTime
pricesheetId: String!
productId: Int
priceGroup: String
discountType: PriceDiscountType!
product: Product
}

Fields

Discount.categoryId ● Int scalar

Category Id

Discount.category ● Category object

Discount.id ● String! non-null scalar

Primary identifier

Discount.createdAt ● DateTime! non-null scalar

Creation date

Discount.lastModifiedAt ● DateTime! non-null scalar

Last modified date

Discount.value ● Float! non-null scalar

Discount value, either percentage or fixed amount

Discount.quantityFrom ● Int! non-null scalar

Indicates the minimum quantity threshold needed to qualify for the bulk price.

Discount.validFrom ● DateTime scalar

Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string

Discount.validTo ● DateTime scalar

End date of the bulk pricing offer. Must be a valid ISO 8601 date string

Discount.pricesheetId ● String! non-null scalar

pricesheet foreign identifier

Discount.productId ● Int scalar

Product Id

Discount.priceGroup ● String scalar

Price group

Discount.discountType ● PriceDiscountType! non-null enum

The method used to apply discounts for bulk prices / volume discounts.

Discount.product ● Product object

Interfaces

IDiscount interface

Returned By

discount query ● discountCreate mutation ● discountUpdate mutation

Member Of

DiscountResponse object