Following situation given:
GET /customers: List customersPOST /customers: Create new customerGET /customers/$id: List customer by idSo we are running in following issue, when implementing an opportunity to particular patch the customers. The correct way (and the first we tried), would be to use the HTTP PATCH method. Unfortunately Apache mod-lua has a bug, the PATCH method isn't implemented correctly there (doesn't provide the request body). The bug is tracked here.
But we have to provide this feature, a full update on customers (PUT /customers) is not an option, due to the many result values.
Does anyone has an idea for a good workaround using POST or PUT?
Maybe something like PUT /customers/patch?
Thanks.