Skip to main content
GET
/
api
/
v1
/
public
/
inventories
List Workspace Inventories
curl --request GET \
  --url https://api.sanka.com/api/v1/public/inventories \
  --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>",
    "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

Query Parameters

workspace_id
string | null
lang
string | null
language
string | null

Response

200 - application/json

OK

created_at
string<date-time>
required
updated_at
string<date-time>
required
id
string | null
inventory_id
name
string | null
status
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