getDefaultPriceListGroup
get
/ccstore/v1/merchant/defaultPriceListGroup
Get Default Price List Group. Get default PriceListGroup
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getDefaultPriceListGroup_response
Type:
Show Source
object
-
active(optional):
boolean
indicates if the PriceListGroup is active
-
basePriceListGroup(optional):
object basePriceListGroup
The base price list group of this price list group.
-
displayName(optional):
string
display name of the PriceListGroup
-
listPriceList(optional):
object listPriceList
price List for list prices
-
repositoryId(optional):
string
The ID of the PriceListGroup item
-
salePriceList(optional):
object salePriceList
price List for sale prices
-
shippingSurchargePriceList(optional):
object shippingSurchargePriceList
price List for shipping surcharge prices
Nested Schema : basePriceListGroup
Type:
object
The base price list group of this price list group.
Show Source
-
displayName(optional):
string
Name of the base price list group.
-
id(optional):
string
Repository ID of the base price list group.
Nested Schema : shippingSurchargePriceList
Type:
object
price List for shipping surcharge prices
Show Source
Example Response (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.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code