Login to BigCommerce API through iOS Application as a customer

帅比萌擦擦* 提交于 2019-12-04 06:02:06

问题


I am developing an iOS application for a store on BigCommerce.com . I have successfully retrieved the products list from the BigCommerce API and I have also created a new user using the same.

Create User: https://developer.bigcommerce.com/api/stores/v2/customers#create-a-customer

Product List: https://developer.bigcommerce.com/api/stores/v2/products

But i am unable to understand that how should i login into the BigCommerce Store as a customer to purchase products listed.

Please can anyone help.


回答1:


You can login by sending a POST to:

/remote.php?w=expressCheckoutLogin

Send fields 'login_email' and 'login_pass' in your POST's body.




回答2:


Its very hard to finding login api in bigCommerce. this solution is 100% working and tested.

Keep Enjoy

APi URL : https://api.bigcommerce.com/stores/[STORE_HASH]/v2/customers/[CUSTOMER_ID]/validate

Method : POST

Header X-Auth-Client : Client_id X-Auth-Token : Access Token Accept : application/json Content-Type : application/json

Body { "password": "123456" }

Response { "success": true }



来源:https://stackoverflow.com/questions/36369395/login-to-bigcommerce-api-through-ios-application-as-a-customer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!