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.

Authentication

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

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

ID of the notification request to mark.

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