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": "f09d4e11-74d1-47d9-b412-3a5a041d3342",
  "CreateDate": "2024-12-05T02:19:26Z",
  "EditDate": "2024-12-05T02:19:26Z"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.