Uploaded image for project: 'Shop'
  1. Shop
  2. SHOP-6

Create a Wishlist endpoint

    XMLWordPrintable

Details

    • Story
    • Resolution: Fixed
    • Neutral
    • 1.0
    • None
    • None
    • Scrum Sprint 1

    Description

      POST /wishlist If the user is anonymous (unable to fetch the user from the underlying http session), then it creates an anonymous wish list.
      Otherwise, it create a wish list linked to the user id.
       
      Return a cookie storing the wish list id
      false
      GET /wishlist Return the wish list
      The wish list id is taken from the cookie
      true
      DELETE /wishlist Delete the wish list
      The wish list id is taken from the cookie
      false
      POST /wishlist/item Update the wish list by adding the wish list item present in the body of the request
      The wish list id is taken from the cookie
      false
      DELETE /wishlist/item/{itemId} Update the wish list by deleting the given wish list item
      The wish list id is taken from the cookie
      false

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rdrangovski Riste Drangovski
              amanzoni Adrien Manzoni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD