Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-308

Phase 3 | CreateOrder API. Methods

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Current behaviour (a)

      The resource is “/checkouts/order/{cartId}“. In my opinion we are placing a new order for a user from an existing cart.

      Correct behaviour

      • Thus, the resource should be: /users/{userId}/orders
        and pass the cartId in the body.

      Current behaviour (b)

      We are aggregating 2 (set payment method and create the order itself) operations in 1.

      Correct behaviour

      • Separate the 2 methods

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ldelnevo Laura Delnevo
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD