Main Asset
26. 12. 2024
Main Asset (currency) is the asset regarding which rates will be displayed for all other assets.
System users with appropriate permission can set the asset as main in the backoffice: CFO-Assets-Main Asset.
Use PATCH /v1/currencies/{currencyId}/set-main to set currency as main.
Permission required: MAIN_CURRENCY_MANAGER
Main asset management:
- only one asset in the system can be main
- first created in the System asset (from configuration or manually) marked as main by default (isMain: true), after it can be changed and other asset can be set as main
- main asset can be DELETED only, if it is the one asset in the system
- main asset can be DEACTIVATED as other assets, behavior for DEACTIVATED assets remains as is