cancel
Showing results for 
Search instead for 
Did you mean: 

Rest Api - GET /V1/carts/mine/items not giving product row total and image in response

0 Kudos

Rest Api - GET /V1/carts/mine/items not giving product row total and image in response

Feature request from qwerty7869, posted on GitHub Jul 01, 2016

Steps to reproduce

  1. Add products in cart
  2. Hit api GET /V1/carts/mine/items
  3. Response will be

[ { "item_id": 244, "sku": "24-WB04", "qty": 2, "name": "Push It Messenger Bag", "price": 45, "product_type": "simple", "quote_id": "202" }, { "item_id": 245, "sku": "MSH03-33-Black", "qty": 1, "name": "Meteor Workout Short", "price": 32.5, "product_type": "configurable", "quote_id": "202", "product_option": { "extension_attributes": { "configurable_item_options": [ { "option_id": "90", "option_value": 49 }, { "option_id": "138", "option_value": 177 } ] } } } ]

Expected result

Response should have product row total and image which is the basic functionality required in all the sites.

9 Comments
apiuser
New Member

Comment from mbrinton01, posted on GitHub Jul 02, 2016

@qwerty7869 totals can be found using other calls such as GET /V1/carts/{cartId}/totals. GET /V1/carts/mine/items does not return images. Are you making a feature request for images in this call?

apiuser
New Member

Comment from qwerty7869, posted on GitHub Jul 04, 2016

@mbrinton01 Thanks for the reply. I checked cart totals api and getting itemwise row total in response so that is resolved. But require images for the cart page and I think this is not a fetaure but a basic functionality which will be required in all the sites.

apiuser
New Member

Comment from oserediuk, posted on GitHub Jul 07, 2016

@qwerty7869 do you confirm that you want to report future request?

apiuser
New Member

Comment from mbrinton01, posted on GitHub Jul 07, 2016

@qwerty7869 another question to understand your request. It is possible to get images now for a product, but are you requesting this be possible from a carts API call?

apiuser
New Member

Comment from qwerty7869, posted on GitHub Jul 11, 2016

@oserediuk Yes I confirm to report it as a future request.

apiuser
New Member

Comment from qwerty7869, posted on GitHub Jul 11, 2016

@mbrinton01 Yes requesting that will it be possible from Cart Api call. If it is possible than please help me how to add that functionality in my project.

apiuser
New Member

Comment from mackelito, posted on GitHub Aug 18, 2016

+1

apiuser
New Member

Comment from mackelito, posted on GitHub Aug 19, 2016

is there any update on this ticket?

hemaxi
New Contributor

Hello,

 

Is this solved ? I also want image in following api.

http://beta.balidesigns.co/index.php/rest/V1/carts/mine/

 

or anyone know any related file for this api ?

 

Thanks.