报废单详情查询收费
测试环境
测试环境
POST
/open/v1/supplyChain/scrapDetail
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/supplyChain/scrapDetail?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"queryRange": 77,
"scrapId": 13
}'
响应示例响应示例
{
"code": 0,
"message": "OK",
"messageUuid": "3b4cce269b0d45a3a2a783e91bed263a",
"result": {
"success": true,
"message": null,
"scrapId": 34342,
"scrapNo": "BF201608100001",
"warehouseId": 12,
"warehouseName": "仓库名称",
"updaterName": "老李",
"updateTime": "2016-08-02 10:00:00",
"confirmerName": "老李",
"confirmTime": "2016-08-02 10:00:00",
"status": 1,
"amount": 34.56,
"details": [
{
"skuId": 234,
"skuTypeId": 2,
"skuTypeName": "鱼",
"skuCode": "SKU0001",
"skuName": "海鲈鱼",
"unitId": 2,
"unitName": "Kg",
"price": 11,
"qty": 45.5,
"reasonId": 41,
"reason": "过期",
"batchNumber": 1234,
"skuConvertList": [
{
"unitId": 2,
"unitName": "箱",
"unitSmall": 0,
"unitStander": 0,
"unitPurchase": 1,
"skuConvert": 4000
}
]
}
],
"warehouses": [
{
"warehouseId": 1,
"warehouseName": "海鲜仓"
}
],
"reasons": [
{
"reasonId": 1,
"reason": "过期"
}
]
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json
返回响应
修改于 2021-12-17 11:19:16