SAP Knowledge Base Article - Public

3298893 - How to use API to invoke “Submit for Approval” actions

Symptom

How to Submit for Approval using REST API POST quotes/{id}/actions/{id}/invoke/ 

Environment

SAP SALES CLOUD CPQ

Resolution

HTTP Method: POST
API URL:  https://<CPQURL>/api/v1/quotes/<QuoteID>/actions/25/invoke

Body 
Type:Raw
Data type: Json

Payload

    "Approvals":
    [
        {
            "Rule":<RuleID>,
            "Approvers":[List of approvers],
            "Comment":"comment here"
        }
    ]
}



Keywords

API, REST, Submit For Approval, Invoke, Approval, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , How To

Product

SAP CPQ 2023