Get One Inventory

The Get One Inventory API retrieves detailed information about a specific inventory item based on its unique identifier.

API Method

GET

Endpoint

https://cebuana-apiuat.veryfyglobal.com/inventories/{id}

Headers

Key
Value

Accept

application/json

Authorization

Bearer <YOUR_TOKEN>

URL Parameters

Parameter
Type
Required
Description

id

integer

Yes

The unique identifier of the inventory item. Inventory ID

Response Sample

{
    "message": "Ok",
    "data": {
        "id": 1,
        "user_id": 17,
        "user": {
            "name": "Darwin Quiban"
        },
        "branch": {
            "name": "CLH Makati Ave"
        },
        "currency_id": 1,
        "currency": {
            "id": 1,
            "order": 0,
            "name": "Philippines Peso",
            "code": "PHP",
            "image": null,
            "buy_rate": "1.00000",
            "sell_rate": "1.00000",
            "is_active": {
                "value": 1,
                "description": "Yes"
            },
            "is_sell_active": {
                "value": 0,
                "description": "No"
            },
            "updated_at": "2024-04-17T08:57:26.000000Z"
        },
        "type": {
            "value": 0,
            "description": "Buy"
        },
        "starting_balance": "0.00",
        "stock": "1000000.00",
        "for_date": "2024-04-29"
    }
}

Last updated