--- title: DraftOrderConnection - GraphQL Admin description: An auto-generated type for paginating through multiple DraftOrders. api_version: 2025-10 api_name: admin type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/connections/draftorderconnection md: https://shopify.dev/docs/api/admin-graphql/latest/connections/draftorderconnection.md --- # Draft​Order​Connection connection An auto-generated type for paginating through multiple DraftOrders. ## Fields with this connection * [Company.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/Company#field-Company.fields.draftOrders) OBJECT Represents information about a company which is also a customer of the shop. * [Company​Contact.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyContact#field-CompanyContact.fields.draftOrders) OBJECT A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer). * [Company​Location.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation#field-CompanyLocation.fields.draftOrders) OBJECT A location or branch of a [company that's a customer](https://shopify.dev/api/admin-graphql/latest/objects/company) of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location. * [Customer​Merge​Preview​Default​Fields.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerMergePreviewDefaultFields#field-CustomerMergePreviewDefaultFields.fields.draftOrders) OBJECT The fields that will be kept as part of a customer merge preview. * [Shop.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-Shop.fields.draftOrders) OBJECT Deprecated (removal date set) *** ## Queries with this connection * [draft​Orders](https://shopify.dev/docs/api/admin-graphql/latest/queries/draftOrders) query List of saved draft orders. *** ## Possible returns * edges [\[Draft​Order​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrderEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Draft​Order!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) non-null A list of nodes that are contained in DraftOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. * page​Info [Page​Info!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PageInfo) non-null An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. *** ## Map ### Fields with this connection * {}[Company.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/Company#field-Company.fields.draftOrders) * {}[Company​Contact.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyContact#field-CompanyContact.fields.draftOrders) * {}[Company​Location.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation#field-CompanyLocation.fields.draftOrders) * {}[Customer​Merge​Preview​Default​Fields.draftOrders](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerMergePreviewDefaultFields#field-CustomerMergePreviewDefaultFields.fields.draftOrders) ### Queries with this connection * \[draft​Orders](https://shopify.dev/docs/api/admin-graphql/latest/queries/draftOrders) ### Possible returns * <->[Draft​Order​Connection.edges](https://shopify.dev/docs/api/admin-graphql/latest/connections/DraftOrderConnection#returns-edges) * <->[Draft​Order​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/DraftOrderConnection#returns-nodes) * <->[Draft​Order​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/latest/connections/DraftOrderConnection#returns-pageInfo)