getPriceListGroup
get
/ccadmin/v1/priceListGroups/{id}
Get Price List Group. Get a single PriceListGroup item
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueThe ID of the requested PriceListGroup.
Header Parameters
- X-CCAsset-Language
-
Type:
stringRequired:trueThe asset language of the request
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getPriceListGroup_response
- active
-
Type:
booleanIndicates if the PriceListGroup is active. - currency
-
Type:
objectcurrencyAdditional Properties Allowed:The currency data. - deleted
-
Type:
booleanIndicates if the PriceListGroup is deleted. - displayName
-
Type:
stringDisplay name of the PriceListGroup. - endDate
-
Type:
stringEnd date of the the associated list price list. - listPriceList
-
Type:
objectlistPriceListAdditional Properties Allowed:The price list for list prices - locale
-
Type:
stringLocale of the the associated list price list. - repositoryId
-
Type:
stringThe ID of the PriceListGroup item. - salePriceList
-
Type:
objectsalePriceListAdditional Properties Allowed:The price list for sale prices. - shippingSurchargePriceList
-
Type:
objectshippingSurchargePriceListAdditional Properties Allowed:The price list for shipping surcharge prices. - startDate
-
Type:
stringStart date of the the associated list price list.
Nested Schema : currency
Type:
objectThe currency data.
- currencyCode
-
Type:
stringThe currency Code of the currency. - displayName
-
Type:
stringThe display Name of the currency. - fractionalDigits
-
Type:
stringFractional digits that currency supports. - numericCode
-
Type:
stringThe numeric Code of the currency. - repositoryId
-
Type:
stringThe repository id of the currency. - symbol
-
Type:
stringThe symbol of the currency.
Nested Schema : listPriceList
Type:
objectThe price list for list prices
- repositoryId
-
Type:
stringRepository id of the list price list.
Nested Schema : salePriceList
Type:
objectThe price list for sale prices.
- repositoryId
-
Type:
stringRepository id of the sale price list.
Nested Schema : shippingSurchargePriceList
Type:
objectThe price list for shipping surcharge prices.
- repositoryId
-
Type:
stringRepository id of shipping surcharge price list.
Example application/json
{
"isTaxIncluded":false,
"endDate":"2016-03-11T18:30:00.000Z",
"displayName":"UsDollar",
"listPriceList":{
"repositoryId":"listPrices"
},
"active":false,
"isPointsBased":false,
"locale":"en_US",
"shippingSurchargePriceList":{
"repositoryId":"shippingSurchargePrices"
},
"taxCalculationType":"calculateTax",
"repositoryId":"UsDollar",
"salePriceList":{
"repositoryId":"salePrices"
},
"currency":{
"symbol":"$",
"displayName":"US Dollar",
"repositoryId":"en_US",
"fractionalDigits":2,
"currencyCode":"USD",
"numericCode":"840"
},
"id":"UsDollar",
"includeAllProducts":true,
"startDate":"2016-03-10T18:30:00.000Z"
}
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|
|------------------|------------------|
|20187|No PriceListGroup found for the id : invalidId|
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:
{
"isTaxIncluded": false,
"endDate": "2016-03-11T18:30:00.000Z",
"displayName": "UsDollar",
"listPriceList": {"repositoryId": "listPrices"},
"active": false,
"isPointsBased": false,
"locale": "en_US",
"shippingSurchargePriceList": {"repositoryId": "shippingSurchargePrices"},
"taxCalculationType": "calculateTax",
"repositoryId": "UsDollar",
"salePriceList": {"repositoryId": "salePrices"},
"currency": {
"symbol": "$",
"displayName": "US Dollar",
"repositoryId": "en_US",
"fractionalDigits": 2,
"currencyCode": "USD",
"numericCode": "840"
},
"id": "UsDollar",
"includeAllProducts": true,
"startDate": "2016-03-10T18:30:00.000Z"
}