--- title: LocationDeactivatePayload - GraphQL Admin description: Return type for `locationDeactivate` mutation. api_version: 2025-01 api_name: admin type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/payloads/locationdeactivatepayload md: https://shopify.dev/docs/api/admin-graphql/2025-01/payloads/locationdeactivatepayload.md --- # Location​Deactivate​Payload payload Return type for `locationDeactivate` mutation. ## Fields * location [Location](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/Location) The location that was deactivated. * location​Deactivate​User​Errors [\[Location​Deactivate​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/LocationDeactivateUserError) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [location​Deactivate](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/locationDeactivate) mutation Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location. * location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID) required ### Arguments The ID of a location to deactivate. * destination​Location​Id [ID](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/ID) The ID of a destination location to which inventory, pending orders and moving transfers will be moved from the location to deactivate. *** *** ## Map ### Mutations with this payload * [location​Deactivate](https://shopify.dev/docs/api/admin-graphql/2025-01/types/locationDeactivate)