@plentymarkets/shop-api / doCustomerContactMail
Function: doCustomerContactMail() ​
doCustomerContactMail(
context
,params
):Promise
<Data
<null
>>
Method doCustomerContactMail - process customer contact request.
! ROUTE IS NOT FUNCTIONAL ​
This is route is not functional because reCAPTCHA is not implemented yet.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: CustomerContactEmailParams
name: string - The name of the sender. email: string - The email of the sender. message: string - The message.
Returns ​
Promise
<Data
<null
>>
Remarks ​
- Calls /rest/io/customer/contact/mail/
- This method is used to send the contact request.
Example ​
ts
const { data } = await sdk.boilerplate.doCustomerContactMail({
name: '',
email: '',
message: '',
});