Skip to content

Commit

Permalink
MAGETWO-39766: [GITHUB] GET /V1/carts/mine/items is returning "cartId…
Browse files Browse the repository at this point in the history
… is a required field" #1443
  • Loading branch information
Olexii Korshenko committed Jul 28, 2015
1 parent 2f26635 commit 09320f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/code/Magento/Quote/etc/webapi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@

<!-- Managing my Cart Items -->
<route url="/V1/carts/mine/items" method="GET">
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="getList"/>
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="getListForCustomer"/>
<resources>
<resource ref="self" />
</resources>
Expand All @@ -253,7 +253,7 @@
</data>
</route>
<route url="/V1/carts/mine/items" method="POST">
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="save"/>
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="saveForCustomer"/>
<resources>
<resource ref="self" />
</resources>
Expand All @@ -262,7 +262,7 @@
</data>
</route>
<route url="/V1/carts/mine/items/:itemId" method="PUT">
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="save"/>
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="saveForCustomer"/>
<resources>
<resource ref="self" />
</resources>
Expand All @@ -271,7 +271,7 @@
</data>
</route>
<route url="/V1/carts/mine/items/:itemId" method="DELETE">
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="deleteById"/>
<service class="Magento\Quote\Api\CartItemRepositoryInterface" method="deleteByIdForCustomer"/>
<resources>
<resource ref="self" />
</resources>
Expand Down

0 comments on commit 09320f2

Please sign in to comment.