POST Product/CrearProducto
Request Information
URI Parameters
None.
Body Parameters
ProductoName | Description | Type | Additional information |
---|---|---|---|
idProducto | globally unique identifier |
None. |
|
nombreProducto | string |
None. |
|
descripcionProducto | string |
None. |
|
codigoProducto | string |
None. |
|
categorias | Collection of Categoria |
None. |
|
precio | decimal number |
None. |
|
costo | decimal number |
None. |
|
marca | string |
None. |
|
especificacionesTecnicas | string |
None. |
|
esDestacado | boolean |
None. |
|
cantidadInventario | integer |
None. |
|
tieneDescuento | boolean |
None. |
|
imagenes | Collection of Imagen |
None. |
|
resenias | Collection of Resenia |
None. |
|
promocion | Promocion |
None. |
|
idCategoria | globally unique identifier |
None. |
|
descuento | 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
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. |