inventory Transfer Duplicate
Requires access scope. Also: The user must have permission to manage inventory.
This mutation allows duplicating an existing inventory transfer. The duplicated transfer will have the same line items and quantities as the original transfer, but will be in a draft state with no shipments.
As of 2026-01, this mutation supports an optional idempotency key using the @idempotent directive.
As of 2026-04, the idempotency key is required and must be provided using the @idempotent directive.
For more information, see the idempotency documentation.
As of 2026-01, this mutation supports an optional idempotency key using the @idempotent directive.
As of 2026-04, the idempotency key is required and must be provided using the @idempotent directive.
For more information, see the idempotency documentation.
Caution: As of 2026-01, this mutation supports an optional idempotency key using the <code>@idempotent</code> directive. As of 2026-04, the idempotency key is required and must be provided using the <code>@idempotent</code> directive. For more information, see the <a href="https://shopify.dev/docs/api/usage/idempotent-requests">idempotency documentation</a>.
Arguments
- id (ID!)
- •ID!required
The ID of the inventory transfer to duplicate.
- inventoryTransfer (InventoryTransfer)
- userErrors ([InventoryTransferDuplicateUserError!]!)
- Anchor to inventoryTransferinventory•Inventory
Transfer Transfer The duplicated inventory transfer.
- Anchor to userErrorsuser•[Inventory
Errors Transfer Duplicate User Error!]! non-null The list of errors that occurred from executing the mutation.