# How can I switch currencies through Store-api?

**URL:** <https://forum.shopware.com/t/how-can-i-switch-currencies-through-store-api/102341>\
**Category:** Shopware 6 (English)\
**Tags:** programming\
**Created:** [20. Dezember 2023 um 18:40 UTC](https://forum.shopware.com/t/how-can-i-switch-currencies-through-store-api/102341 "2023-12-20T18:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![inocean](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/inocean/32/22609_2.png) [@inocean](https://forum.shopware.com/u/inocean)\
**Post date:** [20. Dezember 2023 um 18:40 UTC](https://forum.shopware.com/t/how-can-i-switch-currencies-through-store-api/102341/1 "2023-12-20T18:40:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![yonkon.ru](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yonkon.ru/32/18512_2.png) [@yonkon.ru](https://forum.shopware.com/u/yonkon.ru)\
**Post date:** [21. Dezember 2023 um 09:43 UTC](https://forum.shopware.com/t/how-can-i-switch-currencies-through-store-api/102341/2 "2023-12-21T09:43:09Z")

</div>

You should use endpoint for context update, sending your chosen currencyId

---

<div class="post-metadata">

**Author:** ![inocean](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/inocean/32/22609_2.png) [@inocean](https://forum.shopware.com/u/inocean)\
**Post date:** [21. Dezember 2023 um 15:53 UTC](https://forum.shopware.com/t/how-can-i-switch-currencies-through-store-api/102341/3 "2023-12-21T15:53:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![yonkon.ru](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yonkon.ru/32/18512_2.png) [@yonkon.ru](https://forum.shopware.com/u/yonkon.ru)\
**Post date:** [21. Dezember 2023 um 16:24 UTC](https://forum.shopware.com/t/how-can-i-switch-currencies-through-store-api/102341/4 "2023-12-21T16:24:30Z")

</div>

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
