Commerce REST API Enhancements

To optimize Commerce rules evaluation, Oracle CPQ 24A introduced a new request parameter for Commerce Modify Action REST endpoints. When the "skipRules": ["HIDING"] parameter is included the request body during action invocation, Hiding Rules will not be evaluated. This parameter can be used with the endpoint for any Modify type action.

Oracle CPQ 24A also introduces the following endpoints for the Commerce REST API:

Archive Transactions

This endpoint archives the specified Commerce transactions.

  • Endpoint:  /rest/v16/commerceDocuments{processVarName}{MainDocVarName}/actions/_archive_transactions
  • Method:  POST

Export Transactions

This endpoint exports the specified Commerce transactions.

  • Endpoint:  /rest/v16/commerceDocuments{processVarName}{MainDocVarName}/actions/_export_transactions
  • Method:  POST

My Approval Search

This endpoint retrieves a user's pending approvals waiting in a queue when there are quotes they need to approve.

  • Endpoint:  /rest/v16/commerceDocuments{processVarName}{MainDocVarName}
  • Method:  POST

Unlock Transactions

This endpoint unlocks the specified Commerce transactions.

  • Endpoint:  /rest/v16/commerceDocuments{processVarName}{MainDocVarName}/actions/_process_unlock
  • Method:  POST

The new endpoints provide web services to unlock, archive, and export Commerce transactions.

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.