For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve a product stock

Returns a single product-stock record by its identifier.

get
/product_stock/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the product-stock record.

Responses
200

The requested product-stock record.

application/json

A product-stock record — the primary on-hand quantity of a single product.

pkintegerRead-onlyOptional

The unique identifier of the record.

productintegerOptional

The identifier of the product this stock belongs to. One record per product.

stockintegerOptional

The sellable quantity. A non-negative integer.

unit_typestring · enumOptional

The unit of measure of a stock quantity.

Possible values:
extra_fieldobjectOptional

Free-form JSON for extra data.

sold_quantity_unreportedintegerOptional

The quantity sold locally but not yet reflected in the externally reported stock.

modified_datestring · date-timeRead-onlyOptional

ISO 8601 timestamp of the last modification.

get/product_stock/{id}/
GET /api/v1/remote/1/product_stock/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 512,
  "product": 3391,
  "stock": 24,
  "unit_type": "qty",
  "extra_field": {},
  "sold_quantity_unreported": 0,
  "modified_date": "2026-08-21T10:15:30Z"
}

Last updated

Was this helpful?