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

The Products API from Spree Commerce — 6 operation(s) for products.

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

This API exposes 12 operations across 6 paths, and defines 21 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.

12 operations 6 paths 21 schemas 2 DELETE6 GET2 PATCH2 POST

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 Products 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 — Secret API key for admin access
  • bearer_auth — JWT token for admin user authentication
  • 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 12

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

Products 12
GET
/api/v3/admin/products/{product_id}/custom_fields
List product custom fields
5 params → 200
POST
/api/v3/admin/products/{product_id}/custom_fields
Create a product custom field
3 params body → 201422
GET
/api/v3/admin/products/{product_id}/custom_fields/{id}
Show a product custom field
6 params → 200
PATCH
/api/v3/admin/products/{product_id}/custom_fields/{id}
Update a product custom field
4 params body → 200
DELETE
/api/v3/admin/products/{product_id}/custom_fields/{id}
Delete a product custom field
4 params → 204
GET
/api/v2/platform/products
Return a list of Products
products-list 4 params → 200401
POST
/api/v2/platform/products
Create a Product
create-product 1 param body → 201422
GET
/api/v2/platform/products/{id}
Return a Product
show-product 2 params → 200404401
PATCH
/api/v2/platform/products/{id}
Update a Product
update-product 2 params body → 200422404401
DELETE
/api/v2/platform/products/{id}
Delete a Product
delete-product 1 param → 204404401
GET
/api/v2/storefront/products
List all Products
products-list 20 params → 200
GET
/api/v2/storefront/products/{product_slug}
Retrieve a Product
show-product 5 params → 200404

Schemas 21

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

update_product_params
object
1 property 1 required
create_product_params
object
1 property 1 required
resource_properties
object
4 properties 3 required
resources_list
object
3 properties 3 required
validation_errors
object
2 properties 2 required
resource
object
1 property 1 required
error
object
1 property 1 required
Product
object
4 properties 4 required
ProductProperty
object
3 properties 3 required
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
CreditCardIncludes
Relation
objectnull
2 properties 2 required
PaymentMethod
object
3 properties 3 required
ProductIncludes
Timestamp
string
ListMeta
object
3 properties
ListLinks
object
5 properties
Image
object
3 properties 3 required
ImageStyle
object
3 properties
Taxon
object
4 properties 4 required
OptionType
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

spree-commerce-products-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 Products 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.