putClients

Operation Id:
clients/clients/put [Official Documentaction]
Methods

  • clients Array<Object>
  • clientLogin String
  • clientEmail String
  • clientFirstName String
  • clientLastName String
  • clientStreet String
  • clientZipCode String
  • clientCity String
  • clientCountryId String
  • clientProvinceId String
  • clientPassword String
  • clientBirthDate String
  • clientPhone1 String
  • clientFirm String
  • clientNip String
  • clientIsWholesaler Boolean
  • clientType 'person'|'person_male'|'person_female'|'firm'
  • langId String
  • blockLoginToOtherShops Boolean
  • shopsIds Array<Integer>
  • currencyId String
  • clientCodeExternal String
  • deliveryDates Array<Object>
  • clientBalanceAmountExternal Number
  • clientTradeCreditLimitExternal Number
  • newsletterEmailApproval Boolean
  • newsletterSmsApproval Boolean
  • clientGroupDiscountNumber Integer
  • requestReference String
  • newsletterEmailApprovalsData Array<Object>
  • newsletterSmsApprovalsData Array<Object>
  • clientActive Boolean
  • numberOfDaysToPay Integer
  • affiliateLogin String
  • affiliateId Integer
  • clientNote String
Examples

This function logs the client 'iaisystem' into the system and adds a note labeled 'System' to the client's account.

const result = await idosellRequest.putClients
	.clientLogin("iaisystem")
	.clientNote("System")
	.exec()

This function authenticates the client with the username "iaisystem", adds a note "System" to their profile, appends the note, and then authenticates another client with the username "iai_demo" and adds a note "Demo" to their profile.

const result = await idosellRequest.putClients
	.clientLogin("iaisystem")
	.clientNote("System")
	.append()
	.clientLogin("iai_demo")
	.clientNote("Demo")
	.exec()