PUT api/Client/Put/{id}
Actualiza el cliente de id 'clientId' con los datos recibidos en el modelo.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identificador del cliente a actualizar |
string |
Required |
Body Parameters
Datos del cliente a actualizar
ClientViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Number | integer |
None. |
|
| FinalConsumer | boolean |
None. |
|
| ClientOfAGroup | boolean |
None. |
|
| CurrentAccount | boolean |
None. |
|
| CurrencyId | string |
None. |
|
| CreditLimit | integer |
Range: inclusive between 0 and 2147483647 |
|
| PalletsPicking | integer |
Range: inclusive between 0 and 2147483647 |
|
| PriceListId | string |
None. |
|
| SellerId | string |
None. |
|
| CollectorId | string |
None. |
|
| PaymentMethodId | string |
None. |
|
| IsWarehouseClient | boolean |
None. |
|
| DiscountPercentage | decimal number |
Required Range: inclusive between 0 and 100 |
|
| ReturnPercentage | decimal number |
None. |
|
| UserId | string |
None. |
|
| ProductCodes | Collection of ClientProductCodeViewModel |
None. |
|
| SalesChannel | SalesChannel |
None. |
|
| IsCreditApprovalRequired | boolean |
None. |
|
| ClientType | ClientType |
None. |
|
| MainAddress | AddressViewModel |
None. |
|
| DeliveryAddress | AddressViewModel |
None. |
|
| ChargeCut | boolean |
None. |
|
| IsShippingCostRequired | boolean |
None. |
|
| Comments | Collection of ClientCommentViewModel |
None. |
|
| Id | string |
None. |
|
| Active | boolean |
None. |
|
| CellphoneNumber | string |
None. |
|
| ContactIds | Collection of string |
None. |
|
| SecondaryAddresses | Collection of AddressViewModel |
None. |
|
| IsWMSIntegrated | boolean |
None. |
|
| WarehouseClientId | string |
None. |
|
| BusinessName | string |
Required Matching regular expression pattern: ^[a-zA-ZáéíóúñÁÉÍÓÚÑ0-9 .]+$ |
|
| FantasyName | string |
None. |
|
| PhoneNumber | string |
None. |
|
| DocumentNumber | string |
Matching regular expression pattern: ^\d*$ |
|
| DocumentTypeId | string |
None. |
|
| MainAddress | BaseAddressViewModel |
None. |
|
| DeliveryAddress | BaseAddressViewModel |
None. |
|
| string |
None. |
||
| IsDownPaymentRequired | boolean |
None. |
|
| DownPaymentPercentage | decimal number |
None. |
Request Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
De ser exitosa la actualización retorna 200. De lo contrario retorna 400
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.