How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Swell Cart API

Session-scoped shopping cart for the current visitor.

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

This API exposes 11 JSON Schema definitions.

Tagged areas include Cart. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, and 11 JSON Schemas.

This API exposes 8 operations across 6 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0, at version 2025-01.

Requests are made against a single base URL, https://{storeId}.swell.store.

8 operations 6 paths 2 schemas 1 DELETE2 GET1 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2025-01
Base URL
https://api.swell.store
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Swell Cart API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (SwellPublicKey). By default, every request must be authenticated.

  • SwellPublicKey — Public storefront key, prefixed with pk. Pass as Authorization: pk....

Paths & Operations 8

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

Cart 8

Session-scoped shopping cart for the current visitor.

GET
/api/cart
Retrieve Current Cart
frontendGetCart → 200
PUT
/api/cart
Update Current Cart
frontendUpdateCart body → 200
POST
/api/cart/items
Add Item To Cart
frontendAddCartItem body → 200
PUT
/api/cart/items/{itemId}
Update Cart Item
frontendUpdateCartItem 1 param body → 200
DELETE
/api/cart/items/{itemId}
Remove Cart Item
frontendRemoveCartItem 1 param → 200
PUT
/api/cart/apply-coupon
Apply Coupon To Cart
frontendApplyCoupon body → 200
PUT
/api/cart/apply-giftcard
Apply Gift Card To Cart
frontendApplyGiftcard body → 200
GET
/api/cart/recover/{token}
Recover Cart
frontendRecoverCart 1 param → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed is Cart (13 properties). Each schema is shown below with its type and property counts.

Money
number
Cart
object
13 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

swell-io-cart-api-openapi.yml Raw ↑

Other APIs Swell publishes across the network.

Swell GraphQL API
Swell Webhooks
Swell Apps Platform
Swell Account Addresses API
Swell Account API
Swell Account Cards API
Swell Account Credits API
Swell Account Session API
Swell Accounts API
Swell Attributes API
Swell Carts API
Swell Categories API
Where this information came from

This is an independent, third-party profile of Swell Cart API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.