In this section, we will talk about the “Ecommerce” related actions. UChat support below customer related actions:
Add to Cart
Remove from Cart
Empty Cart
Get Cart Items
Create draft order From Cart
Now, let’s go over these actions one by one.
This action is used to add a product to a user’s cart using bot user’s NS and variant id of the product.
{ |
This action is used to remove an item from the cart using user NS and variant Id.
{ |
This action is used to completely empty a cart for a user using their user NS
{ |
This action is used to fetch cart information of a bot user , using their user NS
{ |
This action is used to create a draft order using line items available in the cart.
{ |