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 Policies API

Store policies (return policy, privacy policy, terms of service)

Spree Commerce Policies 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 Policies. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

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

Requests are made against 3 base URLs: http://{defaultHost}, https://demo.spreecommerce.org, http://localhost:3000.

4 operations 4 paths 4 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 4

Spree Commerce Policies API declares 4 security schemes for authenticating requests. An API key is passed in the header as x-spree-api-key (api_key). It accepts HTTP bearer tokens (JWT) (bearer_auth). It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as X-Spree-Order-Token (orderToken).

  • api_key — Publishable API key for store access
  • bearer_auth — JWT token for authenticated customers
  • 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 — 4 GET. Each is listed below with its method, path, parameters, and response codes.

Policies 4

Store policies (return policy, privacy policy, terms of service)

GET
/api/v3/store/policies
List store policies
2 params → 200401
GET
/api/v3/store/policies/{id}
Get a policy
3 params → 200404
GET
/api/v2/storefront/policies
List all Store Policies
policies-list → 200
GET
/api/v2/storefront/policies/{policy_slug}
Retrieve a Policy
show-policy → 200404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Policy (5 properties), Policy_2 (3 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

Policy
object
5 properties 5 required
ErrorResponse
object
1 property 1 required
Policy_2
object
Policy represents terms and conditions, privacy policies, and other legal documents that can be displayed on the storefront.
3 properties 3 required
Timestamp
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

spree-commerce-policies-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 Policies 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.