Setup

To use the OrderInvoices API, install the @wix/ecom package using npm or Yarn:

Copy
1
npm install @wix/ecom

or

Copy
1
yarn add @wix/ecom

Then import { orderInvoices } from @wix/ecom:

Copy
1
import { orderInvoices } from '@wix/ecom'
Was this helpful?
Yes
No

listInvoicesForMultipleOrders( )

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves the IDs of invoices associated with all specified orders.

The listInvoicesForSingleOrder() function returns a Promise that resolves when the specified order's transaction records are retrieved.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Stores - all permissions
Read eCommerce - all read permissions
Read Orders
Read Stores - all read permissions
Manage eCommerce - all permissions
Manage Orders
Learn more about permission scopes.
Copy
function listInvoicesForMultipleOrders(orderIds: Array<string>): Promise<ListInvoicesForMultipleOrdersResponse>
Method Parameters
orderIdsArray<string>Required

Order IDs for which to retrieve invoices.

Returns
Return Type:Promise<ListInvoicesForMultipleOrdersResponse>
Was this helpful?
Yes
No