Skip to content

Allow update customer from REST #42

@clicktrend

Description

@clicktrend

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);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions