How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LeafLink Inventory Query API

The inventory-query API from LeafLink — 10 operation(s) for inventory-query.

LeafLink Inventory Query API is one of 88 APIs that LeafLink publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include inventory-query. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, rate-limit docs, and authentication docs.

This API exposes 10 operations across 10 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 2022-10-31.

Requests are made against 2 base URLs: https://api.leaflink.com, https://staging-api.leaflink.com.

10 operations 10 paths 10 schemas 10 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2022-10-31
Base URL
https://api.leaflink.com
Authentication
HTTP Bearer, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

LeafLink Inventory Query API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). An API key is passed in the header as Authorization (tokenAuth). By default, every request must be authenticated.

  • bearerAuth — Authentication is done via access tokens (JWTs). See the [API authentication doc](/api/getting-started/authentication) for more information.
  • tokenAuth — Token-based authentication with required prefix "Token"

Paths & Operations 10

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

inventory-query 10
GET
/inventory/buyers/{buyer_id}/allocations
List allocations for a buyer
inventory_buyers_allocations_list 5 params → 200429
GET
/inventory/groups/{group_id}/allocations
List allocations for a group
inventory_groups_allocations_list 5 params → 200429
GET
/inventory/measurements/by-batch
List measurements by batch
inventory_measurements_by_batch_retrieve 3 params → 200429
GET
/inventory/measurements/by-facility
List measurements by facility
inventory_measurements_by_facility_retrieve 3 params → 200429
GET
/inventory/measurements/by-facility-and-batch
List measurements by facility and batch
inventory_measurements_by_facility_and_batch_retrieve 4 params → 200429
GET
/inventory/measurements/by-product
List measurements by product
inventory_measurements_by_product_retrieve 3 params → 200429
GET
/inventory/measurements/by-product-and-batch
List measurements by product and batch
inventory_measurements_by_product_and_batch_retrieve 4 params → 200429
GET
/inventory/measurements/by-product-and-facility
List measurements by product and facility
inventory_measurements_by_product_and_facility_retrieve 4 params → 200429
GET
/inventory/measurements/by-product-facility-and-batch
List measurements by product, facility, and batch
inventory_measurements_by_product_facility_and_batch_retrieve 5 params → 200429
GET
/inventory/orders/{order_id}/reservations
List reservations for an order
inventory_orders_reservations_list 5 params → 200429

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Reservation (8 properties), Allocation (7 properties), MeasurementData (6 properties), ProductFacilityBatchMeasurementResponse (5 properties). Each schema is shown below with its type and property counts.

FacilityMeasurementResponse
object
Response shape for GET .../measurements/by-facility.
3 properties 3 required
MeasurementData
object
Nested measurement quantities; field names match MeasurementData.
6 properties 6 required
FacilityBatchMeasurementResponse
object
Response shape for GET .../measurements/by-facility-and-batch.
4 properties 4 required
ProductFacilityMeasurementResponse
object
Response shape for GET .../measurements/by-product-and-facility.
4 properties 4 required
Reservation
object
Serializes a ReservationItem for the API response.
8 properties 8 required
Allocation
object
Serializes an AllocationItem for the API response.
7 properties 7 required
BatchMeasurementResponse
object
Response shape for GET .../measurements/by-batch.
3 properties 3 required
ProductBatchMeasurementResponse
object
Response shape for GET .../measurements/by-product-and-batch.
4 properties 4 required
ProductFacilityBatchMeasurementResponse
object
Response shape for GET .../measurements/by-product-facility-and-batch.
5 properties 5 required
ProductMeasurementResponse
object
Response shape for GET .../measurements/by-product.
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

leaflink-inventory-query-api-openapi.yml Raw ↑

Other APIs LeafLink publishes across the network.

LeafLink Active Entry API
LeafLink Activity Entries API
LeafLink Batch API
LeafLink Batch Documents API
LeafLink Batches API
LeafLink Brand API
LeafLink Brands API
LeafLink Buyer Orders API
LeafLink Buyer Product Image API
LeafLink Chats API
LeafLink Companies API
LeafLink Company API
Where this information came from

This is an independent, third-party profile of LeafLink Inventory Query API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.