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
- active
-
Type:
booleanindicates if the PriceListGroup is active - displayName
-
Type:
stringdisplay name of the PriceListGroup - listPriceList
-
Type:
objectlistPriceListAdditional Properties Allowed:Price List for list prices - repositoryId
-
Type:
stringThe ID of the PriceListGroup item - salePriceList
-
Type:
objectsalePriceListAdditional Properties Allowed:Price List for sale prices - shippingSurchargePriceList
-
Type:
objectshippingSurchargePriceListAdditional Properties Allowed:Price List for shipping surcharge prices
Nested Schema : listPriceList
Type:
objectPrice List for list prices
- repositoryId
-
Type:
stringRepository ID of the list prices
Nested Schema : salePriceList
Type:
objectPrice List for sale prices
- repositoryId
-
Type:
stringRepository ID for the sale prices
Nested Schema : shippingSurchargePriceList
Type:
objectPrice List for shipping surcharge prices
- repositoryId
-
Type:
stringRepository ID for the 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- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
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"}
}