Operation Id:
clients/deliveryAddress/post [Official Documentaction]
Methods
- clients Array<Object>
- clientLogin String
- clientCodeExternal String
- shopsIds Array<Integer>
- currencyId String
- clientDeliveryAddressFirstName String
- clientDeliveryAddressLastName String
- clientDeliveryAddressAdditional String
- clientDeliveryAddressPhone1 String
- clientDeliveryAddressCity String
- clientDeliveryAddressStreet String
- clientDeliveryAddressRegionId String
- clientDeliveryAddressProvinceId String
- clientDeliveryAddressZipCode String
- clientDeliveryAddressCountry String
Examples
This function updates the delivery address details of a client with the specified information and assigns them to the specified shops.
const result = await idosellRequest.postClientsDeliveryAddress
.clientLogin("iai_demo")
.clientDeliveryAddressCity("Warsaw")
.clientDeliveryAddressStreet("Grzybowska")
.clientDeliveryAddressZipCode("11-111")
.clientDeliveryAddressCountry("PL")
.clientDeliveryAddressFirstName("Demo")
.clientDeliveryAddressLastName("Client")
.shopsIds([1,2])
.exec()