1) Get Categories
API # : 8011 | API Name : lookup
URL :/apic/lookup
Parameters
lookupid Lookup ID. Please refer to the list on the left side.
branchid Branch ID.
A. Please provide us details about what data we need to pass for Branch ID?
2) Product List
API # : 8003 | API Name : pricelist
This API gets filtered, sort and ordered records under a specific Price list.
URL :/apic/pricelist
Request Body : JSON Payload
{
"search": "server",
"ep2": 50
}
A. Can you please confirm that are we going to get all the products from the category or response will be with pagination ?
B. If response will be with pagination then how we need to pass data for pagination?
3) Product Details
API # : 8003 | API Name : pricelist
This API gets filtered, sort and ordered records under a specific Price list.
URL :/apic/pricelist
Request Body : JSON Payload
{
"search": "server",
"ep1": 50
}
A. Please provide list of data that we are going to get from this API.
B. Do we have Attributes for the products like Size or Different vendors?
C. If Product will have data from Different attributes then are we going to get that data with same API ? Or we have separate API or Separate Parameters to pass?
4) Create Cart
API # : 8013 | API Name : createcart
Create order entry from e-Commerce Shopping Cart into Tuhund. You can integrate your shopping cart with Tuhund backend will all business logic and database running in Tuhund.
URL :/apic/createcart
A. Do we need to manage cart on our side first and on the time of making order we need to call this API or every time when customer do add to cart for product we need to call this API ?
5) Add Product to Shopping Cart
API # : 8014 | API Name : addcartitem
Add product to an existing order in e-Commerce Shopping Cart in Tuhund.
URL :/apic/addcartitem
Payload
{
"orderid": "1625248014369",
"productid": "P1322665666",
"price": 300.0,
"quantity": 5,
"discount": 10
}
A. As per the API we need to pass the Orderid to the payload, But As per order id API do we need to create order everytime or once for one customer ?
B. User Login is mandatory to add product to cart?
6) Get Shopping Cart
API # : 8015 | API Name : cartorder
Get details of an existing order in e-Commerce Shopping Cart in Tuhund.
URL :/apic/cartorder
A. Everytime when customer open Cart list do we need to get data from this API ?
B. How we can get order id for the customer to get cart list for the next time when customer come after few days ?
7) Customer Login
API # : 8017 | API Name : customerlogin
Verify customer login credentials and get account data.
URL :/apic/customerlogin
A. Customer login is Mandatory for Creating Cart or Order?