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.1/inventory_sheet_transfers
  • Method: GET
  • Authentication: X-API-KEY

1.2. Filtering

(Public service dùng InventorySheetTransfer::handleInventorySheetTransferConditions.)

TrườngHỗ trợKiểuMô tả
ideqintegerID phiếu
sheet_codeeqstringMã phiếu chuyển
sheet_statuseqintegerTrạng thái
sheet_dategte, ltedate / datetimeKhoảng ngày phiếu
has_accountingismixedĐiều kiện hạch toán (domain)
  • searchsheet_code.

1.4. Sorting

TrườngHướng
idasc, desc

1.5. Fields

  • Mặc định: id.
  • Ví dụ trường domain: sheet_code, sheet_date, sheet_status, sheet_status_title, store_from, store_from_name, store_to, store_to_name, sheet_details, sheet_workflow_steps, description, created_at, updated_at, …

1.6. Pagination

limit, offset.

1.7. 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.8. Ví dụ curl

curl -g --location 'https://example.getflycrm.com/api/v6.1/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

2.1. Thông tin API

  • Endpoint: /api/v6.1/inventory_sheet_transfer
  • Method: GET

2.2. Định danh (chọn một)

Tham sốMô tả
inventory_sheet_transfer_idID phiếu
inventory_sheet_transfer_codeMã phiếu

2.3. 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
}
]
}

2.4. Ví dụ curl

curl --location 'https://example.getflycrm.com/api/v6.1/inventory_sheet_transfer?inventory_sheet_transfer_code=PCK/2026/0003&fields=id,sheet_code,store_from_name,store_to_name,sheet_details' \
--header 'X-API-KEY: <your_api_key>'

3. Ghi chú