Skip to main content
GET
/
v1
/
public
/
inventories
/
{inventory_id}
Get Inventory
curl --request GET \
  --url https://api.sanka.com/v1/public/inventories/{inventory_id} \
  --header 'Authorization: Bearer <token>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "inventory_id": "<string>",
  "name": "<string>",
  "status": "<string>",
  "record_source": "<string>",
  "record_source_detail": "<string>",
  "inventory_status": "<string>",
  "currency": "<string>",
  "available": 123,
  "committed": 123,
  "unavailable": 123,
  "initial_value": 123,
  "total_inventory": 123,
  "inventory_value": 123,
  "unit_price": 123,
  "warehouse_id": "<string>",
  "item_ids": [
    "<string>"
  ],
  "date": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string | null

Path Parameters

inventory_id
string
required

Query Parameters

external_id
string | null

Response

OK

created_at
string<date-time>
required
updated_at
string<date-time>
required
id
string | null
inventory_id
name
string | null
status
string | null
record_source
string | null
record_source_detail
string | null
inventory_status
string | null
currency
string | null
available
integer | null
committed
integer | null
unavailable
integer | null
initial_value
integer | null
total_inventory
integer | null
inventory_value
number | null
unit_price
number | null
warehouse_id
string | null
item_ids
string[] | null
date
string<date-time> | null