接口文档 / 商品接口
获取商品详情
响应参数
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
data可选 | object | |
children可选 | array<object> | |
id可选 | string | |
name可选 | string | |
shebao可选 | object | |
disableSell可选 | integer | |
typeId可选 | integer | |
dismounting可选 | integer | |
typeName可选 | string | |
customTypeId可选 | string | |
isSell可选 | integer | |
customTypeName可选 | string | |
inTaxRat可选 | number | |
manufacturer可选 | string | |
outTaxRat可选 | number | |
medicineNmpn可选 | string | |
barCode可选 | string | |
pieceUnit可选 | string | |
pieceNum可选 | number | |
piecePrice可选 | number | |
packageUnit可选 | string | |
packagePrice可选 | number | |
shortId可选 | string | |
specification可选 | string | |
otcType可选 | integer | |
status可选 | integer | |
lastModified可选 | string | |
goodsSpu可选 | object | |
goodsSpec可选 | object | |
remark可选 | string | |
dosageFormType可选 | integer | |
dosageFormTypeName可选 | string | |
priceType可选 | integer | |
priceMakeupPercent可选 | number | |
error可选可为空 | object | |
响应示例
{
"data": {
"children": [
null
],
"id": "string",
"name": "阿莫西林",
"shebao": {
"nationalCode": "T001700643",
"insuranceTypes": [
{
"insuranceType": 391,
"reimbursementRatio": 0.1
}
]
},
"disableSell": 0,
"typeId": 1,
"dismounting": 0,
"typeName": "药品",
"customTypeId": 213,
"isSell": 1,
"customTypeName": "抗生素",
"inTaxRat": 13,
"manufacturer": "拜耳",
"outTaxRat": 13,
"medicineNmpn": "H20000001",
"barCode": "string",
"pieceUnit": "支",
"pieceNum": 10,
"piecePrice": 10.5,
"packageUnit": "盒",
"packagePrice": 105,
"shortId": "K1001",
"specification": "1ml:0.5mg*10支/盒",
"otcType": 1,
"status": 1,
"lastModified": "2022-05-13 12:22:56",
"goodsSpu": {
"id": "string",
"name": "string",
"brandName": "string",
"material": "string"
},
"goodsSpec": {
"color": "string",
"spec": "string"
},
"remark": "abc",
"dosageFormType": 0,
"dosageFormTypeName": "string",
"priceType": 0,
"priceMakeupPercent": 0
},
"error": null
}业务失败包装示意
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}