--- title: inventoryShipmentCreate - GraphQL Admin description: Adds a draft shipment to an inventory transfer. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryshipmentcreate md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryshipmentcreate.md --- # inventory​Shipment​Create mutation Requires `write_inventory_shipments` access scope. Also: The user must have permission to manage inventory. Adds a draft shipment to an inventory transfer. ## Arguments * input [Inventory​Shipment​Create​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/InventoryShipmentCreateInput) required The input fields for the inventory shipment. *** ## Inventory​Shipment​Create​Payload returns * inventory​Shipment [Inventory​Shipment](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment) The created inventory shipment. * user​Errors [\[Inventory​Shipment​Create​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentCreateUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### inventoryShipmentCreate reference ## Mutation Reference ```graphql mutation inventoryShipmentCreate($input: InventoryShipmentCreateInput!) { inventoryShipmentCreate(input: $input) { inventoryShipment { # InventoryShipment fields } userErrors { field message } } } ``` ## Input ```json { "input": { "movementId": "gid://shopify//10079785100", "trackingInput": { "trackingNumber": "", "company": "", "trackingUrl": "https://example.myshopify.com", "arrivesAt": "2019-09-07T15:50:00Z" }, "lineItems": [ { "inventoryItemId": "gid://shopify//10079785100", "quantity": 1 } ], "dateCreated": "2019-09-07T15:50:00Z" } } ``` ##### Variables ``` { "input": { "movementId": "gid://shopify//10079785100", "trackingInput": { "trackingNumber": "", "company": "", "trackingUrl": "https://example.myshopify.com", "arrivesAt": "2019-09-07T15:50:00Z" }, "lineItems": [ { "inventoryItemId": "gid://shopify//10079785100", "quantity": 1 } ], "dateCreated": "2019-09-07T15:50:00Z" } } ``` ##### Schema ``` input InventoryShipmentCreateInput { movementId: ID! trackingInput: InventoryShipmentTrackingInput lineItems: [InventoryShipmentLineItemInput!]! dateCreated: DateTime } input InventoryShipmentTrackingInput { trackingNumber: String company: String trackingUrl: URL arrivesAt: DateTime } input InventoryShipmentLineItemInput { inventoryItemId: ID! quantity: Int! } ```