Operation Id:
clients/profitPoints/get [Official Documentaction]
Methods
- clientsIds Array<Integer>
- clientTextSearch String
- clientIsActive 'yes'|'no'
- clientHasTradeCredit 'nonzero'|'positive'|'negative'|'zero'
- clientLastPurchaseDate Object
- pointsModificationDate Object
- returnElements Array<String>
- resultsPage Integer
- resultsLimit Integer
Examples
This function retrieves the profit points of the clients with the specified IDs [1,3,4].
const result = await idosellRequest.getClientsProfitPoints
.clientsIds([1,3,4])
.exec()
This function checks whether the client has an active status.
const result = await idosellRequest.getClientsProfitPoints
.clientIsActive("yes")
.exec()
This function retrieves the profit points for clients on page 2 with a limit of 10.
const result = await idosellRequest.getClientsProfitPoints
.page(2,10)
.exec()