Introduction

 

Developer Preview
APIs in Developer Preview are subject to change and are not intended for use in production.
Send us your suggestions for improving this API. Your feedback is valuable to us.

 

The Order Invoices API allows you to retrieve the IDs of invoices, and IDs of the external invoice apps that created them.

Terminology

  • Invoice ID: Used to retrieve the invoice itself from the service that created it.
  • Invoice App ID: ID of the external invoice app that created the invoice.

To use the Order Invoices API, import { orderInvoices } from the wix-ecom-backend module:

Copy

Permissions information

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.

Did this help?