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

Log sales, log refunds, and manage a user's locker of purchased content.

7digital Sales 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 Sales. 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 4 operations across 4 paths, and defines 6 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.

4 operations 4 paths 6 schemas 1 GET3 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 Sales 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 4

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

Sales 4

Log sales, log refunds, and manage a user's locker of purchased content.

GET
/users/{userId}/locker
7digital Get User Locker
getUserLocker 3 params → 200
POST
/sales/credit-item
7digital Credit Sales Item
creditSalesItem body → 200
POST
/sales/refund/release
7digital Report Release Refund
reportReleaseRefund body → 200
POST
/sales/refund/track
7digital Report Track Refund
reportTrackRefund body → 200

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Release (10 properties), Track (10 properties), Locker (6 properties), Artist (5 properties). Each schema is shown below with its type and property counts.

Locker
object
6 properties
RefundRequest
object
3 properties 2 required
CreditItemRequest
object
5 properties 3 required
Track
object
10 properties
Artist
object
5 properties
Release
object
10 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs 7digital publishes across the network.

7digital Artists API
7digital Basket 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