This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves the amount of back in stock requests for a given catalogReference
item.
function getBackInStockNotificationRequestsCountByCatalogReferences(
catalogReferences: Array<CatalogReference>,
): Promise<GetBackInStockNotificationRequestsCountByCatalogReferencesResponse>;
catalogReference
items to retrieve the notification request for.
import { backInStockNotifications } from "@wix/ecom";
async function getBackInStockNotificationRequestsCountByCatalogReferences(
catalogReferences,
) {
const response =
await backInStockNotifications.getBackInStockNotificationRequestsCountByCatalogReferences(
catalogReferences,
);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.