I am developing an app using Flutter. How can users switch currencies while using the app? I haven’t found a corresponding Store-api that can be modified.
You should use endpoint for context update, sending your chosen currencyId
Thank you for your reply. Changing the context currencyId does not affect the price. I checked the API source code and it seems there is no method to modify sales-channel currencyId.
Sorry, seems like I’ve misunderstood, I thought that you want to switch currency for current user.
I really don’t know, how to switch default sales channel currency via API.
But if I understood correct, context should cease the issue. But I don’t remember, there can be necessity to update context token from response after user changes currency or language.
It happened to me, but I don’t remember if it was after context update or basket update