--- title: inventoryShipmentSetTracking - GraphQL Admin description: Edits the tracking info on an inventory shipment. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/mutations/inventoryShipmentSetTracking md: >- https://shopify.dev/docs/api/admin-graphql/unstable/mutations/inventoryShipmentSetTracking.md --- # inventory​Shipment​Set​Tracking mutation Requires `write_inventory_shipments` access scope. Also: The user must have permission to manage inventory. Edits the tracking info on an inventory shipment. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required The ID of the inventory shipment whose tracking info is being edited. * tracking [Inventory​Shipment​Tracking​Input!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/InventoryShipmentTrackingInput) required The tracking info to edit on the inventory shipment. *** ## Inventory​Shipment​Set​Tracking​Payload returns * inventory​Shipment [Inventory​Shipment](https://shopify.dev/docs/api/admin-graphql/unstable/objects/InventoryShipment) The inventory shipment with the edited tracking info. * user​Errors [\[Inventory​Shipment​Set​Tracking​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/InventoryShipmentSetTrackingUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### inventoryShipmentSetTracking reference