PUT api/DiscountCode/{id}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | No documentation available. |
Define this parameter in the request URI. |
| discountcode | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"DiscountCodeID": "f6954564-0823-4a6a-8033-43d9ab594750",
"Code": "sample string 2",
"TrainingTypeID": "7f529d95-dd05-4999-a0d9-91cd725f572a",
"TrainingClassID": "181dca84-920b-4831-bf7f-3b5ab9ed3723",
"StartDate": "2026-03-13T09:06:34.0516344-04:00",
"EndDate": "2026-03-13T09:06:34.0516344-04:00",
"Deleted": true,
"Amount": 4.0,
"PersonID": "8cf6dc6c-179c-440c-8235-8fcb44db8a8e",
"Used": true,
"UsedDateTime": "2026-03-13T09:06:34.0516344-04:00",
"InventoryItemID": "a375df88-018f-4875-a111-0fcb57b5ba44"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
Sample not available.