Chuyển tới nội dung chính

Phiếu chuyển kho

Domain InventorySheetTransferchỉ đọc (GET).


1. Danh sách phiếu chuyển

1.1. Thông tin API

  • Endpoint: /api/v6/inventory_sheet_transfers
  • Method: GET
  • Authentication: X-API-KEY

1.2. Filtering

(Public service: handleInventorySheetTransferConditions.)

TrườngHỗ trợKiểuMô tả
ideqintegerID phiếu
sheet_codeeqstringMã phiếu
sheet_statuseqintegerTrạng thái
sheet_dategte, ltedate / datetimeKhoảng ngày
has_accountingismixedHạch toán

1.3. Search / Sort / Fields / Pagination

1.4. Response mẫu

{
"data": [
{
"id": 3001,
"sheet_code": "PCK/2026/0003",
"sheet_date": "2026-03-10",
"store_from_name": "Kho A",
"store_to_name": "Kho B",
"sheet_status": 4
}
],
"has_more": false,
"offset": 0,
"limited": 50,
"sorted": { "id": "DESC" }
}

1.5. Ví dụ curl

curl -g --location 'https://example.getflycrm.com/api/v6/inventory_sheet_transfers?fields=id,sheet_code,sheet_date,store_from_name,store_to_name,sheet_status&limit=50' \
--header 'X-API-KEY: <your_api_key>'

2. Chi tiết phiếu chuyển

  • Endpoint: GET /api/v6/inventory_sheet_transfers/{id}

Response mẫu (rút gọn)

{
"id": 3001,
"sheet_code": "PCK/2026/0003",
"store_from_name": "Kho A",
"store_to_name": "Kho B",
"sheet_details": [{ "product_id": 55, "quantity": 20 }]
}

Ví dụ curl

curl --location 'https://example.getflycrm.com/api/v6/inventory_sheet_transfers/3001?fields=id,sheet_code,sheet_details' \
--header 'X-API-KEY: <your_api_key>'

3. Ghi chú