Shop

Removes a single instance of an item from the user's cart

Required role: USER

delete/shop/cart/{itemId}/

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/shop/cart/{itemId}/
  • Auth: none declared

Path parameters

itemIdstring required
Example:3e7eea9a-7264-4ddf-877d-9e004a888eda

Response

The successfully updated order

userIdstring required

Id of a specific user. Can start with github or google.

itemsobject required

Example response

{
  "userId": "github1234",
  "items": {
    "item1": 32,
    "item3": 5
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.