Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

OrderDiscount Object

Contains all details related to the applied discount to the order.

type OrderDiscount implements Node {
  id: ID!
  type: OrderDiscountType!
  name: String
  translatedName: String
  valueType: DiscountValueTypeEnum!
  value: PositiveDecimal!
  reason: String
  amount: Money! @deprecated(reason: "Use `total` instead.")
  total: Money!
}

Interfaces

Node

Fields

id

id · ID!

The ID of discount applied.

type

type · OrderDiscountType!

The type of applied discount: Sale, Voucher or Manual.

name

name · String

The name of applied discount.

translatedName

translatedName · String

Translated name of the applied discount.

valueType

valueType · DiscountValueTypeEnum!

Type of the discount: fixed or percent

value

value · PositiveDecimal!

Value of the discount. Can store fixed value or percent value

reason

reason · String

Explanation for the applied discount.

Requires one of the following permissions:MANAGE_ORDERS

amount

amount · Money!

Returns amount of discount.

total

total · Money!

The amount of discount applied to the order.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?