Currencies

(ms.currencies)

It contains the multiple currencies to allow your customers to access the store with the currency of their choice.



Fields

Value Description
name   
Type: string
Required
It contains the currency code.
settings   
Type: object
It contains the settings for the currency.
symbol
Type: string
Required
This field holds the symbol of the currency. It is pre-populated when currency is selected.
decimal_points
Type: number
Required
It stores the decimal point up to which the currency can be displayed.
conversion_mode
Type: string
Required
It stores the conversion mode which decides the conversion rate of the currency with respect to the default currency. Conversion mode can be automatic and manual.
conversion_rate
Type: number
Required
It stores the the conversion rate for the currency when conversion mode is set to manual.
default   
Type: number
It stores the default currency of the store.

Commands (Endpoints)

POST /api/1/entity/ms.currencies   
Creates a new currencie
DEL /api/1/entity/ms.currencies/{resource_id}   
Deletes a currencie
PUT /api/1/entity/ms.currencies/{resource_id}   
Updates an existing currencie
GET /api/1/entity/ms.currencies/{resource_id}   
Retrieves a single currencie
GET /api/1/entity/ms.currencies   
Retrieves a list of currencies