微商城 > 商品API > 商品 > ec/goods/queryGoodsDetail
获取商品详情
ec/goods/queryGoodsDetail
最近修改时间:2023-09-05 10:56:49
接口描述
该接口会返回商品的删除状态,不返回已删除的sku的(每个sku的isDeleted都是false)
接口信息
协议 | 请求方式 | 请求地址 |
---|---|---|
https | POST | https://dopen.weimob.com/api/1_0/ec/goods/queryGoodsDetail?accesstoken=ACCESS_TOKEN |
请求参数
参数 | 是否必填 | 类型 | 示例 | 描述 |
---|---|---|---|---|
暂无数据 |
响应参数
参数 | 类型 | 示例 | 描述 |
---|---|---|---|
暂无数据 |
接口示例
请求示例
json
点击复制
{ "goodsId": 46410100 }
响应示例
json
点击复制
{ "globalTicket": "a91f1d5957ec4be6a932aa15994fafdb", "code": { "errcode": "0", "errmsg": "处理成功" }, "data": { "goods": { "selectedClassifyList": [ { "level": null, "classifyId": 461104181, "imageUrl": null, "showHiddenClassify": null, "childrenClassify": [ { "level": null, "classifyId": 461879281, "imageUrl": null, "showHiddenClassify": null, "childrenClassify": null, "title": "衣服", "goodsNum": null, "isHot": null, "parentId": null } ], "title": "测试用的", "goodsNum": null, "isHot": 0, "parentId": null } ], "selectedGoodsAttrInfoList": [ { "attributeId": 50000, "isMulti": null, "isRequired": null, "isCustomDefined": null, "name": "品牌", "attrValueList": [ { "isCustomDefined": 1, "value": "La Chapelle/拉夏贝尔", "key": 234462181 } ] } ], "archivesTemplate": null, "selectedGoodsAttrList": { "50000": [ 234462181 ] }, "minSalePrice": null, "pointDeductRule": { "openPointDeduct": 0, "useCondition": 0, "deductAmount": 0, "deductDiscount": null, "useDiscount": null }, "source": 1, "isCanSell": null, "limitBuyNum": 0, "goodsVideoImageUrl": null, "pointDeductRatio": 100, "goodsDesc": "<p>这是商品描述图文详情</p>", "skuMap": { "94713181:94525181": { "singleProductTitle": null, "singleProduct": null, "originalPrice": 0.5, "changeGoodsLimitNum": 0, "goodsId": 1218220050181, "singleProductId": null, "outerSkuCode": "skucode04", "availableStockNum": 10, "skuAttrMap": { "52000": { "name": "尺寸", "value": "M", "key": 94713181 }, "53000": { "name": "颜色", "value": "红色", "key": 94525181 } }, "skuAttrKey": "94713181:94525181", "merchantSalePrice": null, "adviseSalePriceMax": null, "isDeleted": false, "combineProductId": null, "outerSkuId": null, "imageUrl": "https://image-c.weimobwmc.com/openruntime/c7fdb3394dad40c7adee59406a62c3ab.jpg", "combineProduct": null, "goodsLimitNum": 0, "inStock": true, "isDisabled": false, "distributorLimitStock": null, "productType": 1, "skuId": 1301773450181, "skuInfoMap": null, "b2cSku": { "volume": 0, "weight": 0 }, "changeStockNum": 0, "supplierStockMax": null, "salePrice": 0.1, "adviseSalePriceMin": null, "skuAttrValueNameList": null, "costPrice": 0.01, "productTitle": "pm-2020-test", "lockPriceStatus": 0, "productCode": "P000000128569525" }, "94713181:94708181": { "singleProductTitle": null, "singleProduct": null, "originalPrice": 0.5, "changeGoodsLimitNum": 0, "goodsId": 1218220050181, "singleProductId": null, "outerSkuCode": "skucode03", "availableStockNum": 9, "skuAttrMap": { "52000": { "name": "尺寸", "value": "M", "key": 94713181 }, "53000": { "name": "颜色", "value": "黑色", "key": 94708181 } }, "skuAttrKey": "94713181:94708181", "merchantSalePrice": null, "adviseSalePriceMax": null, "isDeleted": false, "combineProductId": null, "outerSkuId": null, "imageUrl": "https://image-c.weimobwmc.com/openruntime/c7fdb3394dad40c7adee59406a62c3ab.jpg", "combineProduct": null, "goodsLimitNum": 0, "inStock": true, "isDisabled": false, "distributorLimitStock": null, "productType": 1, "skuId": 1301773440181, "skuInfoMap": null, "b2cSku": { "volume": 0, "weight": 0 }, "changeStockNum": 0, "supplierStockMax": null, "salePrice": 0.1, "adviseSalePriceMin": null, "skuAttrValueNameList": null, "costPrice": 0.01, "productTitle": "pm-2020-test", "lockPriceStatus": 0, "productCode": "P000000128569524" }, "94712181:94708181": { "singleProductTitle": null, "singleProduct": null, "originalPrice": 0.5, "changeGoodsLimitNum": 0, "goodsId": 1218220050181, "singleProductId": null, "outerSkuCode": "skucode01", "availableStockNum": 0, "skuAttrMap": { "52000": { "name": "尺寸", "value": "S", "key": 94712181 }, "53000": { "name": "颜色", "value": "黑色", "key": 94708181 } }, "skuAttrKey": "94712181:94708181", "merchantSalePrice": null, "adviseSalePriceMax": null, "isDeleted": false, "combineProductId": null, "outerSkuId": null, "imageUrl": "https://image-c.weimobwmc.com/openruntime/89c19dcbaecf4192afd6a6a477c63749.jpg", "combineProduct": null, "goodsLimitNum": 0, "inStock": true, "isDisabled": false, "distributorLimitStock": null, "productType": 1, "skuId": 1301773420181, "skuInfoMap": null, "b2cSku": { "volume": 0, "weight": 0 }, "changeStockNum": 0, "supplierStockMax": null, "salePrice": 0.1, "adviseSalePriceMin": null, "skuAttrValueNameList": null, "costPrice": 0.01, "productTitle": "pm-2020-test", "lockPriceStatus": 0, "productCode": "P000000128569522" } }, "sort": 0, "outerGoodsCode": "", "defaultImageUrl": null, "saleChannelType": null, "startPutAwayTime": null, "startSellTime": null, "deductStockType": 1, "goodsVideoUrl": null, "isMultiSku": 1, "skuList": [ { "singleProductTitle": null, "singleProduct": null, "originalPrice": 0.5, "changeGoodsLimitNum": 0, "goodsId": 1218220050181, "singleProductId": null, "outerSkuCode": "skucode01", "availableStockNum": 0, "skuAttrMap": { "52000": { "name": "尺寸", "value": "S", "key": 94712181 }, "53000": { "name": "颜色", "value": "黑色", "key": 94708181 } }, "skuAttrKey": "94712181:94708181", "merchantSalePrice": null, "adviseSalePriceMax": null, "isDeleted": false, "combineProductId": null, "outerSkuId": null, "imageUrl": "https://image-c.weimobwmc.com/openruntime/89c19dcbaecf4192afd6a6a477c63749.jpg", "combineProduct": null, "goodsLimitNum": 0, "inStock": true, "isDisabled": false, "distributorLimitStock": null, "productType": 1, "skuId": 1301773420181, "skuInfoMap": null, "b2cSku": { "volume": 0, "weight": 0 }, "changeStockNum": 0, "supplierStockMax": null, "salePrice": 0.1, "adviseSalePriceMin": null, "skuAttrValueNameList": null, "costPrice": 0.01, "productTitle": "pm-2020-test", "lockPriceStatus": 0, "productCode": "P000000128569522" }, { "singleProductTitle": null, "singleProduct": null, "originalPrice": 0.5, "changeGoodsLimitNum": 0, "goodsId": 1218220050181, "singleProductId": null, "outerSkuCode": "skucode03", "availableStockNum": 9, "skuAttrMap": { "52000": { "name": "尺寸", "value": "M", "key": 94713181 }, "53000": { "name": "颜色", "value": "黑色", "key": 94708181 } }, "skuAttrKey": "94713181:94708181", "merchantSalePrice": null, "adviseSalePriceMax": null, "isDeleted": false, "combineProductId": null, "outerSkuId": null, "imageUrl": "https://image-c.weimobwmc.com/openruntime/c7fdb3394dad40c7adee59406a62c3ab.jpg", "combineProduct": null, "goodsLimitNum": 0, "inStock": true, "isDisabled": false, "distributorLimitStock": null, "productType": 1, "skuId": 1301773440181, "skuInfoMap": null, "b2cSku": { "volume": 0, "weight": 0 }, "changeStockNum": 0, "supplierStockMax": null, "salePrice": 0.1, "adviseSalePriceMin": null, "skuAttrValueNameList": null, "costPrice": 0.01, "productTitle": "pm-2020-test", "lockPriceStatus": 0, "productCode": "P000000128569524" }, { "singleProductTitle": null, "singleProduct": null, "originalPrice": 0.5, "changeGoodsLimitNum": 0, "goodsId": 1218220050181, "singleProductId": null, "outerSkuCode": "skucode04", "availableStockNum": 10, "skuAttrMap": { "52000": { "name": "尺寸", "value": "M", "key": 94713181 }, "53000": { "name": "颜色", "value": "红色", "key": 94525181 } }, "skuAttrKey": "94713181:94525181", "merchantSalePrice": null, "adviseSalePriceMax": null, "isDeleted": false, "combineProductId": null, "outerSkuId": null, "imageUrl": "https://image-c.weimobwmc.com/openruntime/c7fdb3394dad40c7adee59406a62c3ab.jpg", "combineProduct": null, "goodsLimitNum": 0, "inStock": true, "isDisabled": false, "distributorLimitStock": null, "productType": 1, "skuId": 1301773450181, "skuInfoMap": null, "b2cSku": { "volume": 0, "weight": 0 }, "changeStockNum": 0, "supplierStockMax": null, "salePrice": 0.1, "adviseSalePriceMin": null, "skuAttrValueNameList": null, "costPrice": 0.01, "productTitle": "pm-2020-test", "lockPriceStatus": 0, "productCode": "P000000128569525" } ], "selectedSaleAttrInfoList": [ { "attributeId": 52000, "isMulti": null, "isRequired": null, "isCustomDefined": null, "name": "尺寸", "attrValueList": [ { "isCustomDefined": 1, "value": "S", "key": 94712181 }, { "isCustomDefined": 1, "value": "M", "key": 94713181 } ] }, { "attributeId": 53000, "isMulti": null, "isRequired": null, "isCustomDefined": null, "name": "颜色", "attrValueList": [ { "isCustomDefined": 1, "value": "黑色", "key": 94708181 }, { "isCustomDefined": 1, "value": "红色", "key": 94525181 } ] } ], "goodsId": 1218220050181, "presellGoods": null, "selectedSaleAttrList": { "52000": [ 94712181, 94713181 ], "53000": [ 94708181, 94525181 ] }, "isAutoCanSell": null, "isPutAway": 0, "selectedGoodsPropInfoList": [ { "propValList": [ { "propId": 1452081, "id": 3930281, "propValue": "1" } ], "supportModule": [], "id": 1452081, "propType": 0, "sort": 0, "title": "测试" } ], "title": "pm-2020-test", "initialSales": 0, "sellModelType": 1, "isDeleted": false, "categoryList": [ { "childrenCategoryList": null, "enableCustom": null, "title": "服饰", "isLeaf": null, "categoryId": 3 }, { "childrenCategoryList": null, "enableCustom": null, "title": "女装", "isLeaf": null, "categoryId": 44 } ], "isStorePreSell": 0, "isMemberShipDiscount": 0, "selectedTag": { "backgroundColor": null, "borderColor": null, "mediumBackgroundImgUrl": null, "tagId": 43694481, "pid": null, "largeBackgroundImgUrl": null, "priority": null, "storeId": null, "title": "pm标签", "type": null, "smallBackgroundImgUrl": null, "textColor": null, "goodsNum": null }, "isAutoForbidSell": null, "isPreSell": null, "barCodeMatchedList": null, "barCodeSingleMatched": null, "goodsSlogan": null, "isAllowOversold": null, "selectedGoodsRightsInfoList": [ { "id": 818181, "title": "试吃", "goodsRightsValueList": [ { "goodsRightsValue": "试吃一包后不满意可以退换", "id": 1394981, "goodsRightsId": 818181 } ] } ], "maxSalePrice": null, "startForbidTime": null, "b2cGoods": { "freightTemplateId": null, "b2cGoodsType": 0, "selectedFreightTemplate": null, "deliveryTypeIdList": null }, "goodsImageUrl": [ "https://image-c.weimobwmc.com/openruntime/89c19dcbaecf4192afd6a6a477c63749.jpg", "https://image-c.weimobwmc.com/openruntime/c7fdb3394dad40c7adee59406a62c3ab.jpg" ], "isAssignStore": null, "selectedSaleAttrIdList": [ 52000, 53000 ], "isSupplySource": 1, "selectedInnerGoodsPropInfoList": [ { "propValList": [ { "propId": 12000366181, "id": 12001266381, "propValue": "厂家a" } ], "supportModule": [], "id": 12000366181, "propType": 1, "sort": 0, "title": "测试厂家" } ] }, "brand": { "id": 123, "pid": 123, "brandManagementType": 1, "brandAuditType": 1, "storeId": 123, "title": "一个品牌", "trademarkRegistrant": "张三", "trademarkRegistrantNo": "123452463", "trademarkApplicant": "张三", "trademarkType": "35", "trademarkAuthorizationPeriod": [ 1612080261, 1612080268 ], "trademarkApplicationTime": 1612080261, "trademarkRegistrationApplication": "http://www.234.com", "trademarkChangeCertificate": "http://www.234.com", "importedGoodsForm": "http://www.234.com", "saleAuthorization": [ "http://www.234.com", "http://www.235.com" ] }, "goodsCertificateUrl": [ "https://image-c.weimobwmc.com/openruntime/89c19dcbaecf4192afd6a6a477c63749.jpg", "https://image-c.weimobwmc.com/openruntime/c7fdb3394dad40c7adee59406a62c3ab.jpg" ], "pid": 100000080481, "storeId": 3060881 } }
文章是否对你有帮助?
- 有帮助
- 去吐槽