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": "ea3bc737-fa65-4a1e-8cdf-fa95fa605699", "CreateDate": "2024-05-07T16:59:58Z", "EditDate": "2024-05-07T16:59:58Z" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.