DraftOrderDiscountNotAppliedWarning - admin-graphql - OBJECT
Version: 2024-07
Description:
A warning indicating that a discount cannot be applied to a draft order.
Access Scopes
`read_draft_orders` access scope.
Fields
-
discountCode:
String -
The code of the discount that can't be applied.
-
discountTitle:
String -
The title of the discount that can't be applied.
-
errorCode:
String! -
The error code.
-
field:
String! -
The input field that the warning applies to.
-
message:
String! -
The warning message.
-
priceRule:
PriceRule -
The price rule that can't be applied.
Connections
Related queries
Related mutations
Related Unions
Examples