markAsNotificationSent( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Sets status of a back in stock request to NOTIFICATION_SENT.

Use this function if the notification is sent manually offline. If the notification is sent automatically or with the reportItemsBackInStock() function, then status updates on its own.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Stores - all permissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the notification request to mark.

Returns
Return Type:Promise<MarkAsNotificationSentResponse>
Was this helpful?
Yes
No