Create Customer
Create a new customer in Recharge
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CUSTOMER])
Update Customer
Update an existing customer's information in Recharge
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_CUSTOMER])
Cancel Subscription
Cancel an active subscription for a customer
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CANCEL_SUBSCRIPTION])
Activate Subscription
Activate a cancelled or paused subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ACTIVATE_SUBSCRIPTION])
Pause Subscription
Temporarily pause an active subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PAUSE_SUBSCRIPTION])
Change Subscription Product
Change the product associated with an existing subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANGE_SUBSCRIPTION_PRODUCT])
Update Subscription Quantity
Modify the quantity of items in a subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_SUBSCRIPTION_QUANTITY])
Change Subscription Frequency
Alter the frequency of a subscription (e.g., monthly to quarterly)
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CHANGE_SUBSCRIPTION_FREQUENCY])
Add One Time Product
Add a one-time product to a customer's next order
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_ONETIME_PRODUCT])
Apply Discount
Apply a discount to a customer's subscription or one-time purchase
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.APPLY_DISCOUNT])
Update Payment Method
Update the payment method for a customer's subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_PAYMENT_METHOD])
Generate Invoice
Create and send an invoice for a customer's order
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_INVOICE])
Refund Order
Process a refund for a customer's order
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REFUND_ORDER])
Create Checkout
Generate a checkout URL for a new subscription or one-time purchase
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_CHECKOUT])
Update Shipping Address
Modify the shipping address for a customer's subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_SHIPPING_ADDRESS])
New Customer Created
Triggered when a new customer is created in Recharge
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NEW_CUSTOMER_CREATED])
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])
Subscription Activated
Triggered when a subscription is activated or reactivated
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_ACTIVATED])
Subscription Paused
Triggered when a subscription is paused
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_PAUSED])
Order Processed
Triggered when an order is successfully processed
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ORDER_PROCESSED])
Payment Failed
Triggered when a payment for an order or subscription fails
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PAYMENT_FAILED])
Upcoming Charge
Triggered before an upcoming charge for a subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPCOMING_CHARGE])
Shipping Address Updated
Triggered when a customer updates their shipping address
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SHIPPING_ADDRESS_UPDATED])
Product Swapped
Triggered when a product in a subscription is changed
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PRODUCT_SWAPPED])
Discount Applied
Triggered when a discount is applied to an order or subscription
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DISCOUNT_APPLIED])
Refund Processed
Triggered when a refund is successfully processed
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REFUND_PROCESSED])
Subscription Frequency Changed
Triggered when the frequency of a subscription is modified
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SUBSCRIPTION_FREQUENCY_CHANGED])
Customer Updated
Triggered when a customer's information is updated
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CUSTOMER_UPDATED])
Payment Method Updated
Triggered when a customer updates their payment method
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PAYMENT_METHOD_UPDATED])