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.
Order IDs for which to retrieve invoices.
List of order IDs and their associated invoices.
Retrieves invoices of the 2 requested order IDs
curl -X POST \
'https://www.wixapis.com/ecom/v1/invoices/list-by-ids' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
--data-binary '{
"orderIds": [
"ba2553e1-548e-4b84-96d8-4978e74d7b3b",
"5887eb1a-d695-4a8b-965a-b2a9dec463a9"
]
}'
{
"invoicesForOrder": [
{
"orderId": "5887eb1a-d695-4a8b-965a-b2a9dec463a9",
"invoicesInfo": [
{
"id": "5887eb1a-d695-4a8b-965a-b2a9dec463a9",
"appId": "1380b703-ce81-ff05-f115-39571d94dfcd"
}
]
},
{
"orderId": "ba2553e1-548e-4b84-96d8-4978e74d7b3b",
"invoicesInfo": [
{
"id": "ba2553e1-548e-4b84-96d8-4978e74d7b3b",
"appId": "1380b703-ce81-ff05-f115-39571d94dfcd"
}
]
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.