- Category
- Meal
- Drink
- Auth
- Customer
- Admin
- Driver
- Order
- Review
Update
PUT
/api/Orders/1
Request
Body Params application/json
object {0}
Example
{
// "Description": "Description of order 1...",
// "ProductsId": [
// 1,
// 2,
// 3
// ],
// "Quantities": [
// 1,
// 2,
// 3
// ]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://127.0.0.1:5051/api/Orders/1' \
--header 'Content-Type: application/json' \
--data-raw '{
// "Description": "Description of order 1...",
// "ProductsId": [
// 1,
// 2,
// 3
// ],
// "Quantities": [
// 1,
// 2,
// 3
// ]
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-27 19:29:51