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