Shop
Updates a shop item
Required role: ADMIN
put/shop/item/{id}/
Request
- Base URL: https://adonix.hackillinois.org
- URL: https://adonix.hackillinois.org/shop/item/{id}/
- Auth: none declared
Path parameters
idstring required
Example:3e7eea9a-7264-4ddf-877d-9e004a888eda
Request body
Example request
{
"name": "New Name"
}Response
The new item
Example response
{
"itemId": "3e7eea9a-7264-4ddf-877d-9e004a888eda",
"name": "HackIllinois Branded Hoodie",
"price": 15,
"isRaffle": true,
"quantity": 1,
"imageURL": "https://raw.githubusercontent.com/HackIllinois/example/avatars/bunny.svg"
}Changes
No recorded changes to this operation across all 1 revision of this API.