Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

mutation

Requires write_locations access scope.

Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location.

Anchor to destinationLocationIddestinationLocationId

The ID of a destination location to which inventory, pending orders and moving transfers will be moved from the location to deactivate.

ID!required

The ID of a location to deactivate.


Was this section helpful?

Anchor to LocationDeactivatePayload returnsLocationDeactivatePayload returns

The location that was deactivated.

Anchor to locationDeactivateUserErrorslocationDeactivateUserErrors

The list of errors that occurred from executing the mutation.


Was this section helpful?