searchClientsNewsletterSms

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
  • dates dateFrom: DateLike, dateTo: DateLike
Examples

This function retrieves clients' newsletter email and SMS information from the second page, with a maximum of 10 entries per page.

Loading editor...

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.

Loading editor...

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.

Loading editor...

const result = await idosellRequest.searchClientsNewsletterSms
	.dates("2023-01-01", "2023-01-10")
	.exec();