Retrieves fulfillments associated with multiple specified orders.
The listFulfillmentsForMultipleOrders()
function returns a Promise that resolves when the fulfillments are retrieved.
function listFulfillmentsForMultipleOrders(
orderIds: Array<string>,
): Promise<ListFulfillmentsForMultipleOrdersResponse>;
List of order IDs for which to retrieve fulfillments.
import { orderFulfillments } from "@wix/ecom";
async function listFulfillmentsForMultipleOrders(orderIds) {
const response =
await orderFulfillments.listFulfillmentsForMultipleOrders(orderIds);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.