location Activate
Requires access scope.
Activates a location so that you can stock inventory at the location. Refer to the
and
activatable
fields on the Location object.
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.
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.
Caution: As of 2026-01, this mutation supports an optional idempotency key using the <code>@idempotent</code> directive. As of 2026-04, the idempotency key is required and must be provided using the <code>@idempotent</code> directive. For more information, see the <a href="https://shopify.dev/docs/api/usage/idempotent-requests">idempotency documentation</a>.
Arguments
- locationId (ID!)
- Anchor to locationIdlocation•ID!
Id required The ID of a location to activate.
- location (Location)
- locationActivateUserErrors ([LocationActivateUserError!]!)
- Anchor to locationlocation•Location
The location that was activated.
- Anchor to locationActivateUserErrorslocation•[Location
Activate User Errors Activate User Error!]! non-null The list of errors that occurred from executing the mutation.