Voucher API

Hello Wix Community,

I have a short question and hope you can help me with that Issue.
Is there a possibility to display the vouchers in a database as well?
or if a product was purchased and a voucher was used to display this in the order DB as well?

Thank you so much for your help.

Any Feedback?