This method has been replaced with Get Aggregated Method Availability, and will be removed on February 10, 2025.
Retrieves the combined availability of a list of fulfillment methods.
The combined availability is a list of times during which one or more of the given fulfillment methods is available, and the types of those fulfillment methods.
function getCombinedMethodAvailability(
fulfillmentMethodIds: Array<string>,
): Promise<GetCombinedMethodAvailabilityResponse>;
IDs of fulfillment methods used to determine the combined availability.
import { fulfillmentMethods } from "@wix/restaurants";
async function getCombinedMethodAvailability(fulfillmentMethodIds) {
const response =
await fulfillmentMethods.getCombinedMethodAvailability(
fulfillmentMethodIds,
);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.