--- title: draftOrderDuplicate - GraphQL Admin description: Duplicates a draft order. api_version: 2025-01 api_name: admin type: mutation api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/draftOrderDuplicate md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/draftOrderDuplicate.md --- # draft​Order​Duplicate mutation Requires `write_draft_orders` access scope. Also: The user must have access to manage draft orders. Duplicates a draft order. ## Arguments * id [ID](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID) The ID of the draft order to duplicate. * draft​Order​Id [ID](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID) Deprecated *** ## Draft​Order​Duplicate​Payload returns * draft​Order [Draft​Order](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/DraftOrder) The newly duplicated draft order. * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/UserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### draftOrderDuplicate reference ## Mutation Reference ```graphql mutation draftOrderDuplicate($id: ID) { draftOrderDuplicate(id: $id) { draftOrder { # DraftOrder fields } userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100" } ``` ##### Variables ``` { "id": "gid://shopify//10079785100" } ```