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

Huuray Stock API

The Stock API from Huuray — 1 operation(s) for stock.

Huuray Stock API is one of 9 APIs that Huuray publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

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

Requests are made against the base URL https://api.huuray.com.

1 operations 1 paths 3 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
v4
Base URL
https://api.huuray.com
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

Huuray Stock API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-TOKEN (ApiToken).

  • ApiToken — The API-Token provided to you by Huuray.

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.

Stock 1
POST
/v4/Stock
Used to check the current stock of a product
2 params body → 200400401403404422500

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are StockResponse (4 properties), Response (3 properties), StockRequest (2 properties). Each schema is shown below with its type and property counts.

Response
object
The minimal possible response for any request
3 properties
StockResponse
object
The response containing stock information for a product
4 properties
StockRequest
object
An object containing the required input for the stock API
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

huuray-stock-api-openapi.yml Raw ↑

Other APIs Huuray publishes across the network.

Huuray Balance API
Huuray Cancel API
Huuray Catalogue API
Huuray ExchangeRates API
Huuray Order API
Huuray Resend API
Huuray Search API
Huuray Template API