Purchase Reward
Purchase a reward item from the student's rewards shop.
POST
/purchase/
{itemId}
Authorization
Authorization
RequiredBasic <token>
This is the session_id
returned when logging in. e.g. Basic eW91IHNob3VsZCBzdGFyIHRoaXMgcmVwbyE=
In: header
Request Body
application/x-www-form-urlencoded
Requiredpupil_id
integer
Path Parameters
itemId
Requiredinteger
Reward purchased