PUT api/customers/{id}

Update a customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

CustomerDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Required

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "Id": "4e1308e8-c9f4-4a2b-a61e-669583d6e4d7",
  "Name": "sample string 2"
}

Response Information

Resource Description

CustomerDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Required

Max length: 50

Response Formats

application/json, text/json

Sample:
{
  "Id": "21938c8c-935d-49e3-b776-97a1ec43dd21",
  "Name": "sample string 2"
}