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

7digital Basket API

Manage purchase baskets, apply vouchers, and complete PayPal checkout.

7digital Basket API is one of 23 APIs that 7digital publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Basket. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a JSON-LD context, code examples, and 2 JSON Schemas.

This API exposes 8 operations across 8 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.2.

Requests are made against a single base URL, https://api.7digital.com/1.2.

8 operations 8 paths 4 schemas 6 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.2
Base URL
https://api.7digital.com/1.2
Authentication
API Key, API Key, API Key
Resource Areas
1

Authentication & Security 3

7digital Basket API declares 3 security schemes for authenticating requests. An API key is passed in the query as oauth_consumer_key (oauth1). An API key is passed in the query as oauth_consumer_key (oauth1_two_legged). An API key is passed in the query as oauth_consumer_key (oauth1_three_legged). By default, every request must be authenticated.

  • oauth1 — 7digital uses OAuth 1.0 signing. Every request MUST include oauthconsumerkey as either a query parameter or in the Authorization header. Sensitive operations r…
  • oauth1_two_legged — 2-legged OAuth 1.0 (partner-scoped — consumer key + secret only).
  • oauth1_three_legged — 3-legged OAuth 1.0 (consumer key + secret plus a user access token + secret).

Paths & Operations 8

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

Basket 8

Manage purchase baskets, apply vouchers, and complete PayPal checkout.

GET
/basket
7digital Get Basket
getBasket 1 param → 200
GET
/basket/create
7digital Create Basket
createBasket → 200
GET
/basket/addItem
7digital Add Basket Item
addBasketItem 3 params → 200
GET
/basket/removeItem
7digital Remove Basket Item
removeBasketItem 2 params → 200
POST
/basket/applyVoucher
7digital Apply Basket Voucher
applyBasketVoucher 1 param body → 200
GET
/basket/addpriceditem
7digital Add Priced Basket Item
addPricedBasketItem 3 params → 200
GET
/basket/paypalurl
7digital Get Basket PayPal Url
getBasketPayPalUrl 1 param → 200
POST
/basket/completepaypalpurchase
7digital Complete Basket PayPal Purchase
completeBasketPayPalPurchase 1 param body → 200

Schemas 4

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

BasketItem
object
4 properties
Purchase
object
5 properties
Price
object
A price quoted in the requested territory's currency.
3 properties
Basket
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

7digital-basket-api-openapi.yml Raw ↑

Other APIs 7digital publishes across the network.

7digital Artists API
7digital Catalogue API
7digital Content Delivery API
7digital Download Purchases API
7digital Editorial API
7digital Interactive Radio API
7digital IpLookup API
7digital Logging API
7digital Offline Devices API
7digital Payment API
7digital Playlists API
7digital Releases API