listCurrencies

get

/ccadmin/v1/currencies

List Currencies. Get a list of currencies and the currently selected currency.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listCurrencies_response
Type: object
Show Source
Nested Schema : items
Type: array
List of currencies
Show Source
Nested Schema : selectedCurrency
Type: object
Selected currency
Show Source
Nested Schema : sort
Type: array
Sorting criteria.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "total":43,
    "totalResults":43,
    "offset":3,
    "selectedCurrency":{
        "currencyType":null,
        "symbol":"$",
        "deleted":false,
        "displayName":"US Dollar",
        "repositoryId":"en_US",
        "fractionalDigits":2,
        "currencyCode":"USD",
        "numericCode":"840"
    },
    "limit":3,
    "sort":{
        "property":"currencyCode",
        "order":"asc"
    },
    "items":{
        "currencyType":null,
        "symbol":"CHF",
        "deleted":false,
        "displayName":"Swiss Franc",
        "repositoryId":"fr_CH",
        "fractionalDigits":2,
        "currencyCode":"CHF",
        "numericCode":"756"
    }
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |80005|The currency for the price list locale was not found.| |80009|There was an error fetching the currency list.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top