PUT api/{lang}/Supplier/Put/{id}
Actualiza el proveedor de id 'id' con los datos recibidos en el modelo.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Identificador del proveedor a actualizar |
string |
Required |
| lang | string |
None. |
Body Parameters
Datos del proveedor a actualizar
SupplierViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Number | integer |
None. |
|
| MainAddress | AddressViewModel |
Required |
|
| 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:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
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:
Sample not available.