--- title: DraftOrderWarning - GraphQL Admin description: >- A warning that is displayed to the merchant when a change is made to a draft order. api_version: 2026-04 api_name: admin type: interface api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DraftOrderWarning md: >- https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DraftOrderWarning.md --- # Draft​Order​Warning interface Requires `read_draft_orders` access scope. A warning that is displayed to the merchant when a change is made to a draft order. ## Fields * error​Code [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The error code. * field [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The input field that the warning applies to. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The warning message. *** ##### Variables ```json { "errorCode": "", "field": "", "message": "" } ``` ##### Schema ```graphql interface DraftOrderWarning { errorCode: String! field: String! message: String! } ```