createBackInStockNotificationRequest( )


Creates a back in stock notification request.

If a notification request already exists for the same catalogReference and email, then a new one isn't created and the existing request is returned.

Back in stock notifications only work for Wix Stores. The appId for Wix Stores is "215238eb-22a5-4c36-9e7b-e7c08025e04e".

Permissions
Manage Stores - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
requestBackInStockNotificationRequestRequired

Notification request information.

Includes details for the out of stock item and the email address requesting to be notified when it's back in stock.


itemDetailsBackInStockItemDetailsRequired

Item details to include in the notification when the item is back in stock.

Returns
Return Type:Promise<BackInStockNotificationRequest>
Errors
400Invalid Argument

There are 2 errors with this status code.

409Already Exists

There is 1 error with this status code.

428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?