Currencies (admin API)
Admin routes of the currencies module. Every route needs a staff session and the permission named on it; send X-Resolve-Locale: false to receive every locale of a translatable field for editing.
GET /v1/admin/currencies
Section titled “GET /v1/admin/currencies”List currencies with enabled/default flags
Responses:
200: Currencies retrieved.
PATCH /v1/admin/currencies
Section titled “PATCH /v1/admin/currencies”Bulk update enabled currencies + default
Request body: UpdateEnabledCurrenciesDto.
Responses:
200: Updated.400: Empty enabled list or default not in enabled set.
GET /v1/admin/currencies/store
Section titled “GET /v1/admin/currencies/store”Store display currency + enabled set (any staff role)
Responses:
200: Store currency retrieved.403: Customer session — not a staff role.
Schemas
Section titled “Schemas”UpdateEnabledCurrenciesDto
Section titled “UpdateEnabledCurrenciesDto”enabled("TND","LYD","QAR","AED","SAR","KWD","BHD","OMR","EGP","JOD","EUR","GBP","CHF","SEK","USD","CAD","MXN","BRL","JPY","CNY","INR","SGD","AUD", required).defaultCode("TND","LYD","QAR","AED","SAR","KWD","BHD","OMR","EGP","JOD","EUR","GBP","CHF","SEK","USD","CAD","MXN","BRL","JPY","CNY","INR","SGD","AUD", optional).