Skip to main content
Anchor to LocationDeactivateUserError

LocationDeactivateUserError

object

Requires read_locations access scope.

The possible errors that can be returned when executing the locationDeactivate mutation.

•LocationDeactivateUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

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


Caution

As of 2026-01, this mutation supports an optional idempotency key using the @idempotent directive. As of 2026-04, the idempotency key is required and must be provided using the @idempotent directive. For more information, see the idempotency documentation.


Arguments

•ID!
required

The ID of a location to deactivate.

Anchor to destinationLocationIddestinationLocationId
•ID

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



Was this section helpful?


Was this section helpful?