Activate Currencies
POST
/currenciesThis endpoint allows activating either a single currency or a group of currencies.
Request
Currency Code Value. For all enum values for the Currency Code, use this Endpoint.
Status of the Currency on the Store
{
"currencies": [
{
"code": "SAR",
"status": true
},
{
"code": "USD",
"status": false
}
]
}
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
Name of the currency
Code of the currency
Symbol of the currency
Status of the currency. The value is either Enabled
or Disabled
{
"status": 200,
"success": true,
"data": [
{
"name": "ريال سعودي",
"code": "SAR",
"symbol": "ر.س",
"status": "disabled"
},
{
"name": "درهم اماراتي",
"code": "AED",
"symbol": " د.إ",
"status": "enabled"
},
{
"name": "جنيه مصري",
"code": "EGP",
"symbol": "ج.م",
"status": "enabled"
},
{
"name": "دولار أمريكي",
"code": "USD",
"symbol": "$",
"status": "enabled"
}
]
}