Operation Id:
clients/newsletter/sms/search/post [Official Documentaction]
Methods
- shops Array<Object>
- language String
- date Object
- return_elements Array<String>
- results_page Integer
- results_limit Integer
Examples
This function retrieves clients' newsletter email and SMS information from the second page, with a maximum of 10 entries per page.
const result = await idosellRequest.searchClientsNewsletterSms
.page(2,10)
.exec()
This function retrieves the language preference for clients who have subscribed to newsletters and SMS, specifying the language as Polish.
const result = await idosellRequest.searchClientsNewsletterSms
.language("pol")
.exec()
This function retrieves the dates of clients who have subscribed to the newsletter and are eligible to receive emails and SMS within the specified date range.
const result = await idosellRequest.searchClientsNewsletterSms
.dates("2023-01-01", "2023-01-10")
.exec()