1. Inventory
V8STD
  • Index
  • Inventory
    • TrfRsAdj
      POST
    • GRConfirm
      POST
    • ItemStockOnHand
      POST
    • GRUpdate
      POST
    • QtyAdj
      POST
    • TrfRsOut
      POST
    • QtyAdjConfirm
      POST
    • StkCntUpdate
      POST
    • GoodsReturnUpdate
      POST
    • GoodsReturnConfirm
      POST
    • TrfRsIn
      POST
    • TrfReqConfirm
      POST
    • TrfReq
      POST
    • POUpdate
      POST
    • POStatusChange
      POST
    • TrfRsConfirm
      POST
  • Inventory Enquiry
    • enq_TrfRsOsNote
      POST
    • enq_TrfRs
      POST
  • Master
    • itemSearchTTPos
      POST
  • Master Export
    • barCodeExport
      POST
    • storeExport
      POST
    • staffExport
      POST
    • ReasonExport
      POST
    • itemPriceExport
      POST
    • itemMasterExport
      POST
    • tenderExport
      POST
  • Master Import
    • itemPriceImport
    • barcodeImport
    • itemMasterImport
    • staffImport
  • Sales
    • salesTransStd
    • salesValidate
    • salesVoid
    • salesMemoStdEnquiry
  • Vip
    • vipBonusAdjustVipStd
    • vipSearchVipStd
    • vipMasterBasicCreateVipStd
    • vipBonusEnquiryVipStd
  • Device Login
    • Get_APIKEY
  1. Inventory

ItemStockOnHand

测试中
POST
/posservice/rest/inventory/itemqoh
ItemStockOnHand_查询货品库存
该接口会根据傳入的貨品和店鋪信息,返回對應的相關庫存
The interface returns the relevant inventory based on the incoming item and store information

请求参数

Authorization
在 header 添加参数
apiKey
示例:
apiKey: ********************
Body 参数application/json

示例
{
    "dtl": [
        {
            "itemCode": "10005555",
            "itemOrgid": "000000",
            "itemlotNum": "*"
        },
        {
            "itemCode": "10001111",
            "itemOrgid": "000000",
            "itemlotNum": "*"
        }
    ],
    "storeCode": "BJ001",
    "apiKey": "{{apiKey}}"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/posservice/rest/inventory/itemqoh' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "dtl": [
        {
            "itemCode": "10005555",
            "itemOrgid": "000000",
            "itemlotNum": "*"
        },
        {
            "itemCode": "10001111",
            "itemOrgid": "000000",
            "itemlotNum": "*"
        }
    ],
    "storeCode": "BJ001",
    "apiKey": "{{apiKey}}"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "asynCode": null,
    "asynMessage": null,
    "asynStatus": 0,
    "className": "com.techtrans.api.inventory.common.website.ItemStockOnHandResponse",
    "dtl": [
        {
            "invtQoh0": -201,
            "invtQoh1": 0,
            "invtQoh2": 0,
            "invtQoh3": 0,
            "invtQoh4": 0,
            "invtQoh5": 0,
            "itemCode": "10005555",
            "itemlotNum": "*",
            "itemOrgid": "000000",
            "qoh": -201
        }
    ],
    "errorCode": 0,
    "errorLog": null,
    "errorMessage": null,
    "length": 25,
    "sort": "",
    "start": 0,
    "total": 1
}
🟠404响应失败
🟢200处理数据失败
修改于 2024-09-30 02:38:30
上一页
GRConfirm
下一页
GRUpdate
Built with