Location Activate User Error
Requires access scope.
An error that occurs while activating a location.
Anchor to FieldsFields
- code (LocationActivateUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Location
Activate User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- locationActivate (LocationActivatePayload)
- •mutation
Activates a location so that you can stock inventory at the location. Refer to the
andactivatablefields on theLocationobject.CautionAs of 2026-01, this mutation supports an optional idempotency key using the
@idempotentdirective. As of 2026-04, the idempotency key is required and must be provided using the@idempotentdirective. For more information, see the idempotency documentation.Caution:As of 2026-01, this mutation supports an optional idempotency key using the
@idempotentdirective. As of 2026-04, the idempotency key is required and must be provided using the@idempotentdirective. 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>.
- Anchor to locationIdlocation•ID!
Id required The ID of a location to activate.
Arguments