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 Line Items API

The Line Items API from Spree Commerce — 2 operation(s) for line items.

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

This API exposes 5 operations across 2 paths, and defines 7 schemas. It is described by OpenAPI 3.2.0, at version v2.

Requests are made against a single base URL, http://{defaultHost}.

5 operations 2 paths 7 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

Spree Commerce Line Items API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearer_auth).

Paths & Operations 5

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

Line Items 5
GET
/api/v2/platform/line_items
Return a list of Line Items
line-items-list 4 params → 200401
POST
/api/v2/platform/line_items
Create a Line Item
create-line-item 1 param body → 201422
GET
/api/v2/platform/line_items/{id}
Return a Line Item
show-line-item 2 params → 200404401
PATCH
/api/v2/platform/line_items/{id}
Update a Line Item
update-line-item 2 params body → 200422404401
DELETE
/api/v2/platform/line_items/{id}
Delete a Line Item
delete-line-item 1 param → 204404401

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are resource_properties (4 properties), resources_list (3 properties), validation_errors (2 properties), update_line_item_params (1 property). Each schema is shown below with its type and property counts.

resource_properties
object
4 properties 3 required
create_line_item_params
object
1 property 1 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
update_line_item_params
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

spree-commerce-line-items-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 Line Items 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.