Admin Settings: Currencies
Create a new currency
Mirrors Bagisto admin Settings → Currencies → Create. Validates code (required, alpha, exactly 3 chars, unique), name (required). Code is uppercased by the model mutator.
post/settings/currencies
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"code": "EUR",
"name": "Euro",
"symbol": "€",
"decimal": 2,
"group_separator": ",",
"decimal_separator": ".",
"currency_position": "left"
}Response
Currency created.
Changes
No recorded changes to this operation across all 8 revisions of this API.