[SHOP-7] Create a Order endpoint Created: 27/Feb/20  Updated: 27/Mar/20  Resolved: 27/Mar/20

Status: Closed
Project: Shop
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Story Priority: Neutral
Reporter: Adrien Manzoni Assignee: Riste Drangovski
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)
Epic Link: REST API
Sprint: Scrum Sprint 1

 Description   
POST /order Get the current cart, the billing/shipping addresses, the shipping methods and convert them into an order false
GET /orders Get the list of orders whose the user id match with the session user id.
Does not work for the anonymous accesses.
true
GET /order/{orderId} Get the requested order. 
Only return the order if the user id match with the session user id.
Does not work for the anonymous accesses.
true
PUT /order/{orderId}/cancel Change the status of the order into CANCELLED if the user id match with the session user id.
Does not work for the anonymous accesses
false

Generated at Mon Feb 12 10:48:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.