marello
marello copied to clipboard
Allow update customer from REST
Hi,
just allow updating Customer data with REST API
add following lines to Marello/Bundle/OrderBundle/Controller/Api/Rest/CustomerController.php
/**
* REST PUT
*
* @param int $id Customer id
*
* @ApiDoc(
* description="Update Customer via Rest api",
* resource=true
* )
* @return Response
*/
public function putAction($id)
{
return $this->handleUpdateRequest($id);
}