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.
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 webhooksGETIf the callback of your service for some reason could not accept webhooks from API2Cart.
Account supported platform, 1 operation
account_supported_platformsAccount supported platformsGETUse 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 reportGETGet customer-level analytics for a store over a given period.
Analytics product report, 1 operation
analytics_product_reportAnalytics product reportGETGet product-level analytics for a store over a given period.
Analytics report, 1 operation
analytics_reportAnalytics reportGETGet analytics report with totals and optional interval breakdown for a store over a given period.
Attribute add, 1 operation
attribute_addAttribute addPOSTCreates 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 groupPOSTAssign attribute to the group
Attribute assign set, 1 operation
attribute_assign_setAttribute assign setPOSTAssign attribute to the attribute set
Attribute attributeset list, 1 operation
attribute_attributeset_listAttribute attributeset listGETLists 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 countGETCounts 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 deleteDELETEDelete attribute from store
Attribute group list, 1 operation
attribute_group_listAttribute group listGETLists 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 infoGETGet information about a specific global attribute by its ID.
Attribute list, 1 operation
attribute_listAttribute listGETGet a list of global attributes.
Attribute type list, 1 operation
attribute_type_listAttribute type listGETGet list of supported attributes types
Attribute unassign group, 1 operation
attribute_unassign_groupAttribute unassign groupPOSTUnassign attribute from group
Attribute unassign set, 1 operation
attribute_unassign_setAttribute unassign setPOSTUnassign attribute from attribute set
Attribute update, 1 operation
attribute_updateAttribute updatePUTUpdates 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 addPOSTAdd new value to attribute.
Attribute value delete, 1 operation
attribute_value_deleteAttribute value deleteDELETEDeletes one value of a product attribute, given the value id and the attribute id.
Attribute value update, 1 operation
attribute_value_updateAttribute value updatePUTUpdates 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 infoGETRetrieve basket information.
Basket item add, 1 operation
basket_item_addBasket item addPOSTAdds 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 listGETLists 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 resultGETReturns 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 countGETGet count of cart catalog price rules discounts.
Cart catalog price rules list, 1 operation
cart_catalog_price_rules_listCart catalog price rules listGETGet cart catalog price rules discounts.
Cart coupon add, 1 operation
cart_coupon_addCart coupon addPOSTUse this method to create a coupon with specified conditions.
Cart coupon condition add, 1 operation
cart_coupon_condition_addCart coupon condition addPOSTUse this method to add additional conditions for coupon application.
Cart coupon count, 1 operation
cart_coupon_countCart coupon countGETThis 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 deleteDELETEDeletes a coupon from the store by its id, as listed by cart_coupon_list.
Cart coupon list, 1 operation
cart_coupon_listCart coupon listGETGet cart coupon discounts.
Cart giftcard add, 1 operation
cart_giftcard_addCart giftcard addPOSTUse this method to create a gift card for a specified amount.
Cart giftcard count, 1 operation
cart_giftcard_countCart giftcard countGETReturns the number of gift cards in the store.
Cart giftcard delete, 1 operation
cart_giftcard_deleteCart giftcard deleteDELETEDeletes a gift card from the store by its id, as listed by cart_giftcard_list.
Cart giftcard list, 1 operation
cart_giftcard_listCart giftcard listGETLists the store's gift cards, optionally only the given ids, with offset or cursor pagination.
Cart info, 1 operation
cart_infoCart infoGETThis 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 listGETUsing 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 setPOSTSet 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 unsetDELETEUnset meta data for a specific entity
Cart method, 1 operation
cart_methodsCart methodsGETReturns a list of supported API methods.
Cart plugin list, 1 operation
cart_plugin_listCart plugin listGETGet a list of third-party plugins installed on the store.
Cart shipping zones list, 1 operation
cart_shipping_zones_listCart shipping zones listGETGet list of shipping zones
Cart validate, 1 operation
cart_validateCart validateGETThis 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 addPOSTAdd new category in store
Category add batch, 1 operation
category_add_batchCategory add batchPOSTAdd new categories to the store.
Category assign, 1 operation
category_assignCategory assignPOSTAssign category to product
Category count, 1 operation
category_countCategory countGETCount categories in store.
Category delete, 1 operation
category_deleteCategory deleteDELETEDeletes a category from the store by its id, as returned by category_list.
Category delete batch, 1 operation
category_delete_batchCategory delete batchPOSTDelete categories from the store.
Category find, 1 operation
category_findCategory findGETSearch category in store. "Laptop" is specified here by default.
Category image add, 1 operation
category_image_addCategory image addPOSTAdds 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 deleteDELETERemoves one image from a category, given the category id and the image id.
Category info, 1 operation
category_infoCategory infoGETGet category info about category ID*** or specify other category ID.
Category list, 1 operation
category_listCategory listGETGet list of categories from store.
Category unassign, 1 operation
category_unassignCategory unassignPOSTUnassign category to product
Category update, 1 operation
category_updateCategory updatePUTUpdates 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 addPOSTCreates 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 addPOSTAdds 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 listGETGet attributes for specific customer
Customer count, 1 operation
customer_countCustomer countGETGet number of customers from store.
Customer delete, 1 operation
customer_deleteCustomer deleteDELETEDelete customer from store.
Customer find, 1 operation
customer_findCustomer findGETFinds 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 addPOSTCreates a customer group with the given name. Returns the new group id.
Customer group list, 1 operation
customer_group_listCustomer group listGETGet list of customers groups.
Customer info, 1 operation
customer_infoCustomer infoGETGet customers' details from store.
Customer list, 1 operation
customer_listCustomer listGETGet list of customers from store.
Customer update, 1 operation
customer_updateCustomer updatePUTUpdate information of customer in store.
Customer wishlist list, 1 operation
customer_wishlist_listCustomer wishlist listGETGet a Wish List of customer from the store.
Marketplace product find, 1 operation
marketplace_product_findMarketplace product findGETSearch product in global catalog.
Order abandoned list, 1 operation
order_abandoned_listOrder abandoned listGETGet list of orders that were left by customers before completing the order.
Order add, 1 operation
order_addOrder addPOSTAdd a new order to the cart.
Order calculate, 1 operation
order_calculateOrder calculatePOSTCalculates 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 countGETCounts 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 listGETRetrieve list of financial statuses
Order fulfillment status list, 1 operation
order_fulfillment_status_listOrder fulfillment status listGETRetrieve list of fulfillment statuses
Order info, 1 operation
order_infoOrder infoGETInfo about a specific order by ID
Order list, 1 operation
order_listOrder listGETGet list of orders from store.
Order preestimate shipping list, 1 operation
order_preestimate_shipping_listOrder preestimate shipping listPOSTRetrieve list of order preestimated shipping methods
Order refund add, 1 operation
order_refund_addOrder refund addPOSTAdd a refund to the order.
Order return add, 1 operation
order_return_addOrder return addPOSTCreate new return request.
Order return delete, 1 operation
order_return_deleteOrder return deleteDELETEDeletes a return request, given the return id and the order id.
Order return update, 1 operation
order_return_updateOrder return updatePUTUpdate order's shipment information.
Order shipment add, 1 operation
order_shipment_addOrder shipment addPOSTAdd a shipment to the order.
Order shipment add batch, 1 operation
order_shipment_add_batchOrder shipment add batchPOSTAdd a shipments to the orders.
Order shipment delete, 1 operation
order_shipment_deleteOrder shipment deleteDELETEDeletes 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 addPOSTAdd a tracking event to the shipment.
Order shipment event list, 1 operation
order_shipment_event_listOrder shipment event listGETGet list of shipment tracking events.
Order shipment info, 1 operation
order_shipment_infoOrder shipment infoGETGet information of shipment.
Order shipment list, 1 operation
order_shipment_listOrder shipment listGETGet list of shipments per order.
Order shipment tracking add, 1 operation
order_shipment_tracking_addOrder shipment tracking addPOSTAdd order shipment's tracking info.
Order shipment update, 1 operation
order_shipment_updateOrder shipment updatePUTUpdate order's shipment information.
Order status list, 1 operation
order_status_listOrder status listGETRetrieve list of statuses
Order transaction list, 1 operation
order_transaction_listOrder transaction listGETRetrieve list of order transaction
Order update, 1 operation
order_updateOrder updatePUTUpdates 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 addPOSTAdd new product to store.
Product add batch, 1 operation
product_add_batchProduct add batchPOSTAdd new products to the store.
Product attribute list, 1 operation
product_attribute_listProduct attribute listGETGet list of attributes and values.
Product attribute value set, 1 operation
product_attribute_value_setProduct attribute value setPOSTSet attribute value to product.
Product attribute value unset, 1 operation
product_attribute_value_unsetProduct attribute value unsetPOSTRemoves attribute value for a product.
Product brand list, 1 operation
product_brand_listProduct brand listGETGet list of brands from your store.
Product child item find, 1 operation
product_child_item_findProduct child item findGETSearch product child item (bundled item or configurable product variant) in store catalog.
Product child item info, 1 operation
product_child_item_infoProduct child item infoGETGet child for specific product.
Product child item list, 1 operation
product_child_item_listProduct child item listGETGet a list of a product's child items, such as variants or bundle components.
Product count, 1 operation
product_countProduct countGETCounts 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 addPOSTAdd currency and/or set default in store
Product currency list, 1 operation
product_currency_listProduct currency listGETLists the currencies configured in the store, optionally only the default or the available ones, with pagination.
Product delete, 1 operation
product_deleteProduct deleteDELETEDeletes 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 batchPOSTRemove product from the store.
Product find, 1 operation
product_findProduct findGETSearch 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 addPOSTAdds 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 deleteDELETERemoves one image from a product, given the product id and the image id.
Product image update, 1 operation
product_image_updateProduct image updatePUTUpdates an image of a product: its name, type, label, position, visibility and the variants it is attached to.
Product info, 1 operation
product_infoProduct infoGETGet 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 listGETGet list of products from your store. Returns 10 products by default.
Product manufacturer add, 1 operation
product_manufacturer_addProduct manufacturer addPOSTAdd manufacturer to store and assign to product
Product option add, 1 operation
product_option_addProduct option addPOSTAdd product option from store.
Product option assign, 1 operation
product_option_assignProduct option assignPOSTAssign option from product.
Product option delete, 1 operation
product_option_deleteProduct option deleteDELETERemoves an option from a product, given the option id and the product id.
Product option list, 1 operation
product_option_listProduct option listGETLists 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.
