API2Cart integration
API2Cart is one unified API over more than 80 eCommerce platforms and marketplaces (Shopify, WooCommerce, Magento, BigCommerce, PrestaShop, Amazon, eBay and more). For one connected store: list products and their variants, categories, customers, orders, shipments, returns, coupons, gift cards, product reviews and newsletter subscribers, count most of them and search products, categories and customers; create and delete products, variants, categories, customers, coupons and gift cards, and update the first four; add and update orders, shipments with tracking numbers, refunds and returns; read sales analytics; manage webhooks and run batch jobs. Store connection setup, credential management, connector bridge files, storefront scripts and live shipping rate services are left out. Every answer carries return_code (0 means success) and return_message, even on errors. Authentication is two headers: the account API key from the API2Cart dashboard (x-api-key) and the store key API2Cart issues when a store is connected to the account (x-store-key).
Say what should happen.
The workflow builds itself.
What you can do with API2Cart
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Account failed webhook, 1 operation
account_failed_webhooksAccount failed webhooksGETAgents: ask firstIf the callback of your service for some reason could not accept webhooks from API2Cart.
Account supported platform, 1 operation
account_supported_platformsAccount supported platformsGETAgents: ask firstUse this method to retrieve a list of supported platforms and the sets of parameters required for connecting to each of them.
Analytics customer report, 1 operation
analytics_customer_reportAnalytics customer reportGETAgents: ask firstGet customer-level analytics for a store over a given period.
Analytics product report, 1 operation
analytics_product_reportAnalytics product reportGETAgents: ask firstGet product-level analytics for a store over a given period.
Analytics report, 1 operation
analytics_reportAnalytics reportGETAgents: ask firstGet analytics report with totals and optional interval breakdown for a store over a given period.
Attribute add, 1 operation
attribute_addAttribute addPOSTAgents: ask firstCreates a product attribute in the store. Requires the attribute type and name; optional flags set its code, group, visibility, position and whether it is required, searchable, filterable or comparable. Returns the new attribute id.
Attribute assign group, 1 operation
attribute_assign_groupAttribute assign groupPOSTAgents: ask firstAssign attribute to the group
Attribute assign set, 1 operation
attribute_assign_setAttribute assign setPOSTAgents: ask firstAssign attribute to the attribute set
Attribute attributeset list, 1 operation
attribute_attributeset_listAttribute attributeset listGETAgents: ask firstLists the attribute sets defined in the store, with pagination. An attribute set id is what attribute_group_list, attribute_info and attribute_assign_set accept.
Attribute count, 1 operation
attribute_countAttribute countGETAgents: ask firstCounts the product attributes in the store, optionally filtered by type, attribute set, visibility, whether they are required, or system attributes.
Attribute delete, 1 operation
attribute_deleteAttribute deleteDELETEAgents: ask firstDelete attribute from store
Attribute group list, 1 operation
attribute_group_listAttribute group listGETAgents: ask firstLists attribute groups, optionally only those of one attribute set, with pagination. A group id is what attribute_assign_group and attribute_add accept.
Attribute info, 1 operation
attribute_infoAttribute infoGETAgents: ask firstGet information about a specific global attribute by its ID.
Attribute list, 1 operation
attribute_listAttribute listGETAgents: ask firstGet a list of global attributes.
Attribute type list, 1 operation
attribute_type_listAttribute type listGETAgents: ask firstGet list of supported attributes types
Attribute unassign group, 1 operation
attribute_unassign_groupAttribute unassign groupPOSTAgents: ask firstUnassign attribute from group
Attribute unassign set, 1 operation
attribute_unassign_setAttribute unassign setPOSTAgents: ask firstUnassign attribute from attribute set
Attribute update, 1 operation
attribute_updateAttribute updatePUTAgents: ask firstUpdates a product attribute identified by id: its name, visibility or position, for a given store and language.
Attribute value add, 1 operation
attribute_value_addAttribute value addPOSTAgents: ask firstAdd new value to attribute.
Attribute value delete, 1 operation
attribute_value_deleteAttribute value deleteDELETEAgents: ask firstDeletes one value of a product attribute, given the value id and the attribute id.
Attribute value update, 1 operation
attribute_value_updateAttribute value updatePUTAgents: ask firstUpdates one value of a product attribute (its name, description or code), given the value id and the attribute id.
Basket info, 1 operation
basket_infoBasket infoGETAgents: ask firstRetrieve basket information.
Basket item add, 1 operation
basket_item_addBasket item addPOSTAgents: ask firstAdds a product to a customer's basket in the store, optionally a specific variant and a quantity.
Batch job list, 1 operation
batch_job_listBatch job listGETAgents: ask firstLists recent batch jobs (started by product_add_batch, product_update_batch and the other batch tools) with their method, status and creation and processing times, filtered by ids or dates.
Batch job result, 1 operation
batch_job_resultBatch job resultGETAgents: ask firstReturns the outcome of one batch job: how many items it processed, how many succeeded, and the result of each item. Pass the job_id a batch tool returned.
Cart catalog price rules count, 1 operation
cart_catalog_price_rules_countCart catalog price rules countGETAgents: ask firstGet count of cart catalog price rules discounts.
Cart catalog price rules list, 1 operation
cart_catalog_price_rules_listCart catalog price rules listGETAgents: ask firstGet cart catalog price rules discounts.
Cart coupon add, 1 operation
cart_coupon_addCart coupon addPOSTAgents: ask firstUse this method to create a coupon with specified conditions.
Cart coupon condition add, 1 operation
cart_coupon_condition_addCart coupon condition addPOSTAgents: ask firstUse this method to add additional conditions for coupon application.
Cart coupon count, 1 operation
cart_coupon_countCart coupon countGETAgents: ask firstThis method allows you to get the number of coupons. On some platforms, you can filter the coupons by the date they were active.
Cart coupon delete, 1 operation
cart_coupon_deleteCart coupon deleteDELETEAgents: ask firstDeletes a coupon from the store by its id, as listed by cart_coupon_list.
Cart coupon list, 1 operation
cart_coupon_listCart coupon listGETAgents: ask firstGet cart coupon discounts.
Cart giftcard add, 1 operation
cart_giftcard_addCart giftcard addPOSTAgents: ask firstUse this method to create a gift card for a specified amount.
Cart giftcard count, 1 operation
cart_giftcard_countCart giftcard countGETAgents: ask firstReturns the number of gift cards in the store.
Cart giftcard delete, 1 operation
cart_giftcard_deleteCart giftcard deleteDELETEAgents: ask firstDeletes a gift card from the store by its id, as listed by cart_giftcard_list.
Cart giftcard list, 1 operation
cart_giftcard_listCart giftcard listGETAgents: ask firstLists the store's gift cards, optionally only the given ids, with offset or cursor pagination.
Cart info, 1 operation
cart_infoCart infoGETAgents: ask firstThis method allows you to get various information about the store, including a list of stores (in the case of a multistore configuration), a list of supported languages.
Cart meta data list, 1 operation
cart_meta_data_listCart meta data listGETAgents: ask firstUsing this method, you can get a list of metadata for various entities. Entities supported may differ across platforms.
Cart meta data set, 1 operation
cart_meta_data_setCart meta data setPOSTAgents: ask firstSet metadata for a specific entity. Entities supported may differ across platforms. To get the list of supported entities, pass an invalid value in the entity parameter.
Cart meta data unset, 1 operation
cart_meta_data_unsetCart meta data unsetDELETEAgents: ask firstUnset meta data for a specific entity
Cart method, 1 operation
cart_methodsCart methodsGETAgents: ask firstReturns a list of supported API methods.
Cart plugin list, 1 operation
cart_plugin_listCart plugin listGETAgents: ask firstGet a list of third-party plugins installed on the store.
Cart shipping zones list, 1 operation
cart_shipping_zones_listCart shipping zones listGETAgents: ask firstGet list of shipping zones
Cart validate, 1 operation
cart_validateCart validateGETAgents: ask firstThis method clears the cache in API2Cart for a particular store and checks whether the connection to the store is available.
Category add, 1 operation
category_addCategory addPOSTAgents: ask firstAdd new category in store
Category add batch, 1 operation
category_add_batchCategory add batchPOSTAgents: ask firstAdd new categories to the store.
Category assign, 1 operation
category_assignCategory assignPOSTAgents: ask firstAssign category to product
Category count, 1 operation
category_countCategory countGETAgents: ask firstCount categories in store.
Category delete, 1 operation
category_deleteCategory deleteDELETEAgents: ask firstDeletes a category from the store by its id, as returned by category_list.
Category delete batch, 1 operation
category_delete_batchCategory delete batchPOSTAgents: ask firstDelete categories from the store.
Category find, 1 operation
category_findCategory findGETAgents: ask firstSearch category in store. "Laptop" is specified here by default.
Category image add, 1 operation
category_image_addCategory image addPOSTAgents: ask firstAdds an image to a category from a public URL, as its base image or its thumbnail. Returns the stored image path.
Category image delete, 1 operation
category_image_deleteCategory image deleteDELETEAgents: ask firstRemoves one image from a category, given the category id and the image id.
Category info, 1 operation
category_infoCategory infoGETAgents: ask firstGet category info about category ID*** or specify other category ID.
Category list, 1 operation
category_listCategory listGETAgents: ask firstGet list of categories from store.
Category unassign, 1 operation
category_unassignCategory unassignPOSTAgents: ask firstUnassign category to product
Category update, 1 operation
category_updateCategory updatePUTAgents: ask firstUpdates a category identified by id: name, descriptions, parent, availability, sort order and SEO fields (meta title, description, keywords and URL).
Customer add, 1 operation
customer_addCustomer addPOSTAgents: ask firstCreates a customer in the store. Only email is required; name, password, group, phone, company, addresses, newsletter subscription and other profile fields are optional. Returns the new customer_id.
Customer address add, 1 operation
customer_address_addCustomer address addPOSTAgents: ask firstAdds an address to an existing customer. Requires the customer id, first address line, city, country and postcode. Returns the new address id.
Customer attribute list, 1 operation
customer_attribute_listCustomer attribute listGETAgents: ask firstGet attributes for specific customer
Customer count, 1 operation
customer_countCustomer countGETAgents: ask firstGet number of customers from store.
Customer delete, 1 operation
customer_deleteCustomer deleteDELETEAgents: ask firstDelete customer from store.
Customer find, 1 operation
customer_findCustomer findGETAgents: ask firstFinds customers by a value, matched against their email unless find_where names other fields. Can include guest customers.
Customer group add, 1 operation
customer_group_addCustomer group addPOSTAgents: ask firstCreates a customer group with the given name. Returns the new group id.
Customer group list, 1 operation
customer_group_listCustomer group listGETAgents: ask firstGet list of customers groups.
Customer info, 1 operation
customer_infoCustomer infoGETAgents: ask firstGet customers' details from store.
Customer list, 1 operation
customer_listCustomer listGETAgents: ask firstGet list of customers from store.
Customer update, 1 operation
customer_updateCustomer updatePUTAgents: ask firstUpdate information of customer in store.
Customer wishlist list, 1 operation
customer_wishlist_listCustomer wishlist listGETAgents: ask firstGet a Wish List of customer from the store.
Marketplace product find, 1 operation
marketplace_product_findMarketplace product findGETAgents: ask firstSearch product in global catalog.
Order abandoned list, 1 operation
order_abandoned_listOrder abandoned listGETAgents: ask firstGet list of orders that were left by customers before completing the order.
Order add, 1 operation
order_addOrder addPOSTAgents: ask firstAdd a new order to the cart.
Order calculate, 1 operation
order_calculateOrder calculatePOSTAgents: ask firstCalculates the total cost of an order for a given customer and a set of products, as well as the available shipping methods based on the specified address.
Order count, 1 operation
order_countOrder countGETAgents: ask firstCounts orders, filtered by ids, customer, status, financial or fulfillment status, shipping method, tags, vendor and creation or modification dates.
Order financial status list, 1 operation
order_financial_status_listOrder financial status listGETAgents: ask firstRetrieve list of financial statuses
Order fulfillment status list, 1 operation
order_fulfillment_status_listOrder fulfillment status listGETAgents: ask firstRetrieve list of fulfillment statuses
Order info, 1 operation
order_infoOrder infoGETAgents: ask firstInfo about a specific order by ID
Order list, 1 operation
order_listOrder listGETAgents: ask firstGet list of orders from store.
Order preestimate shipping list, 1 operation
order_preestimate_shipping_listOrder preestimate shipping listPOSTAgents: ask firstRetrieve list of order preestimated shipping methods
Order refund add, 1 operation
order_refund_addOrder refund addPOSTAgents: ask firstAdd a refund to the order.
Order return add, 1 operation
order_return_addOrder return addPOSTAgents: ask firstCreate new return request.
Order return delete, 1 operation
order_return_deleteOrder return deleteDELETEAgents: ask firstDeletes a return request, given the return id and the order id.
Order return update, 1 operation
order_return_updateOrder return updatePUTAgents: ask firstUpdate order's shipment information.
Order shipment add, 1 operation
order_shipment_addOrder shipment addPOSTAgents: ask firstAdd a shipment to the order.
Order shipment add batch, 1 operation
order_shipment_add_batchOrder shipment add batchPOSTAgents: ask firstAdd a shipments to the orders.
Order shipment delete, 1 operation
order_shipment_deleteOrder shipment deleteDELETEAgents: ask firstDeletes a shipment from an order, given the shipment id and the order id.
Order shipment event add, 1 operation
order_shipment_event_addOrder shipment event addPOSTAgents: ask firstAdd a tracking event to the shipment.
Order shipment event list, 1 operation
order_shipment_event_listOrder shipment event listGETAgents: ask firstGet list of shipment tracking events.
Order shipment info, 1 operation
order_shipment_infoOrder shipment infoGETAgents: ask firstGet information of shipment.
Order shipment list, 1 operation
order_shipment_listOrder shipment listGETAgents: ask firstGet list of shipments per order.
Order shipment tracking add, 1 operation
order_shipment_tracking_addOrder shipment tracking addPOSTAgents: ask firstAdd order shipment's tracking info.
Order shipment update, 1 operation
order_shipment_updateOrder shipment updatePUTAgents: ask firstUpdate order's shipment information.
Order status list, 1 operation
order_status_listOrder status listGETAgents: ask firstRetrieve list of statuses
Order transaction list, 1 operation
order_transaction_listOrder transaction listGETAgents: ask firstRetrieve list of order transaction
Order update, 1 operation
order_updateOrder updatePUTAgents: ask firstUpdates an existing order: its status, financial or fulfillment status, cancellation reason, payment method, comments, tags and dates. Can notify the customer and create an invoice.
Product add, 1 operation
product_addProduct addPOSTAgents: ask firstAdd new product to store.
Product add batch, 1 operation
product_add_batchProduct add batchPOSTAgents: ask firstAdd new products to the store.
Product attribute list, 1 operation
product_attribute_listProduct attribute listGETAgents: ask firstGet list of attributes and values.
Product attribute value set, 1 operation
product_attribute_value_setProduct attribute value setPOSTAgents: ask firstSet attribute value to product.
Product attribute value unset, 1 operation
product_attribute_value_unsetProduct attribute value unsetPOSTAgents: ask firstRemoves attribute value for a product.
Product brand list, 1 operation
product_brand_listProduct brand listGETAgents: ask firstGet list of brands from your store.
Product child item find, 1 operation
product_child_item_findProduct child item findGETAgents: ask firstSearch product child item (bundled item or configurable product variant) in store catalog.
Product child item info, 1 operation
product_child_item_infoProduct child item infoGETAgents: ask firstGet child for specific product.
Product child item list, 1 operation
product_child_item_listProduct child item listGETAgents: ask firstGet a list of a product's child items, such as variants or bundle components.
Product count, 1 operation
product_countProduct countGETAgents: ask firstCounts products, filtered by SKU, ids, categories, store, vendor, availability, stock, dates, brand, manufacturer, attributes, status, type or a search value.
Product currency add, 1 operation
product_currency_addProduct currency addPOSTAgents: ask firstAdd currency and/or set default in store
Product currency list, 1 operation
product_currency_listProduct currency listGETAgents: ask firstLists the currencies configured in the store, optionally only the default or the available ones, with pagination.
Product delete, 1 operation
product_deleteProduct deleteDELETEAgents: ask firstDeletes a product from the store by its id, as returned by product_list or product_find.
Product delete batch, 1 operation
product_delete_batchProduct delete batchPOSTAgents: ask firstRemove product from the store.
Product find, 1 operation
product_findProduct findGETAgents: ask firstSearch the store catalog for products whose fields named in find_where (name by default) match find_value, and return the matching products.
Product image add, 1 operation
product_image_addProduct image addPOSTAgents: ask firstAdds an image to a product or to one of its variants, from a URL or from base64 content, with an image name and type. Returns the image id and path.
Product image delete, 1 operation
product_image_deleteProduct image deleteDELETEAgents: ask firstRemoves one image from a product, given the product id and the image id.
Product image update, 1 operation
product_image_updateProduct image updatePUTAgents: ask firstUpdates an image of a product: its name, type, label, position, visibility and the variants it is attached to.
Product info, 1 operation
product_infoProduct infoGETAgents: ask firstGet information about a specific product by its ID. In the case of a multistore configuration, use the store_id filter to get a response in the context of a specific store.
Product list, 1 operation
product_listProduct listGETAgents: ask firstGet list of products from your store. Returns 10 products by default.
Product manufacturer add, 1 operation
product_manufacturer_addProduct manufacturer addPOSTAgents: ask firstAdd manufacturer to store and assign to product
Product option add, 1 operation
product_option_addProduct option addPOSTAgents: ask firstAdd product option from store.
Product option assign, 1 operation
product_option_assignProduct option assignPOSTAgents: ask firstAssign option from product.
Product option delete, 1 operation
product_option_deleteProduct option deleteDELETEAgents: ask firstRemoves an option from a product, given the option id and the product id.
Product option list, 1 operation
product_option_listProduct option listGETAgents: ask firstLists product options, optionally only those of one product, for a given store and language, with pagination.
Showing the first 120 of 158 endpoints. The rest are in the product, searchable from the workflow builder and from chat.
Use API2Cart from Claude Code, Cursor or Codex
Connect API2Cart in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its API2Cart operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect API2Cart
- Create your workspace
Sign up free. Nothing to install.
- Connect API2Cart once
Add your API2Cart connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
API2Cart integration FAQ
What can you do with the API2Cart integration?
LiveContext exposes 158 operations on API2Cart, covering account failed webhook, account supported platform, analytics customer report and analytics product report.
