Create Product
Creates a new product in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_PRODUCT])
Update Product
Updates an existing product in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_PRODUCT])
Delete Product
Deletes a product from SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_PRODUCT])
Create Customer
Creates a new customer in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOMER])
Update Customer
Updates an existing customer's information
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CUSTOMER])
Create Order
Creates a new order in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_ORDER])
Cancel Subscription
Cancels an active subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CANCEL_SUBSCRIPTION])
Refund Order
Processes a refund for an order
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REFUND_ORDER])
Create Coupon
Creates a new coupon code in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_COUPON])
Delete Coupon
Deletes an existing coupon code
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_COUPON])
Create Affiliate
Creates a new affiliate in the SamCart system
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_AFFILIATE])
Update Affiliate
Updates an existing affiliate's information
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_AFFILIATE])
Create Checkout Page
Creates a new checkout page in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHECKOUT_PAGE])
Update Checkout Page
Updates an existing checkout page
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CHECKOUT_PAGE])
Create Upsell
Creates a new upsell offer in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_UPSELL])
Update Upsell
Updates an existing upsell offer
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_UPSELL])
Generate Report
Generates a custom report in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_REPORT])
Add Tag To Customer
Adds a tag to a customer's profile
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_TAG_TO_CUSTOMER])
Remove Tag From Customer
Removes a tag from a customer's profile
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_TAG_FROM_CUSTOMER])
Update Subscription
Updates the details of an existing subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_SUBSCRIPTION])
New Order Created
Triggered when a new order is placed in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_ORDER_CREATED])
Order Refunded
Triggered when an order is refunded in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ORDER_REFUNDED])
Subscription Created
Triggered when a new subscription is created
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CREATED])
Subscription Cancelled
Triggered when a subscription is cancelled
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_CANCELLED])
Product Created
Triggered when a new product is created in SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PRODUCT_CREATED])
Customer Created
Triggered when a new customer is added to SamCart
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CUSTOMER_CREATED])
Abandoned Cart
Triggered when a cart is abandoned
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ABANDONED_CART])
Upsell Accepted
Triggered when a customer accepts an upsell offer
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPSELL_ACCEPTED])
Checkout Page Viewed
Triggered when a checkout page is viewed
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHECKOUT_PAGE_VIEWED])
Affiliate Referral
Triggered when an affiliate refers a sale
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.AFFILIATE_REFERRAL])