MealsOrderingApplication
  1. Customer
MealsOrderingApplication
  • Category
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Meal
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Drink
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Auth
    • Register
      POST
    • Login
      POST
  • Customer
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Admin
    • GetAll
      GET
    • Add
      POST
    • GetById
      GET
    • Update
      PUT
    • Delete
      DELETE
  • Driver
    • GetAll
    • Add
    • GetById
    • Update
    • Delete
  • Order
    • GetAll
    • Add
    • GetById
    • Update
    • Delete
  • Review
    • GetAll
    • Add
    • GetById
    • Update
    • Delete
  1. Customer

Update

PUT
/api/Customers/0f1f8dec-9cb5-4f9a-b30e-d83607578f1e

Request

Body Params application/json
object {0}
Example
{
    // "FirstName": "customer3",
    // "LastName": "customer3",
    // "Email": "customer3@test.com",
    // "Username": "customer3",
    // "Password": "P@ssw0rd",
    // "phoneNumber": "01234567890",
    // "Location": "Sohag"
}

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/Customers/0f1f8dec-9cb5-4f9a-b30e-d83607578f1e' \
--header 'Content-Type: application/json' \
--data-raw '{
    // "FirstName": "customer3",
    // "LastName": "customer3",
    // "Email": "customer3@test.com",
    // "Username": "customer3",
    // "Password": "P@ssw0rd",
    // "phoneNumber": "01234567890",
    // "Location": "Sohag"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-27 19:29:51
Previous
GetById
Next
Delete
Built with