Open documentation ↗Overview
API2Cart API Documentation. Develop the best shopping platform and marketplace integrations easily using API2Cart unified API.
Swagger API2Cart is a shopping API from api2cart.com. Requests are authenticated with an API key. It is served over plain HTTP. Its OpenAPI description documents 146 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- No
- CORS
- Unknown
- Category
- Shopping
- Base URL
https://api.api2cart.com/v1.1- Version
- 1.1
- Endpoints
- 146
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.api2cart.com/v1.1/account.cart.list.json" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.api2cart.com/v1.1/account.cart.list.json", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.api2cart.com/v1.1/account.cart.list.json",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /account.cart.add.json | Add store to the account |
| GET | /account.cart.list.json | Get list of carts. |
| PUT | /account.config.update.json | Update configs in the API2Cart database. |
| GET | /account.failed_webhooks.json | List webhooks that was not delivered to the callback. |
| GET | /account.supported_platforms.json | Get list of supported platforms |
| POST | /attribute.add.json | Add new attribute |
| POST | /attribute.assign.group.json | Assign attribute to the group |
| POST | /attribute.assign.set.json | Assign attribute to the attribute set |
| GET | /attribute.attributeset.list.json | Get attribute_set list |
| GET | /attribute.count.json | Get attributes count |
| DELETE | /attribute.delete.json | Delete attribute from store |
| GET | /attribute.group.list.json | Get attribute group list |
| GET | /attribute.info.json | Get attribute info |
| GET | /attribute.list.json | Get attributes list |
| GET | /attribute.type.list.json | Get list of supported attributes types |
| POST | /attribute.unassign.group.json | Unassign attribute from group |
| POST | /attribute.unassign.set.json | Unassign attribute from attribute set |
| POST | /attribute.update.json | Update attribute data |
| GET | /basket.info.json | Retrieve basket information. |
| POST | /basket.item.add.json | Add item to basket |
| POST | /basket.live_shipping_service.create.json | Create live shipping rate service. (Beta) |
| DELETE | /basket.live_shipping_service.delete.json | Delete live shipping rate service. (Beta) |
| GET | /basket.live_shipping_service.list.json | Retrieve a list of live shipping rate services. (Beta) |
| POST | /bridge.delete.json | Delete bridge from the store. |
| GET | /bridge.download.file | Download bridge for store |
| POST | /bridge.update.json | Update bridge in the store. |
| GET | /cart.bridge.json | Get bridge key and store key |
| GET | /cart.catalog_price_rules.count.json | Get count of cart catalog price rules discounts. |
| GET | /cart.catalog_price_rules.list.json | Get cart catalog price rules discounts. |
| POST | /cart.clear_cache.json | Clear cache on store. |
| GET | /cart.config.json | Get list of cart configs |
| PUT | /cart.config.update.jsondeprecated | Use this API method to update custom data in client database. |
| POST | /cart.coupon.add.json | Create new coupon |
| POST | /cart.coupon.condition.add.json | Create new coupon condition |
| GET | /cart.coupon.count.json | Get cart coupons count. |
| DELETE | /cart.coupon.delete.json | Delete coupon |
| GET | /cart.coupon.list.json | Get cart coupon discounts. |
| POST | /cart.create.jsondeprecated | Add store to the account |
| DELETE | /cart.delete.json | Remove store from API2Cart |
| GET | /cart.disconnect.jsondeprecated | Disconnect with the store and clear store session data. |
| POST | /cart.giftcard.add.json | Create new gift card |
| GET | /cart.giftcard.count.json | Get gift cards count. |
| GET | /cart.giftcard.list.json | Get gift cards list. |
| GET | /cart.info.json | Get cart information |
| GET | /cart.list.jsondeprecated | Get list of supported carts |
| GET | /cart.meta_data.list.json | Get entity meta data |
| POST | /cart.meta_data.set.json | Set meta data for a specific entity |
| DELETE | /cart.meta_data.unset.json | Unset meta data for a specific entity |
| GET | /cart.methods.json | Get list of cart methods |
| GET | /cart.plugin.list.json | Get list of installed plugins |
| POST | /cart.script.add.json | Add new script to the storefront |
| DELETE | /cart.script.delete.json | Remove script from the storefront |
| GET | /cart.script.list.json | Get scripts installed to the storefront |
| GET | /cart.shipping_zones.list.json | Get list of shipping zones |
| GET | /cart.validate.json | Check store availability, bridge connection for the downloadable carts, identify DB prefix, validate API accesses for API carts. |
| POST | /category.add.json | Add new category in store |
| POST | /category.assign.json | Assign category to product |
| GET | /category.count.json | Count categories in store. |
| DELETE | /category.delete.json | Delete category in store |
| GET | /category.find.json | Search category in store. "Laptop" is specified here by default. |
| POST | /category.image.add.json | Add image to category |
| DELETE | /category.image.delete.json | Delete image |
| GET | /category.info.json | Get category info about category ID*** or specify other category ID. |
| GET | /category.list.json | Get list of categories from store. |
| POST | /category.unassign.json | Unassign category to product |
| PUT | /category.update.json | Update category in store |
| POST | /customer.add.json | Add customer into store. |
| GET | /customer.attribute.list.json | Get attributes for specific customer |
| GET | /customer.count.json | Get number of customers from store. |
| GET | /customer.find.json | Find customers in store. |
| POST | /customer.group.add.json | Create customer group. |
| GET | /customer.group.list.json | Get list of customers groups. |
| GET | /customer.info.json | Get customers' details from store. |
| GET | /customer.list.json | Get list of customers from store. |
| PUT | /customer.update.json | Update information of customer in store. |
| GET | /order.abandoned.list.json | Get list of orders that were left by customers before completing the order. |
| POST | /order.add.json | Add a new order to the cart. |
| GET | /order.count.json | Count orders in store |
| GET | /order.financial_status.list.json | Retrieve list of financial statuses |
| GET | /order.find.jsondeprecated | This method is deprecated and won't be supported in the future. Please use "order.list" instead. |
| GET | /order.fulfillment_status.list.json | Retrieve list of fulfillment statuses |
| GET | /order.info.json | Info about a specific order by ID |
| GET | /order.list.json | Get list of orders from store. |
| POST | /order.preestimate_shipping.list.json | Retrieve list of order preestimated shipping methods |
| POST | /order.refund.add.json | Add a refund to the order. |
| POST | /order.shipment.add.json | Add a shipment to the order. |
| DELETE | /order.shipment.delete.json | Delete order's shipment. |
| GET | /order.shipment.info.json | Get information of shipment. |
| GET | /order.shipment.list.json | Get list of shipments by orders. |
| POST | /order.shipment.tracking.add.json | Add order shipment's tracking info. |
| PUT | /order.shipment.update.json | Update order's shipment information. |
| GET | /order.status.list.json | Retrieve list of statuses |
| GET | /order.transaction.list.json | Retrieve list of order transaction |
| PUT | /order.update.json | Update existing order. |
| POST | /product.add.json | Add new product to store. |
| GET | /product.attribute.list.json | Get list of attributes and values. |
| POST | /product.attribute.value.set.json | Set attribute value to product. |
| POST | /product.attribute.value.unset.json | Removes attribute value for a product. |
| GET | /product.brand.list.json | Get list of brands from your store. |
| GET | /product.child_item.find.json | Search product child item (bundled item or configurable product variant) in store catalog. |
Showing the first 100 of 146 endpoints; the full list is in the documentation.
Questions
Does the Swagger API2Cart API need an API key?
Yes. The Swagger API2Cart API uses API key authentication; the documentation explains how to get credentials.
Does the Swagger API2Cart API support HTTPS?
The Swagger API2Cart API is listed as HTTP only, so avoid sending secrets to it.
How many endpoints does the Swagger API2Cart API have?
Its OpenAPI description lists 146 endpoints in version 1.1. The first 100 are shown on this page.
What are alternatives to the Swagger API2Cart API?
Other Shopping APIs include Etsy, eBay, Flipkart Marketplace, Inventory Management, Intel Product Catalogue Service.
Similar shopping APIs
Compare alternatives →Etsy
ShoppingManage shop and interact with listings
eBay
ShoppingSell and Buy on eBay
Flipkart Marketplace
ShoppingProduct listing management, Order Fulfilment in the Flipkart Marketplace
Inventory Management
ShoppingMaintaining up-to-date inventory for your items on Walmart.com ensures a great experience for your customers and greater sales opportunities for you.
Intel Product Catalogue Service
ShoppingThis is the documentation for PIM Micro services. In order to use this tool you need to have Basic Auth credentials and a client id. If you dont have one, please make sure to request one by sending an email to the PIM MS team: [[email protected]](mailto:[email protected]?subject=PIMServices)
Item API
ShoppingPlease make sure you use the correct version of the APIs for your use case. To find out the appropriate version, go to the API Docs drop down on the menu.
Listed from APIs.guru (CC0).