Store Selection
Store authentication notes
When you initialize the Buddi module using Buddi.setUp({storeId: 123}) (see installation guide) this determines the store you are starting with. Replace 123 with the Buddi store ID you want to load content for.
To allow the user to select another location you can use the Buddi.useStore({id}) method and insert the store ID of the location you would like them to see inventory for. This can also be used for switching stores, if you build a component that allows a user to change locations this would help that scenario.
If you’re unsure of which store ID belongs to which store reach out to the Buddi support team for help.