Configure Location Switching and Default Location in Fluent Store
Author:
Fluent Commerce
Changed on:
26 Feb 2026
Key Points
- Location switching requires both manifest configuration and user context assignment.
- The switcher is visible only to users with multiple assigned location contexts.
- Devices can automatically open Fluent Store in a predefined location using a URL parameter.
- URL-based configuration does not override role-based access permissions.

Prerequisites
Steps
Enable Location Switcher in the Manifest
`fc.mystique.manifest.store` setting.Navigate to:Fluent OMS → Settings → `fc.mystique.manifest.store`Ensure the manifest includes a `context` section similar to the following:
Assign Location Contexts to User Roles
Verify Existing User Contexts
Use GraphQL to confirm the user has multiple location contexts assigned.Add Location Context to a User
If required, update the user role configuration.
Configure a Predefined Location Using URL Parameter
`user.location.ref` parameter to the application URL. This allows location-specific devices to be configured with a predefined default context.The parameter format is:`user.location.ref=<LOCATION_REF>`For example:`https://<store-app-url>?user.location.ref=5000299_SYD`When `user.location.ref` is provided:- The specified location is automatically applied when the application loads.
- No manual interaction is required.
- The predefined location is applied independently of the logged-in user.
- Standard permission checks are still enforced.
Understand Context Resolution
When Fluent Store loads, the active location is determined in the following order:`user.location.ref`provided in the URL- Previously selected location (from the user's previous session)
- First accessible location from the user’s assigned location list
Access Restriction and Fallback Behavior
If a user does not have permission to access the location specified via`user.location.ref`:- The system automatically switches the user to an authorized location.