Update Customer Name

Service URL: PATCH /customers/name

Request Body:

IUpdateCustomerNameRequest:

customerName – ICustomerName – The new name for the customer

Remarks:

This service can change the name for the customer

Example Request:

PATCH: http://localhost:8080/WebRestApi/rest/customers/name
Content-Type: application/json

{
    "@entity": "retail:updateCustomerNameRequest",
    "customerName": {
        "@entity": "retail:customerName",
        "surname": "Hanson Test",
        "forename": "James test"
    }
}

Example Response:

Status: 200 OK

Go to Top