getDefaultPriceListGroup

get

/ccadmin/v1/merchant/defaultPriceListGroup

Get Default Price List Group. Get default PriceListGroup

Request

There are no request parameters for this operation.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getDefaultPriceListGroup_response
Nested Schema : listPriceList
Type: object
Price List for list prices
Nested Schema : salePriceList
Type: object
Price List for sale prices
Nested Schema : shippingSurchargePriceList
Type: object
Price List for shipping surcharge prices
Example application/json

{
    "displayName":"UsDollar",
    "listPriceList":{
        "repositoryId":"listPrices"
    },
    "repositoryId":"UsDollar",
    "active":false,
    "salePriceList":{
        "repositoryId":"salePrices"
    },
    "currency":{
        "symbol":"$",
        "displayName":"US Dollar",
        "repositoryId":"en_US",
        "fractionalDigits":2,
        "currencyCode":"USD",
        "numericCode":"840"
    },
    "id":"UsDollar",
    "locale":"en_US",
    "shippingSurchargePriceList":{
        "repositoryId":"shippingSurchargePrices"
    }
}
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| |------------------|------------------| |80021|There was an error retrieving the selected timezone.|
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:

{
  "displayName": "UsDollar",
  "listPriceList": {"repositoryId": "listPrices"},
  "repositoryId": "UsDollar",
  "active": false,
  "salePriceList": {"repositoryId": "salePrices"},
  "currency": {
    "symbol": "$",
    "displayName": "US Dollar",
    "repositoryId": "en_US",
    "fractionalDigits": 2,
    "currencyCode": "USD",
    "numericCode": "840"
  },
  "id": "UsDollar",
  "locale": "en_US",
  "shippingSurchargePriceList": {"repositoryId": "shippingSurchargePrices"}
}