more update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
### Add item to cart
|
||||
POST https://cart.tornberg.me/api/12345
|
||||
POST https://cart.k6n.net/api/12345
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -9,7 +9,7 @@ Content-Type: application/json
|
||||
}
|
||||
|
||||
### Update quanity of item in cart
|
||||
PUT https://cart.tornberg.me/api/12345
|
||||
PUT https://cart.k6n.net/api/12345
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -18,12 +18,12 @@ Content-Type: application/json
|
||||
}
|
||||
|
||||
### Delete item from cart
|
||||
DELETE https://cart.tornberg.me/api/1002/1
|
||||
DELETE https://cart.k6n.net/api/1002/1
|
||||
|
||||
|
||||
### Set delivery
|
||||
|
||||
POST https://cart.tornberg.me/api/1002/delivery
|
||||
POST https://cart.k6n.net/api/1002/delivery
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
@@ -33,10 +33,8 @@ Content-Type: application/json
|
||||
|
||||
|
||||
### Get cart
|
||||
GET https://cart.tornberg.me/api/12345
|
||||
GET https://cart.k6n.net/api/12345
|
||||
|
||||
|
||||
### Remove delivery method
|
||||
DELETE https://cart.tornberg.me/api/12345/delivery/2
|
||||
|
||||
|
||||
DELETE https://cart.k6n.net/api/12345/delivery/2
|
||||
|
||||
Reference in New Issue
Block a user