Currencies
A currency entity allows you to maintain details of a currency.
End Points
Create a currency
Retrieve list of currencies
Update details of a currency
Retrieve details of a currency
Delete a currency
Attribute
currency_id
long
Unique ID for currency generated by the server. This is used as an identifier.
currency_code
string
Currency code.
currency_name
string
Name of the currency.
currency_symbol
string
Symbol for the currency.
price_precision
integer
Precise amount upto n decimal points.
currency_format
string
Currency format.
is_base_currency
boolean
Whether it is the base currency. It can either be
true
or false
.Create a currency
Create a currency.
Arguments
currency_code
string
(Required)
Currency code.
currency_name
string
Name of the currency.
currency_symbol
string
Symbol for the currency.
price_precision
integer
Precise amount upto n decimal points.
currency_format
string
(Required)
Currency format.
Retrieve list of currencies
Details of all existing currencies.
Update details of a currency
Update the details of an existing currency.
Arguments
currency_symbol
string
Symbol for the currency.
price_precision
integer
Precise amount upto n decimal points.
currency_format
string
(Required)
Currency format.
Retrieve details of a currency
Details of an existing currency.
Delete a currency
Delete an existing currency.