Â
Â
The Order Invoices API allows you to retrieve the IDs of invoices, and IDs of the external invoice apps that created them.
To use the Order Invoices API, import { orderInvoices }
from the wix-ecom-backend
module:
1
Functions in the Order Invoices API are restricted and only run if you elevate permissions using the wix-auth
elevate()
function.
Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.