Symptom
- The Quotes API endpoint /api/v1/quotes/{quoteId}/actions/{actionId}/invoke is not functioning as expected.
- The parameters mentioned in the documentation for action ID 25 appear to be incorrect.
- This results in a "Bad request" error message stating "You have less approvals than is necessary".
Environment
SAP Sales Cloud CPQ
Reproducing the Issue
- Attempt to use the Quotes API endpoint /api/v1/quotes/{quoteId}/actions/{actionId}/invoke with the parameters as mentioned in the documentation.
- Observe the "Bad request" error message.
Cause
The issue is caused by an incorrect payload format for the API endpoint.
Resolution
Use the following correct payload format for the endpoint:
```
```
The Swagger documentation will be updated in the 2505 release to reflect this correct format.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Keywords
CPQ, API endpoint, payload format, Quotes API, action ID 25, Bad request error, approvals, incorrect parameters. , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
Product
SAP CPQ all versions
Attachments
Pasted image.png |