PUT api/Pedidos/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Pedidos| Name | Description | Type | Additional information |
|---|---|---|---|
| PedidoID | integer |
None. |
|
| DatePedido | date |
None. |
|
| ClienteID | integer |
None. |
|
| PedidoStatus | OrderStatus |
None. |
|
| EmpresasID | integer |
None. |
|
| SucursalID | integer |
None. |
|
| BodegaID | integer |
None. |
|
| FacturaID | integer |
None. |
|
| PedidosDetalles | Collection of PedidosDetalle |
None. |
Request Formats
application/json, text/json
Sample:
{
"PedidoID": 1,
"DatePedido": "2025-12-06T10:52:19.7665005-08:00",
"ClienteID": 3,
"PedidoStatus": 0,
"EmpresasID": 4,
"SucursalID": 5,
"BodegaID": 6,
"FacturaID": 1,
"PedidosDetalles": [
{
"PedidoDetalleID": 1,
"PedidoID": 2,
"ProductoID": 3,
"Descripcion": "sample string 4",
"Precio": 5.0,
"Cantidad": 6.1
},
{
"PedidoDetalleID": 1,
"PedidoID": 2,
"ProductoID": 3,
"Descripcion": "sample string 4",
"Precio": 5.0,
"Cantidad": 6.1
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.