Modo Claro
Activate Currencies
POST
/currenciesLast modified: 23 days ago
This endpoint allows activating either a single currency or a group of currencies.
Request
Parâmetros Bodyapplication/json
currencies
array [object {2}]
opcional
code
string
opcional
Currency Code Value. For all enum values for the Currency Code, use this Endpoint.
Exemplo:
SAR
status
boolean
opcional
Status of the Currency on the Store
Padrão:
true
Exemplo
{
"currencies": [
{
"code": "SAR",
"status": true
},
{
"code": "USD",
"status": false
}
]
}
Request samples
Respostas
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"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"
}
]
}
Last modified: 23 days ago