PUT Products/{id}
Update a product of Issuer
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Product Id |
integer |
Required |
Body Parameters
The Request model info
ProductRequestModelName | Description | Type | Additional information |
---|---|---|---|
MainCode |
Codigo Principal |
string |
Required String length: inclusive between 0 and 500 |
AuxCode |
Codigo auxiliar |
string |
String length: inclusive between 0 and 500 |
Name |
Nombre del producto |
string |
Required String length: inclusive between 0 and 500 |
UnitPrice |
Precio unitario |
decimal number |
Required |
ProductTypeId |
Tipo de producto. |
integer |
Required |
IvaRateId |
Tarifa del Iva para el producto |
integer |
Required |
IceRateId |
Tarifa del ICE para el producto |
integer |
None. |
IsEnabled |
Esta habilitado? |
boolean |
Required |
Request Formats
application/json, text/json
Sample:
{ "MainCode": "sample string 1", "AuxCode": "sample string 2", "Name": "sample string 3", "UnitPrice": 4.0, "ProductTypeId": 5, "IvaRateId": 6, "IceRateId": 7, "IsEnabled": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns a product updated object
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |