Cloudkibo / KiboPush

0 stars 1 forks source link

Investigate how to implement WhatsApp and Messenger ChatBot for Big Commerce #9700

Closed jekram closed 4 years ago

jekram commented 4 years ago

Investigate how to implement WhatsApp and Messenger ChatBot for Big Commerce

sojharo commented 4 years ago

Yesterday, I looked into BigCommerce APIs and studied the following available API from them and understood how we can authenticate with their API and use it.

  1. Rest APIs v3
  2. StoreFront API
  3. GraphQL API
  4. Customer Login API
  5. Current Customer API

The one that we may need for our work is REST API and maybe storefront api as it gave some customer information related to abandoned carts.

Furthermore, I have understood and read about following resources from BigCommerce API. I have omitted some resources that we don't need from following list:

Furthermore, I have created an account on BigCommerce and have setup a store on it with some products, variants and shipping information. However, it is a trial account and will end after 15 days.

Today, I will work further to write commerce api layer for bigcommerce similar to what we have written for shopify. This is under construction.

sojharo commented 4 years ago

On Saturday, I worked more on it from coding perspective and started writing the API layer for Big Commerce. This is under construction and few of the APIs are remaining in this that I will complete today.

sojharo commented 4 years ago

I completed the work on experimenting with BigCommerce APIs yesterday and was able to do store authentication and then use few apis in our API layer. Also, I applied for them to become developer partner so that they give us the sandbox store as well to develop our app on that for testing and then apply.

My request is under review:

Screenshot 2020-09-23 at 8 34 17 AM

As it will be completed we will be able to apply and put our app on their store as well. Also, with sandbox store, we will be able to easily test our work with a store. For now, I am working with a real store but real store has the trial period of 15 days only.

We can start the work on this milestone and start developing the user interface and whatsapp chatbot on this. We can open following tasks for this milestone.

  1. Search Product commerce endpoint
  2. Update cart commerce endpoint
  3. Fetch last N orders of customer commerce endpoint
  4. Database model and crud endpoints work for bigcommerce
  5. Server side work to prefill all the message blocks (few changes according to bigcommerce)
  6. Endpoints to create new and fetch chatbots
  7. Server side work to handling sending blocks (welcome, next, user input) and test chatbot
  8. Endpoint to publish/disable bot and get chatbot details
  9. Ecommerce endpoint to show product categories
  10. Ecommerce endpoint to show product variants
  11. Ecommerce endpoints to see order status
  12. Ecommerce endpoints to discover products
  13. Ecommerce endpoints to view cart
  14. Ecommerce endpoints to update the cart items
  15. Ecommerce endpoints to complete the order (checkout)
  16. Ecommerce endpoints to change shipping address
  17. Client side UI to create/update and test chatbot
  18. Ecommerce endpoint to find and create customer in bigcommerce store
sojharo commented 4 years ago

I have opened all the tasks for this work in this milestone: https://github.com/Cloudkibo/KiboPush/milestone/140

We can close this issue now.