searchClientsCrm

Operation Id:
clients/crm/search/post [Official Documentaction]
Methods

  • clientLogin String
  • clientIsWholesaler 'yes'|'no'
  • clientCountryId String
  • langId String
  • clientCustomerServiceRepresentativeLogin String
  • clientDiscountGroupNumber Integer
  • clientRegistrationDate Object
  • clientLastLoginDate Object
  • clientType 'person'|'person_male'|'person_female'|'firm'
  • clientAffiliateProgram Array<Object>
  • newsletterEmailApproval String
  • newsletterSmsApproval String
  • searchByShops Object
  • clientLoyaltyCard Object
  • clientCodeExternal String
  • clientCodesExternal Array<String>
  • clientFirstName String
  • clientLastName String
  • clientNip String
  • clientFirm String
  • clientEmail String
  • newsletterEmailApprovalsData Array<Object>
  • newsletterSmsApprovalsData Array<Object>
  • clientLoyaltyCardNumber String
  • orders Object
  • returnElements Array<String>
  • resultsPage Integer
  • resultsLimit Integer
  • settingsExactSearch Boolean
Examples

This function logs into the CRM system using the provided client ID "abcdefg".

const result = await idosellRequest.searchClientsCrm
	.clientLogin("abcdefg")
	.exec()

This function checks if the client in question is a wholesaler.

const result = await idosellRequest.searchClientsCrm
	.clientIsWholesaler("yes")
	.exec()

This function returns the registered clients in a CRM system between the dates January 1st, 2023, and January 10th, 2023.

const result = await idosellRequest.searchClientsCrm
	.registered("2023-01-01", "2023-01-10")
	.exec()

This function retrieves the second page of 10 clients from the CRM system.

const result = await idosellRequest.searchClientsCrm
	.page(2,10)
	.exec()