@plentymarkets/shop-api / doEmailConfirmation
Function: doEmailConfirmation() ​
doEmailConfirmation(
context
,params
):Promise
<Data
<boolean
>>
Method doEmailConfirmation - Confirm newsletter email
Parameters ​
• context: PlentysystemsIntegrationContext
• params: NewsletterEmailConfirmationParams
Returns ​
Promise
<Data
<boolean
>>
Remarks ​
- Calls /rest/storefront/newsletter-opt-in
- This method is used to confirm email address
Example ​
ts
const { data } = await useSdk().plentysystems.doEmailConfirmation({
newsletterEmailId: '10',
authString: 'dkadjkaJKSDASKJ#3290DAS'
});