PATCH Method

PATCH is another HTTP method that is not commonly used. Similar to PUT, PATCH updates a resource, but it updates data partially and not entirely.


For customer 123, it updates the name to "Sally"

/api/customers/123

Request Body
{
  "name": "Sally"
}