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
Name | Description | Type | Additional information |
---|---|---|---|
id |
Record Id |
globally unique identifier |
Required |
Body Parameters
Serialized Product record in the body of the request
ProductName | Description | Type | Additional 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": "0e974f5f-1d87-47f2-9fa4-d350c3b19498", "CreateDate": "2024-05-19T01:19:45Z", "EditDate": "2024-05-19T01:19:45Z" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.