--- title: LocationDeactivatePayload - GraphQL Admin description: Return type for `locationDeactivate` mutation. api_version: 2025-10 api_name: admin type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/payloads/locationdeactivatepayload md: https://shopify.dev/docs/api/admin-graphql/latest/payloads/locationdeactivatepayload.md --- # Location​Deactivate​Payload payload Return type for `locationDeactivate` mutation. ## Fields * location [Location](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location) The location that was deactivated. * location​Deactivate​User​Errors [\[Location​Deactivate​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/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/latest/mutations/locationDeactivate) mutation Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location. *** ## Map ### Mutations with this payload * [location​Deactivate](https://shopify.dev/docs/api/admin-graphql/latest/types/locationDeactivate)