Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Currency API

The Currency API manages everything related to currencies and exchange rates in the SoftwareOne Marketplace.

With this API, you can define currencies, create currency pairs (for example, EUR: USD), and define and manage exchange rates for those pairs. You can also perform additional operations, including:

  • Updating the currency to modify fields like name, code, and precision (not status).
  • Delete a currency (only if not used by a pair), currency pair, or rate.
  • Modify the externalId and notes within a currency pair.
  • Modify the currency rate, for example, to override a rate for hedging.

Before you start

Review the shared API docs before you work with currency resources.

Core concepts

The Currency API is built around the following core resources:

  • Currency – Represents the currency that sellers use to invoice their products.
  • Pairs – Represents a currency pair, for example GBP:EUR.
  • Rates – Represent an exchange rate between two currencies, used by sellers to invoice their products.

Browse collections

The API is organized into collections, each containing a set of operations. Access to these operations varies by role, depending on whether you are a client, vendor, or operations user.

See the following sections to determine which roles are authorized to perform specific operations within each collection:

Currency

OperationMethodDescriptionAccess
Create currencyPOSTCreates a new currency.ops, exchange-module
List currenciesGETGets a list of currencies.vendor, client, ops
Get currency by idGETGets currency details.vendor, client, ops
Modify currencyPUTModifies an existing currency.ops, exchange-module
Delete currencyDELETEChanges a currency’s status to deleted.ops, exchange-module

Pairs

OperationMethodDescriptionAccess
Create currency pairPOSTCreates matched pairs.ops, exchange-module
List currency pairsGETGets a list of pairs.vendor, client, ops
Get currency pair by idGETGets pair details.vendor, client, ops
Update currency pairsPUTModifies pairs.ops, exchange-module
Delete currency pairsDELETEModifies the status of pairs to deleted.ops, exchange-module

Rates

OperationMethodDescriptionAccess
Bulk create ratesPOSTCreates matched rates.ops, exchange-module
List ratesGETGets a list of rates between two currencies.vendor, client, ops
Get rate by idGETGets a specific rate between two currencies at a given point in time.vendor, client, ops
Bulk update ratesPUTModifies matched rates.ops, exchange-module
Bulk delete ratesDELETEModifies the status of matched rates to deleted.ops, exchange-module