magento android APP for customers -


i'm developing android app work magento , wanted have option login customers , can add item cart, view have in cart , buy stuff find can view customers, view orders, couldn't find how make login customers , how add items cart , buy that.

thanks help.

in order customer's cart detail using rest api first customer token using api "post /v1/integration/customer/token".

curl -x post "http://example.com/rest/v1/integration/customer/token"

-h "content-type: application/json" -d '{"username":"username","password": "password"}'

this return token. can use token in header in order access customer resources

like cart details

let token xxxxxxxxxxxxxxxxxxxxxxxxx

curl -x "http://domainname.com/rest/v1/carts/mine"\ -h "authorization: bearer xxxxxxxxxxxxxxxxxxxxxxxxx"


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -