Login to BigCommerce API through iOS Application a

2020-05-09 07:09发布

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.

2条回答
啃猪蹄的小仙女
2楼-- · 2020-05-09 07:40

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 }

查看更多
Rolldiameter
3楼-- · 2020-05-09 07:52

You can login by sending a POST to:

/remote.php?w=expressCheckoutLogin

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

查看更多
登录 后发表回答