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

Inventory Transaction Get List

POST : https://salework.net/api/open/stock/v2

Tạo phiếu nhập kho cho sản phẩm

Request Headers

client-id: 123456
token: 50000601c30atpedfgu3LVvik87Ixlsvle3mSoB7701ceb156fPunYZ43GBg

Request Body

{    
    "method": "getInventoryTransaction",
    "params": {
        "time_start": 1772323200000,
        "time_end": 1773532800000,
        "warehouse_id": "warehouse_id",
        "type_transaction": "type_transaction",
        "next_cursor": 0
    }
}

Response Body

{
    "success": true,
    "data": {
        "transaction": [],
        "next_cursor": 30,
    }
}

Parameters

Parameter
Type
Required
Note

warehouse_id

string

no

time_start

number

yes

Thời gian bắt đầu truy vấn, định dạng Unix Timestamp (milliseconds).

time_end

number

yes

Thời gian kết thúc truy vấn, định dạng Unix Timestamp (milliseconds).

type_transaction

string

no

Loại phiếu cần lọc. Nếu bỏ trống sẽ lấy tất cả loại giao dịch.

next_cursor

number

yes

Last updated