Closed replakcan closed 1 week ago
[x] Create order by sending a POST request to /order endpoint.
/order
[x] Payload data should have same structure as below:
{ "address_id": 1, "order_date": "2024-01-10T14:18:30", "card_no": 1234123412341234, "card_name": "Ali Baş", "card_expire_month": 12, "card_expire_year": 2025, "card_ccv": 321, "price": 1919, "products": [ { "product_id": 12, "count": 1, "detail": "açık mavi - xl" }, { "product_id": 13, "count": 2, "detail": "siyah - lg" } ] }
[x] After successfully creating order, you should congrats the client about the order
[x] Screen and current items in the shopping card should be reset
[x] Create order by sending a POST request to
/order
endpoint.[x] Payload data should have same structure as below:
[x] After successfully creating order, you should congrats the client about the order
[x] Screen and current items in the shopping card should be reset