Skip to main content
GET
/
api
/
v1
/
public
/
inventory-transactions
List Workspace Inventory Transactions
curl --request GET \
  --url https://api.sanka.com/api/v1/public/inventory-transactions \
  --header 'Authorization: Bearer <token>'
[
  {
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "transaction_id": "<string>",
    "inventory_id": "<string>",
    "inventory_uuid": "<string>",
    "inventory_type": "<string>",
    "transaction_type": "<string>",
    "status": "<string>",
    "amount": 123,
    "transaction_amount": 123,
    "use_unit_value": true,
    "price": 123,
    "total_price": 123,
    "average_price": 123,
    "transaction_date": "2023-11-07T05:31:56Z",
    "usage_status": "<string>"
  }
]

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
transaction_id
inventory_id
inventory_uuid
string | null
inventory_type
string | null
transaction_type
string | null
status
string | null
amount
integer | null
transaction_amount
integer | null
use_unit_value
boolean | null
price
number | null
total_price
number | null
average_price
number | null
transaction_date
string<date-time> | null
usage_status
string | null