getPriceListCurrency

get

/ccstore/v1/merchant/priceListCurrency

Get Price List Currency. Get the currency of the default price list. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
  • application/json
Header Parameters
X-CCAsset-Language
Type: string
The asset language of the request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getPriceListCurrency_response
Example application/json

{
    "symbol":"$",
    "displayName":"US Dollar",
    "repositoryId":"en_US",
    "fractionalDigits":2,
    "currencyCode":"USD",
    "numericCode":"840"
}
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| |------------------|------------------| |80011|The requested currency could not be found.|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "symbol": "$",
  "displayName": "US Dollar",
  "repositoryId": "en_US",
  "fractionalDigits": 2,
  "currencyCode": "USD",
  "numericCode": "840"
}