This endpoint is used to change the currency of a merchant's store and to represent prices for the products. Although the store payouts can be in a different currency, the customer can choose any of the currencies mentioned in the currency selection to display the prices.The change endpoint has been implemented in the Localization Web Component, and It's all setup to save developer's time and effort. Payload#
The store's currency code
Response#
Usage#
To perform the action of changing the store's currency, the developer may call the change()
method as below.Events#
This endpoint may trigger two events, the onChanged and onFailed events.onChanged#
This event is triggered when changing the store's currency is done without having any errors coming back from the backend.onFailed#
This event is triggered when changing the store's currency is not completed and an error has occurred. 
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群Modified at 2025-02-20 07:53:20