@plentymarkets/shop-api / doUnsubscribeNotifyMe
Function: doUnsubscribeNotifyMe() ​
doUnsubscribeNotifyMe(
context,params):Promise<Data<NotifyMeSuccessResponse>>
Defined in: api/doUnsubscribeNotifyMe/index.ts:26
Method doUnsubscribeNotifyMe - Unsubscribe from notify me notifications
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
Returns ​
Promise<Data<NotifyMeSuccessResponse>>
NotifyMeSuccessResponse
Remarks ​
- Calls /rest/storefront/stock/notifications/
- This method is used to unsubscribe from back in stock notifications
Example ​
ts
const { data } = await useSdk().plentysystems.doUnsubscribeNotifyMe({
token: '[token]',
});