Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Terminal Cart API

The Cart API from Terminal — 5 operation(s) for cart.

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

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

This API exposes 6 operations across 5 paths, and defines 9 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against 2 base URLs: https://api.terminal.shop, https://api.dev.terminal.shop.

6 operations 5 paths 9 schemas 1 DELETE1 GET1 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://api.terminal.shop
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Terminal Cart API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Personal access token (trmlive in production, trmtest in the dev sandbox) or OAuth 2.0 access token, passed as Authorization: Bearer .

Paths & Operations 6

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

Cart 6
GET
/cart
Get cart
getCart → 200
DELETE
/cart
Clear cart
clearCart → 200
PUT
/cart/item
Add or update cart item
setCartItem body → 200
PUT
/cart/address
Set cart shipping address
setCartAddress body → 200
PUT
/cart/card
Set cart payment card
setCartCard body → 200
POST
/cart/convert
Convert cart to order
convertCart → 200

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are OrderShipping (8 properties), Order (7 properties), Cart (6 properties), OrderTracking (6 properties). Each schema is shown below with its type and property counts.

OrderAmount
object
2 properties 2 required
Order
object
7 properties 6 required
OrderItem
object
5 properties 3 required
OrderShipping
object
8 properties 5 required
OrderTracking
object
6 properties
Cart
object
6 properties 3 required
CartItem
object
4 properties 4 required
CartAmount
object
3 properties 1 required
CartShipping
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

terminal-shop-cart-api-openapi.yml Raw ↑

Other APIs Terminal publishes across the network.

Terminal Address API
Terminal App API
Terminal Card API
Terminal Email API
Terminal Order API
Terminal Product API
Terminal Profile API
Terminal Subscription API
Terminal Token API
Terminal View API