Pricing Preview REST APIs
Oracle CPQ 24B provides the endpoints to support Pricing previews. They retrieve the pricing attribute values and pricing line items associated with a Commerce transaction.
Get Transaction Pricing
Use this endpoint to retrieve header level pricing attribute values for the specified transaction.
- Endpoint:
/rest/v16/pricingSetup/preview/{bsId
} - Method: GET
Get Transaction Pricing Items
Use this endpoint to retrieve for all pricing items for the specified transaction for all line level pricing items without item attribute values for the specified transaction.
- Endpoint:
/rest/v16/pricingSetup/preview/{bsId}/items
- Method: GET
Get Transaction Line Item Pricing Items
Use this endpoint to retrieve the line level pricing items for the specified transaction line item.
- Endpoint:
/rest/v16/pricingSetup/preview/{bsId}/items/{docNumber}
- Method: GET
These endpoints provide web service support for Pricing previews.
Steps to Enable
Review the REST service definition in the REST API guides to leverage (available from the Oracle Help Center > your apps service area of interest > APIs & Schema). If you are new to Oracle's REST services you may want to begin with the Quick Start section.