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": "b7dd4f8d-4baa-4907-bb21-1de340660051",
  "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": "97a4ba62-de0b-4b3d-ac28-ce0e0b08a688",
  "Name": "sample string 2"
}