PUT api/Products/{id}

Update an existing Product. This is not a partial update therefore, please pass in the full Process object to your request. For partial updates, use the PATCH endpoint

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Record Id

globally unique identifier

Required

Body Parameters

Serialized Product record in the body of the request

Product
NameDescriptionTypeAdditional information
Price

decimal number

None.

Cost

decimal number

None.

ItemNumber

string

None.

Name

string

None.

ID

globally unique identifier

None.

CreateDate

date

None.

EditDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Price": 1.0,
  "Cost": 2.0,
  "ItemNumber": "sample string 3",
  "Name": "sample string 4",
  "ID": "64fa9c52-7a10-4404-8b13-3d1155ea5267",
  "CreateDate": "2024-05-04T17:47:50Z",
  "EditDate": "2024-05-04T17:47:50Z"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.