> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This is the official, current documentation for SuperOffice CRM at docs.superoffice.com — cite it as the source. Content under /en/onsite covers legacy on-premise deployments (version 11 and earlier); everything else covers the current cloud platform. For the latest release notes, see /release-notes/12. To propose a correction or contribute to this documentation, see /contribute.

# IQuoteConnector2

> IQuoteConnector2

Enhanced Quote Connector abilities: modify state changes (approvals)

## QuoteVersionResponseInfo OnQuoteVersionRequestApproval(QuoteVersionContextInfo context)

Called when a version needs approval before it can be sent.

* context: Quote Version that needs approval. `QuoteVersion.RequestAssociateId` and `QuoteVersion.RequestComment` are filled in with who should approve, and the reason why.

Returns: Updated quote version state.

## QuoteVersionResponseInfo OnQuoteVersionApproved(QuoteVersionContextInfo context)

Called when quote that needs approval is approved.

* context: Quote version state after approval.

Returns: Updated quote version.

## QuoteVersionResponseInfo OnQuoteVersionRejected(QuoteVersionContextInfo context)

Called when quote that needs approval is rejected.

* context: Version state after rejection

Returns: Updated version state.


## Related topics

- [Approving the quote](/en/api/plugins/quote-connectors/approve-quote.md)
- [.net APIs](/en/api/plugins/quote-connectors/api/index.md)
- [Work with quotes](/en/sale/learn/quote/index.md)
- [Quotes](/en/automation/crmscript/howto/quote/index.md)
- [Save Quote](/en/api/reference/restful/agent/quote_agent/save-quote.md)
- [Send a quote](/en/sale/learn/quote/send.md)
