Skip to content

Allow update customer from REST #42

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions