Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Wix Cart API

The Cart API from Wix — 3 operation(s) for cart.

Wix Cart API is one of 9 APIs that Wix publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Cart. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 4 operations across 3 paths. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://www.wixapis.com.

4 operations 3 paths 0 schemas 1 DELETE1 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Server
https://www.wixapis.com
Authentication
OAuth 2.0, API Key
Contact
Resource Areas
1

Authentication & Security 2

Wix Cart API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow. An API key is passed in the header as Authorization (apiKey). By default, every request must be authenticated.

  • oauth2 — OAuth 2.0 for Wix third-party apps
  • apiKey — API key authentication (Wix-account-only; not for third-party apps)

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 1 DELETE, 1 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Cart 4
POST
/ecom/v1/carts
Create cart
createCart → 201
GET
/ecom/v1/carts/{id}
Get cart
getCart 1 param → 200
DELETE
/ecom/v1/carts/{id}
Delete cart
deleteCart 1 param → 204
POST
/ecom/v1/carts/{id}/update
Update cart
updateCart 1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wix-cart-api-openapi.yml Raw ↑

Other APIs Wix publishes across the network.

Wix REST API
Wix JavaScript SDK
Wix Headless
Wix Webhooks
Wix Checkout API
Wix OAuth API
Wix Orders API
Wix Products API