Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Currency
  • Overview
  • Languages
  • Notify
  • Event
  • Storage
  • Configuration
  • Forms
  • Helpers
  • Auth
    • Login
    • Logout
    • Verify
    • Resend
    • Register
    • Refresh
  • Cart
    • Latest
    • Details
    • Quick Add
    • Add Item
    • Delete Item
    • Delete Image
    • Add Coupon
    • Remove Coupon
    • Get Upload Image
    • Get Quick Order Settings
    • Create Quick Order
    • Order Status
    • Get Current Cart Id
    • Price Quote
  • Wishlist
    • Add
    • Remove
    • Toggle
  • Loyalty
    • Get Program
    • Exchange
    • Reset
  • Comment
    • Add Comment
    • Fetch
    • Get Page Comments
    • Get Product Comments
  • Profile
    • Update profile
    • Update contact
  • Product
    • Get price
    • Product availability
    • Categories
    • Offer details
    • Search products
    • Get Gift Details
    • Add Gift To Cart
    • Upload Gift Image
    • Get Product Details
    • Fetch
    • Fetch Options
    • Size Guides
  • Order
    • Create cart from order
    • Cancel
    • Send invoice
    • Show order
  • Booking
    • Add
  • Rating
    • Order
    • Store
    • Products
    • Shipping
  • Currency
    • Change
    • List
  • Component
    • Reviews
    • Menus
  1. Currency

List

This endpoint is used to list the currencies of a merchant's store. Although the store payouts can be in a different currency, the store's owners can list the different available currencies in the store.
TIP
The list endpoint has been implemented in the Localization Web Component, and It's all setup to save developer's time and effort.

Response#

Success
Error
currency.list.success
success
boolean 
success
required
Response flag
status
enum<number> 
status
required
Allowed values:
200201202
data
array[object (Currency) {5}] 
optional
code
string 
required
Code of the Currency
Example:
SAR
name
string 
required
Name of the currency
Example:
ريال سعودي
symbol
string 
required
Symbol of the currency
Example:
ر.س
amount
string 
required
Currency amount
Example:
200
country_code
string 
required
Currency country code
Example:
SA

Usage#

To perform the action of listing the avaliabe currencies for the store, the developer can call list() method.

Events#

This endpoint may trigger two events, the onFetched and onFailedToFetch events.

onFetched#

This event is triggered when listing the avaliabe currencies for the store is done without having any errors coming back from the backend.

onFailedToFetch#

This event is triggered when listing the avaliabe currencies for the store is not completed and an error has occurred.
Modified at 2025-03-04 12:54:02
Previous
Change
Next
Component