Setup
To use the OrderInvoices API, install the @wix/ecom
package using npm or Yarn:
Copy
1npm install @wix/ecom
or
Copy
1yarn add @wix/ecom
Then import { orderInvoices }
from @wix/ecom
:
Copy
1import { 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: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