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": "1327ed3d-85c5-4700-9374-8ced49112c40",
  "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": "059fff65-1068-47fa-8c8c-033537e25ad4",
  "Name": "sample string 2"
}