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

Spree Commerce Cart / Other API

The Cart / Other API from Spree Commerce — 4 operation(s) for cart / other.

Spree Commerce Cart / Other API is one of 183 APIs that Spree Commerce publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Cart / Other. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 4 paths, and defines 14 schemas. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against 2 base URLs: https://demo.spreecommerce.org, http://localhost:3000.

4 operations 4 paths 14 schemas 1 GET3 PATCH

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://demo.spreecommerce.org
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

Spree Commerce Cart / Other API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as X-Spree-Order-Token (orderToken).

  • bearerAuth — User token to authorize Cart and Checkout requests. It is required to associate Cart with the User.
  • orderToken — Order token to authorize Cart and Checkout requests. [How to obtain X-Spree-Order-Token](../authenticationfor-guest-users)

Paths & Operations 4

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

Cart / Other 4
PATCH
/api/v2/storefront/cart/empty
Empty the Cart
empty-cart 2 params → 200404
GET
/api/v2/storefront/cart/estimate_shipping_rates
List Estimated Shipping Rates
estimate-shipping-rates 2 params → 200404
PATCH
/api/v2/storefront/cart/associate
Associate a Cart with a User
associate-cart 3 params → 200403422
PATCH
/api/v2/storefront/cart/change_currency
Change Cart Currency
change-currency 3 params → 200403422

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are Variant (4 properties), Product (4 properties), Shipment (4 properties), Payment (4 properties). Each schema is shown below with its type and property counts.

Error
object
1 property
Payment
object
4 properties 4 required
Shipment
object
4 properties 4 required
Product
object
4 properties 4 required
CartIncludes
Variant
object
Variant records track the individual variants of a Product. Variants are of two types: master variants and normal variants.
4 properties 4 required
Relation
objectnull
2 properties 2 required
User
object
4 properties 4 required
DigitalLink
object
Digital links are accessible in the order includes lineitems.digitallinks
4 properties
Timestamp
string
Promotion
object
3 properties 3 required
ShippingRate
object
4 properties 4 required
LineItem
object
4 properties 4 required
Cart
object
The Cart provides a central place to collect information about an order, including line items, adjustments, payments, addresses, and shipments. [Read more in S…
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

spree-commerce-cart-other-api-openapi.yml Raw ↑

Other APIs Spree Commerce publishes across the network.

Spree Webhooks
@spree/sdk (TypeScript Store API SDK)
@spree/admin-sdk (TypeScript Admin API SDK)
@spree/cli
create-spree-app
Spree Next.js Storefront
Spree Rails Storefront
spree-starter (Application Template)
spree-multi-store
Spree Stripe Integration
Spree Adyen Integration
Spree PayPal Checkout Integration
Where this information came from

This is an independent, third-party profile of Spree Commerce Cart / Other 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.