0

I want the current customer's cart items count via custom web api in Magento 2. Please help me out to get that

1 Answer 1

0

url


http://magento.host/rest/default/V1/carts/mine/items

method :: POST 

Header - In Authorization pass customer's token.

Authorization :: Bearer <customer token>
1
  • could you please tell how to get customer token.. Commented Jul 31, 2018 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.