listPriceListGroups
get
/ccadmin/v1/priceListGroups
List Price List Groups. Get a list of PriceListGroups.
Request
Supported Media Types
- application/json
Query Parameters
- active
-
Type:
boolean
If null, don't filter active/inactive items. If true or false, return only items where active has that value.- defaultFirst
Type:boolean
This for displaying default PriceListGroup first in the list- includeDeleted
Type:boolean
If true, include soft deleted items in results. If false or not present, exclude them.- limit
Type:integer
The number of items to return.- offset
Type:integer
Index of the first element to return.- q
Type:string
The search query string in SCIM format. Results will be filtered based on this query.- siteId
Type:string
Site ID of the site- sort
Type:string
Sorting criteria.Response
Supported Media Types- application/json
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : listPriceListGroups_response- items
-
Type:
array
itemsAdditional Properties Allowed:List of PriceListGroups - limit
-
Type:
integer
The number of items to return. - offset
-
Type:
integer
Index of the first element to return. - sort
-
Type:
array
sortAdditional Properties Allowed:Sorting criteria. - total
-
Type:
integer
The total number of items. Deprecated. - totalResults
-
Type:
integer
The total number of items.
Nested Schema : itemsNested Schema : sortNested Schema : itemsType:object
- active
-
Type:
boolean
indicates if the PriceListGroup is activ.e - displayName
-
Type:
string
display name of the PriceListGroup. - includeAllProducts
-
Type:
boolean
If true, and active flag is also set to true then list price is mandatory for all products. - listPriceList
-
Type:
object
listPriceListAdditional Properties Allowed:Price List for list prices - repositoryId
-
Type:
string
The ID of the PriceListGroup item. - salePriceList
-
Type:
object
salePriceListAdditional Properties Allowed:Price List for sale prices. - shippingSurchargePriceList
-
Type:
object
shippingSurchargePriceListAdditional Properties Allowed:Price List for shipping surcharge prices.
Nested Schema : listPriceListType:object
Price List for list prices- repositoryId
-
Type:
string
Repository ID of the list prices.
Nested Schema : salePriceListType:object
Price List for sale prices.- repositoryId
-
Type:
string
Repository ID of the sale prices.
Nested Schema : shippingSurchargePriceListType:object
Price List for shipping surcharge prices.- repositoryId
-
Type:
string
Repository ID of the shipping surcharge prices.
Nested Schema : itemsType:object
- order
-
Type:
string
Sort order: asc or desc. - property
-
Type:
string
The property the listing is sorted by.
Example application/json
{ "total":2, "totalResults":2, "offset":0, "limit":250, "defaultPriceListGroup":{ "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" }, "sort":[ { "property":"displayName", "order":"asc" } ], "items":[ { "endDate":"2016-03-11T18:30:00.000Z", "displayName":null, "listPriceList":{ "repositoryId":"listPrices" }, "active":false, "isPointsBased":false, "locale":"en_US", "shippingSurchargePriceList":null, "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" }, { "isTaxIncluded":false, "endDate":"2016-03-11T18:30:00.000Z", "displayName":"CanadianDollar", "listPriceList":{ "repositoryId":"CanadianDollar_listPrice" }, "active":false, "isPointsBased":false, "locale":"en_CA", "shippingSurchargePriceList":{ "repositoryId":"CanadianDollar_shippingSurchargePrice" }, "taxCalculationType":"calculateTax", "repositoryId":"CanadianDollar", "salePriceList":{ "repositoryId":"CanadianDollar_salePrice" }, "id":"CanadianDollar", "includeAllProducts":false, "startDate":"2016-03-10T18:30:00.000Z" } ] }
Default ResponseThe 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| |------------------|------------------| |20185|There was an error fetching the PriceListGroup list.|BodyRoot Schema : errorModelType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code
Examples
Sample Response Payload returned by endpoint:
{ "total": 2, "totalResults": 2, "offset": 0, "limit": 250, "defaultPriceListGroup": { "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" }, "sort": [{ "property": "displayName", "order": "asc" }], "items": [ { "endDate": "2016-03-11T18:30:00.000Z", "displayName": null, "listPriceList": {"repositoryId": "listPrices"}, "active": false, "isPointsBased": false, "locale": "en_US", "shippingSurchargePriceList": null, "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" }, { "isTaxIncluded": false, "endDate": "2016-03-11T18:30:00.000Z", "displayName": "CanadianDollar", "listPriceList": {"repositoryId": "CanadianDollar_listPrice"}, "active": false, "isPointsBased": false, "locale": "en_CA", "shippingSurchargePriceList": {"repositoryId": "CanadianDollar_shippingSurchargePrice"}, "taxCalculationType": "calculateTax", "repositoryId": "CanadianDollar", "salePriceList": {"repositoryId": "CanadianDollar_salePrice"}, "id": "CanadianDollar", "includeAllProducts": false, "startDate": "2016-03-10T18:30:00.000Z" } ] }