Custom API for updating products

Please notice the
„…new_data” spread operator with an object containing all the data to be updated by the API