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