queryBackInStockNotificationRequests( )
Creates a query to retrieve a list of back in stock notification requests.
Description
The queryBackInStockNotificationRequests()
method builds a query to retrieve a list of back in stock notification requests and returns a RequestsQueryBuilder
object.
The returned object contains the query definition, which is typically used to run the query using the find()
method.
You can refine the query by chaining RequestsQueryBuilder
methods onto the query. RequestsQueryBuilder
methods enable you to sort, filter, and control the results that queryBackInStockNotificationRequests()
returns.
The following RequestsQueryBuilder
methods are supported for queryBackInStockNotificationRequests()
. For a full description of the Requests object, see the object returned for the items
property in RequestsQueryResult
."
PROPERTY | SUPPORTED FILTERS & SORTING |
---|---|
_id | eq() ,ne() ,in() ,startsWith() ,exists() ,ascending() ,descending() |
contactId | eq() ,ne() ,in() ,startsWith() ,exists() ,ascending() ,descending() |
status | eq() ,ne() ,in() ,exists() ,ascending() ,descending() |
autoNotified | eq() ,ne() ,in() ,exists() ,ascending() ,descending() |
_createdDate | eq() ,ne() ,in() ,gt() ,lt() ,le() ,exists() ,ascending() ,descending() |
itemUrl | eq() ,ne() ,in() ,startsWith() ,exists() ,ascending() ,descending() |
Syntax
function queryBackInStockNotificationRequests(): RequestsQueryBuilder
queryBackInStockNotificationRequests Parameters
This function does not take any parameters.
Returns
Return Type:
Was this helpful?
queryBackInStockNotificationRequests example
1import { backInStockNotifications } from 'wix-ecom-backend';23 async function queryBackInStockNotificationRequests() {4 const { items } = backInStockNotifications.queryBackInStockNotificationRequests().find();5 }6