--- title: inventoryShipmentDelete - GraphQL Admin description: Deletes an inventory shipment. Only draft shipments can be deleted. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryshipmentdelete md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryshipmentdelete.md --- # inventory​Shipment​Delete mutation Requires `write_inventory_shipments` access scope. Also: The user must have permission to manage inventory. Deletes an inventory shipment. Only draft shipments can be deleted. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The ID of the inventory shipment to be deleted. *** ## Inventory​Shipment​Delete​Payload returns * id [ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) The ID of the inventory shipment that was deleted. * user​Errors [\[Inventory​Shipment​Delete​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentDeleteUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### inventoryShipmentDelete reference ## Mutation Reference ```graphql mutation inventoryShipmentDelete($id: ID!) { inventoryShipmentDelete(id: $id) { id userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100" } ``` ##### Variables ``` { "id": "gid://shopify//10079785100" } ```