Skip to Content
0
Sep 16 at 01:18 PM

CPQ :: Is theere a way to pass Quote obj to custom CPQ API?

128 Views

Hi all!

There is a Quote in C4C from one side. It is needed pass Quote's data to Custom CPQ API. In this task two questions:

1. How to pass Quote properly to python script? Assume C4C Quote we pass as json object in request body:

Param={"Quote" : {"QuoteId": 1111}}

2. If pass only {"QuoteId": 1111} than can I get Quote in CPQ by QuoteId? I ask about this because Quote.Get method is absent in IQuote interface.

3. How to use passed Quote object from C4C as Quote in CPQ script?

4. How to return json result from API?

Thank you,

Best regards,

Denis