获取交易凭证
测试环境
测试环境
POST
/open/v1/supplyChain/transactionVoucher
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/supplyChain/transactionVoucher?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"shopId": 46,
"bizType": 66,
"startTime": 191586302120,
"endTime": 1214751147837,
"start": 57,
"limit": 6,
"orderType": 51,
"wareHouseId": 81,
"operationType": 20,
"referenceNo": "ea",
"creatorName": "活手阶因"
}'
响应示例响应示例
{
"code": 0,
"message": "成功[OK]",
"messageUuid": "f2ba9732-44da-4890-bc74-b31493ba9938",
"result": {
"data": [
{
"bizType": 1,
"brandId": 5200,
"brandName": "scm正式",
"commercialName": "scm正式一",
"createTime": 1499073884000,
"creatorName": "system",
"fromWmId": 15,
"fromWmName": "仓库一",
"operationType": 1,
"orderCreateTime": 1499073882000,
"orderCreatorName": "system",
"price": 18,
"qty": 0.2,
"referenceNo": "CK201707030021",
"skuCode": "SKU0276",
"skuName": "AAAAAAAAAAAAAA",
"toWmId": 0,
"toWmName": "",
"totalPrice": 3.6,
"uom": "kg"
}
],
"num": 10,
"total": 123
}
}
请求参数
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-16 12:04:04