[ECOMMERCE-306] Remove item. A Delete request has no body Created: 22/Jun/20  Updated: 08/Oct/20  Resolved: 23/Jul/20

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Type: Bug Priority: Medium
Reporter: Laura Delnevo Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: E-com improvements 1.0 - 1.1.1 - 1.2
Sprint: Add-Ons 42
Story Points: 2

 Description   

Issue Remove Item: The resource is /carts/items/{itemId} and we obtain the cartId from the body.

Current Behaviour

However this is incorrect, as a DELETE request has no body. It does not work to me either in curl or in Postman.

Expected behaviour 

  • Investigate why current endpoint no longer works
  • Add/Update endpoint 

Generated at Mon Feb 12 01:42:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.