ライトモード
Activate Currencies
POST
/currencies最終更新: a month ago
This endpoint allows activating either a single currency or a group of currencies.
Request
Request Bodyパラメータapplication/json
currencies
array [object {2}]
可選
code
string
可選
Currency Code Value. For all enum values for the Currency Code, use this Endpoint.
サンプル値:
SAR
status
boolean
可選
Status of the Currency on the Store
デフォルト値:
true
例
{
"currencies": [
{
"code": "SAR",
"status": true
},
{
"code": "USD",
"status": false
}
]
}
Request samples
Response
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
データ構造
No schema defined
例
{
"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"
}
]
}
最終更新: a month ago