 
       ga "ecommerce:send"
 
-    put: (params) ->
+    put: (path, params) ->
       params ||= {}
 
       config =
         headers:
           'X-Spree-Order-Token': Cart.current.token
 
+      url = _.compact(["/api/checkouts/#{Cart.current.number}",path]).join("/")
       Cart.current.errors = null
 
-      $http.put("/api/checkouts/#{Cart.current.number}/quick_update", $.param(params), config)
+      $http.put(url, $.param(params), config)
            .success (response) ->
              Cart.load(response) unless response.error
            .error (response) ->


        params.payment_source[paymentMethodId] = sourceParams

      @put(params)
        .success (data) ->
          Cart.lastOrder = Sprangular.extend(data, Sprangular.Order)


        order:
          coupon_code: code

      @put(null, params)

    update: ->
      order = Cart.current
