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(array of"AED","AUD","BHD","BRL","CAD","CHF","CNY","EGP","EUR","GBP","INR","JOD","JPY","KWD","LYD","MXN","OMR","QAR","SAR","SEK","SGD","TND","USD", required).defaultCode("AED","AUD","BHD","BRL","CAD","CHF","CNY","EGP","EUR","GBP","INR","JOD","JPY","KWD","LYD","MXN","OMR","QAR","SAR","SEK","SGD","TND","USD", optional).