Web Development
Bug Report
A mobile client sent a partial PUT and our API wiped every field it left out
After a mobile release, customers who changed their delivery phone number lost their saved address notes and opening hours. The app was sending a partial body with PUT, and the API did exactly what PUT means. The fix: PATCH with JSON Merge Patch, and a PUT that rejects partial bodies.