Commerce REST API Updates
Oracle CPQ 26B introduces the following endpoints.
Add Coverage
Use this endpoint to associate a coverage or subscription product to another item in the quote/order.
-
Endpoint:/rest/v19/commerce{Stage}{ProcessVarName}{MainDocVarName}/{id}/actions /_add_coverage -
Method: POST
Get Associated Products
Use this endpoint to retrieve a list of associated products to the specified transaction line.
-
Endpoint:
/rest/v19/commerce{Stage}{ProcessVarName}{MainDocVarName}/{id}/transactionLine/{docNumber}/_productAssociationSet -
Method: GET
Get an Associated Product
Use this endpoint to retrieve an associated product for the specified transaction line.
-
Endpoint:
/rest/v19/commerce{Stage}{ProcessVarName}{MainDocVarName}/{id}/transactionLine/{docNumber}/_productAssociationSet -
Method: GET
The new Commerce endpoints provide support for associated products.
Steps to enable and configure
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.