Currency Service

Back

Overview

The Currency Service manages the list of currencies available within the system. Currencies are used on entities (customers and suppliers) to specify their preferred trading currency, and are referenced by sales orders.

Each currency includes:

All operations are tenant-aware.


Database table

ref.Currency


Endpoints

Back to Reference

GET

/api/v1/Currency

Returns all currencies for the current tenant.

Behavior:

Response:

Authorization:


GET

/api/v1/Currency/{id}

Returns a single currency by its ID.

Route parameters:

Behavior:

Response:

Authorization:


POST

/api/v1/Currency

Creates a new currency.

Request body (CurrencyModel):

Behavior:

Response:

Authorization:


PUT

/api/v1/Currency/{id}

Updates an existing currency.

Route parameters:

Request body (CurrencyModel):

Behavior:

Response:

Authorization:


DELETE

/api/v1/Currency/{id}

Soft-deletes a currency by ID.

Route parameters:

Behavior:

Response:

Authorization:


Model

CurrencyModel

Fields:


Notes