diff options
| author | Rene Ae <aehtyb@gmail.com> | 2015-11-10 23:28:47 -0600 |
|---|---|---|
| committer | Rene Ae <aehtyb@gmail.com> | 2015-11-10 23:29:15 -0600 |
| commit | f513061a84becab81db06c37c71a99b986cda633 (patch) | |
| tree | 9b1c1504b28f56ac361855b792dc6239bace6c3f /StoneIsland/www/js/sdk/cart.js | |
| parent | e916bc00c47f1d39f3f71c6d6c1a93be730175ed (diff) | |
added more tests
Diffstat (limited to 'StoneIsland/www/js/sdk/cart.js')
| -rw-r--r-- | StoneIsland/www/js/sdk/cart.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/sdk/cart.js b/StoneIsland/www/js/sdk/cart.js index a532d5eb..98669fbd 100644 --- a/StoneIsland/www/js/sdk/cart.js +++ b/StoneIsland/www/js/sdk/cart.js @@ -82,7 +82,7 @@ sdk.cart = (function(){ cart.get_status = function(opt){ return $.ajax({ method: "GET", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id), + url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/user.json"), headers: { "x-yoox-appname": auth.appname, "x-yoox-cart-token": cart.token, @@ -104,7 +104,7 @@ sdk.cart = (function(){ cart.set_shipping_address = function(opt){ return $.ajax({ method: "PUT", - url: sdk.path("Cart.API/1.6", "receiver.json"), + url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/receiver.json"), headers: { "x-yoox-appname": auth.appname, "x-yoox-cart-token": cart.token, |
