Endpoint: POST /warehouse/inventory
Endpoint: PUT /warehouse/inventory
Endpoint: DELETE /warehouse/inventory
Endpoint: GET /warehouse/inventory
Endpoint: PATCH /warehouse/inventory
Note: PUT is a technique of altering resources when the client transmits data that revamps the whole resource. PATCH is a technique for transforming the resources when the client transmits partial data that will be updated without changing the whole data.
I can PUT (change) a package completely
I can PATCH the package address, name, delivery time etc.....
Endpoint: POST /warehouse/inventory
Endpoint: PUT /warehouse/inventory
Endpoint: DELETE /warehouse/inventory
Endpoint: GET /warehouse/inventory
Endpoint: PATCH /warehouse/inventory
Note: PUT is a technique of altering resources when the client transmits data that revamps the whole resource. PATCH is a technique for transforming the resources when the client transmits partial data that will be updated without changing the whole data.
I can PUT (change) a package completely
I can PATCH the package address, name, delivery time etc.....