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

Thanx Baskets API

Create and update ordering baskets and redeem rewards or points products.

Thanx Baskets API is one of 14 APIs that Thanx publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 50 JSON Schema definitions.

Tagged areas include Baskets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, best-practice docs, a JSON-LD context, and 50 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version v4.0.

Requests are made against 4 base URLs: https://api.thanx.com, https://api.thanxsandbox.com, https://secure.api.thanx.com, https://secure.api.thanxsandbox.com.

1 operations 1 paths 5 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v4.0
Base URL
https://api.thanx.com
Authentication
HTTP Bearer, API Key
Contact
License
Proprietary
Resource Areas
1

Authentication & Security 2

Thanx Baskets API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as X-ClientId (clientId). By default, every request must be authenticated.

  • bearerAuth — End-user access token acquired through Thanx SSO.
  • clientId — Client-specific identifier provided by Thanx.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Baskets 1

Create and update ordering baskets and redeem rewards or points products.

POST
/api/baskets
Create And Update Basket
createUpdateBasket body → 201401

Schemas 5

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

BasketItem
object
5 properties
BasketInput
object
9 properties 5 required
Payment
object
4 properties
Error
object
2 properties
Basket
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thanx-baskets-api-openapi.yml Raw ↑

Other APIs Thanx publishes across the network.

Thanx Account API
Thanx Auth API
Thanx Campaigns API
Thanx Cards API
Thanx Gift Cards API
Thanx Issuance Jobs API
Thanx Locations API
Thanx Metadata API
Thanx Points API
Thanx Purchases API
Thanx Rewards API
Thanx Subscribers API