Search.../

deleteBackInStockNotificationRequest( )

Developer Preview

Delete BackInStockNotificationRequest by id

Syntax

function deleteBackInStockNotificationRequest(_id: string): Promise<void>

deleteBackInStockNotificationRequest Parameters

NAME
TYPE
DESCRIPTION
_id
string

BackInStockNotificationRequest id

Returns

Return Type:

Promise<
void
>

Was this helpful?

deleteBackInStockNotificationRequest example

Copy Code
1import { backInStockNotification } from 'wix-ecom.v2';
2
3 async function deleteBackInStockNotificationRequest(id) {
4 try {
5 const result = await backInStockNotification.deleteBackInStockNotificationRequest(id);
6
7 return result;
8 } catch (error) {
9 console.error(error);
10 // Handle the error
11 }
12 }
13