Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

1.4 MB
Raw Blame
{"inventory":[{"action":"integration.virtual.topup.mobile.order.callback","title":"话费充值回调","category":"虚拟API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=integration.virtual.topup.mobile.order.callback&version=1","sha256":"494f05d5565069729de7001df21da5d9494ca609bbe1a2af74d8e5c11f524af9","bytes":5650},"official":{"id":0,"name":"integration.virtual.topup.mobile.order.callback","cnName":"话费充值回调","method":2,"version":1,"description":"回调话费充值结果","needPermission":false,"permissionScope":"merchant_order","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":5044425,"paramName":"orderId","paramType":"String","structureId":0,"example":"54321","required":true,"description":"订单id"},{"id":5044428,"paramName":"status","paramType":"String","structureId":0,"example":"SUCCESS","required":true,"description":"充值状态"},{"id":5044430,"paramName":"bizType","paramType":"String","structureId":0,"example":"10","required":true,"description":"10-快充,20-慢充"},{"id":5044431,"paramName":"failCode","paramType":"String","structureId":0,"example":"4013021","required":false,"description":"充值失败的错误码,详见对接文档"},{"id":5044432,"paramName":"failMsg","paramType":"String","structureId":0,"example":"携号转网无法充值","required":false,"description":"充值失败的错误信息"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":5044433,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":5044434,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"参数错误","required":false,"description":"子返回信息"},{"id":5044433,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"1-成功,其它失败"},{"id":5044434,"paramName":"error_msg","paramType":"String","structureId":0,"example":"参数错误","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.virtual.IntegrationVirtualTopupMobileOrderCallbackRequest;\nimport com.kuaishou.merchant.open.api.response.virtual.IntegrationVirtualTopupMobileOrderCallbackResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        IntegrationVirtualTopupMobileOrderCallbackRequest request = new IntegrationVirtualTopupMobileOrderCallbackRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(\"54321\");\n        request.setStatus(\"SUCCESS\");\n        request.setBizType(\"10\");\n        request.setFailCode(\"4013021\");\n        request.setFailMsg(\"携号转网无法充值\");\n\n        IntegrationVirtualTopupMobileOrderCallbackResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/integration/virtual/topup/mobile/order/callback' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=integration.virtual.topup.mobile.order.callback' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1716350341004' \\\n-d 'param=%7B%22orderId%22%3A%2254321%22%2C%22status%22%3A%22SUCCESS%22%2C%22bizType%22%3A%2210%22%2C%22failCode%22%3A%224013021%22%2C%22failMsg%22%3A%22%E6%90%BA%E5%8F%B7%E8%BD%AC%E7%BD%91%E6%97%A0%E6%B3%95%E5%85%85%E5%80%BC%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"参数错误\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1716431240187}},{"action":"open.address.district.list","title":"查询快手行政区划库","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.address.district.list&version=1","sha256":"df2d63779ead69e432a4ced3ef0ebaba983c5182710fab3ae52f8770ba1990f2","bytes":5533},"official":{"id":0,"name":"open.address.district.list","cnName":"查询快手行政区划库","method":1,"version":1,"description":"快手目前使用的[国家统计局的2021版本@http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2021/index.html] 直辖市名称一二级相同,如一级北京市,二级北京市。嘉峪关市 儋州市 中山市 东莞市下面的  三级和四级 名称一样, code也一样\n快手行政区划库旧版使用的是[国家统计局2017版本@http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2017/index.html],在此基础上添加了广东省深圳市光明区(440311)和四川省宜宾市叙州区(511504)。\n2017版为三级地址,[2021版为四级地址@red],正向交易订单的收货地址已全量升级为四级地址,入参请使用2021版本","needPermission":false,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":3448050,"paramName":"districtVersion","paramType":"String","structureId":0,"example":"2021","required":true,"description":"行政区划:2017, 2021。四级地址请传入2021版本"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3448052,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3448053,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3448051,"paramName":"data","paramType":"DistrictData","structureId":688,"example":"{}","required":false,"description":"区划列表"},{"id":3448052,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":3448053,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenAddressDistrictListRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenAddressDistrictListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenAddressDistrictListRequest request = new OpenAddressDistrictListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setDistrictVersion(\"2021\");\n\n        OpenAddressDistrictListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/address/district/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.address.district.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1684743199643' \\\n-d 'param=%7B%22districtVersion%22%3A%222021%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": {\n    \"districtVersion\": \"VERSION_2021\",\n    \"districts\": [\n      {\n        \"code\": 4107,\n        \"name\": \"新乡市\",\n        \"children\": []\n      }\n    ]\n  },\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":377,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1704786871656}},{"action":"open.address.seller.create","title":"新增商家地址","category":"物流API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.address.seller.create&version=1","sha256":"3c3dec36ce950d8d265ff1e13430ed9b6dd6721f03ad2d9c8bb2341aadda9eb2","bytes":6762},"official":{"id":0,"name":"open.address.seller.create","cnName":"新增商家地址","method":1,"version":1,"description":"1.商家的发货地址和退货地址创建时若设为默认地址,则其它同类型地址都被设为非默认\n2.商家的发货地址和退货地址最多可以各创建50个\n3.若商家的发货地址或退货地址需要超过50个,请在支持中心-提交工单\n4. 目前地址录入行政区划,已开启校验,行政区划 只接收[快手行政区地址API@https://open.kwaixiaodian.com/docs/api?apiName=open.address.district.list] 2021版本四级地址信息","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":3571727,"paramName":"baseInfo","paramType":"BaseAddressInfo","structureId":570,"example":"{}","required":true,"description":"地址信息"},{"id":3571728,"paramName":"defaultAddress","paramType":"Boolean","structureId":0,"example":"false","required":true,"description":"是否默认"},{"id":3571729,"paramName":"addressType","paramType":"Integer","structureId":0,"example":"2","required":true,"description":"地址类型:2-退货地址;3-发货地址"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3571731,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3571732,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3571730,"paramName":"data","paramType":"AddressIdInfo","structureId":671,"example":"{}","required":false,"description":"data"},{"id":3571731,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":3571732,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"当前详细地址并非在省市对应的范围内,商家无法发货","solution":"请确认地址是否填写正确"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenAddressSellerCreateRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenAddressSellerCreateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenAddressSellerCreateRequest request = new OpenAddressSellerCreateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        BaseAddressInfo obj1 = new BaseAddressInfo();\n        obj1.setConsignee(\"张三\");\n        obj1.setMobile(\"13813813813\");\n        obj1.setProvinceCode(41);\n        obj1.setProvince(\"河南省\");\n        obj1.setCityCode(4107);\n        obj1.setCity(\"新乡市\");\n        obj1.setDistrictCode(410702);\n        obj1.setDistrict(\"红旗区\");\n        obj1.setAddress(\"东圪垱南街\");\n        obj1.setTown(\"仓前街道\");\n        obj1.setTownCode(330101001);\n        obj1.setAddressMetaVersion(202100);\n        request.setBaseInfo(obj1);\n        request.setDefaultAddress(false);\n        request.setAddressType(2);\n\n        OpenAddressSellerCreateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/address/seller/create' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.address.seller.create' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1685956163120' \\\n-d 'param=%7B%22baseInfo%22%3A%7B%22consignee%22%3A%22%E5%BC%A0%E4%B8%89%22%2C%22mobile%22%3A%2213813813813%22%2C%22provinceCode%22%3A41%2C%22province%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%2C%22cityCode%22%3A4107%2C%22city%22%3A%22%E6%96%B0%E4%B9%A1%E5%B8%82%22%2C%22districtCode%22%3A410702%2C%22district%22%3A%22%E7%BA%A2%E6%97%97%E5%8C%BA%22%2C%22address%22%3A%22%E4%B8%9C%E5%9C%AA%E5%9E%B1%E5%8D%97%E8%A1%97%22%2C%22town%22%3A%22%E4%BB%93%E5%89%8D%E8%A1%97%E9%81%93%22%2C%22townCode%22%3A330101001%2C%22addressMetaVersion%22%3A202100%7D%2C%22defaultAddress%22%3Afalse%2C%22addressType%22%3A2%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": {\n    \"addressId\": 123\n  },\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":263,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1704788429378}},{"action":"open.address.seller.delete","title":"删除商家地址","category":"物流API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.address.seller.delete&version=1","sha256":"dcaee3b55fc856e6cf95975b83e9bad9d8b3a46d4656731208eb8f984f3b701d","bytes":4591},"official":{"id":0,"name":"open.address.seller.delete","cnName":"删除商家地址","method":1,"version":1,"description":"删除商家地址,不允许删除默认地址","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2334145,"paramName":"addressId","paramType":"Long","structureId":0,"example":"123","required":true,"description":"地址id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2334146,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2334147,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2334146,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":2334147,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"默认地址不可删除","solution":"请先解除默认地址再删除"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenAddressSellerDeleteRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenAddressSellerDeleteResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenAddressSellerDeleteRequest request = new OpenAddressSellerDeleteRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setAddressId(123);\n\n        OpenAddressSellerDeleteResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/address/seller/delete' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.address.seller.delete' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135235607' \\\n-d 'param=%7B%22addressId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":124,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698634959904}},{"action":"open.address.seller.get","title":"获取商家地址详情","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.address.seller.get&version=1","sha256":"f34eebb1c1301043cd5965df5b9e5eb3fe705cbd868c10233bfcc912a9e33ad3","bytes":5240},"official":{"id":0,"name":"open.address.seller.get","cnName":"获取商家地址详情","method":1,"version":1,"description":"通过地址ID获取商家地址详情","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":3578377,"paramName":"addressId","paramType":"Long","structureId":0,"example":"123","required":true,"description":"地址id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3578379,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3578380,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3578378,"paramName":"data","paramType":"FullAddressInfo","structureId":582,"example":"{}","required":false,"description":"data"},{"id":3578379,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":3578380,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenAddressSellerGetRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenAddressSellerGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenAddressSellerGetRequest request = new OpenAddressSellerGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setAddressId(123);\n\n        OpenAddressSellerGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/address/seller/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.address.seller.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1686022661239' \\\n-d 'param=%7B%22addressId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": {\n    \"addressId\": 123,\n    \"baseInfo\": {\n      \"consignee\": \"张三\",\n      \"mobile\": \"13813813813\",\n      \"provinceCode\": 41,\n      \"province\": \"河南省\",\n      \"cityCode\": 4107,\n      \"city\": \"新乡市\",\n      \"districtCode\": 410702,\n      \"district\": \"红旗区\",\n      \"address\": \"东圪垱南街\",\n      \"town\": \"仓前街道\",\n      \"townCode\": 330101001,\n      \"addressMetaVersion\": 202100\n    },\n    \"addressStatus\": 0,\n    \"defaultAddress\": false,\n    \"addressType\": 2,\n    \"sourceType\": 0,\n    \"createTime\": 1610283725876,\n    \"updateTime\": 1610283725876\n  },\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":170,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1689929283924}},{"action":"open.address.seller.list","title":"查询商家地址列表","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.address.seller.list&version=1","sha256":"8efbf73ace88bd2e1418f49086dea39facca4611dac50508cb98ab68b4a8735c","bytes":5339},"official":{"id":0,"name":"open.address.seller.list","cnName":"查询商家地址列表","method":1,"version":1,"description":"查询商家地址列表","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":3572031,"paramName":"addressType","paramType":"Integer","structureId":0,"example":"2","required":true,"description":"地址类型:2-退货地址;3-发货地址"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3572033,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3572034,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3572032,"paramName":"data","paramType":"List<FullAddressInfo>","structureId":582,"example":"data","required":false,"description":"data"},{"id":3572033,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":3572034,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenAddressSellerListRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenAddressSellerListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenAddressSellerListRequest request = new OpenAddressSellerListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setAddressType(2);\n\n        OpenAddressSellerListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/address/seller/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.address.seller.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1685956137680' \\\n-d 'param=%7B%22addressType%22%3A2%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"addressId\": 123,\n      \"baseInfo\": {\n        \"consignee\": \"张三\",\n        \"mobile\": \"13813813813\",\n        \"provinceCode\": 41,\n        \"province\": \"河南省\",\n        \"cityCode\": 4107,\n        \"city\": \"新乡市\",\n        \"districtCode\": 410702,\n        \"district\": \"红旗区\",\n        \"address\": \"东圪垱南街\",\n        \"town\": \"仓前街道\",\n        \"townCode\": 330101001,\n        \"addressMetaVersion\": 202100\n      },\n      \"addressStatus\": 0,\n      \"defaultAddress\": false,\n      \"addressType\": 2,\n      \"sourceType\": 0,\n      \"createTime\": 1610283725876,\n      \"updateTime\": 1610283725876\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":167,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1686107726783}},{"action":"open.address.seller.update","title":"更新商家地址","category":"物流API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.address.seller.update&version=1","sha256":"60c44ddd3621be90aa47b737daa7446c9ad6ab298eb94a1a57b7822945d40bd4","bytes":6202},"official":{"id":0,"name":"open.address.seller.update","cnName":"更新商家地址","method":1,"version":1,"description":"根据地址id更新商家地址管理里的地址信息,若更新时设为默认地址,则将其它地址都设为非默认;更新时不允许将默认地址设为非默认地址。","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":3571992,"paramName":"baseInfo","paramType":"BaseAddressInfo","structureId":570,"example":"{}","required":true,"description":"baseInfo"},{"id":3571993,"paramName":"defaultAddress","paramType":"Boolean","structureId":0,"example":"false","required":true,"description":"是否默认"},{"id":3571994,"paramName":"addressId","paramType":"Long","structureId":0,"example":"1234","required":true,"description":"地址id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3571995,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3571996,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":3571995,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":3571996,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"默认地址不可取消默认","solution":"默认地址不可取消默认"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenAddressSellerUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenAddressSellerUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenAddressSellerUpdateRequest request = new OpenAddressSellerUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        BaseAddressInfo obj1 = new BaseAddressInfo();\n        obj1.setConsignee(\"张三\");\n        obj1.setMobile(\"13813813813\");\n        obj1.setProvinceCode(41);\n        obj1.setProvince(\"河南省\");\n        obj1.setCityCode(4107);\n        obj1.setCity(\"新乡市\");\n        obj1.setDistrictCode(410702);\n        obj1.setDistrict(\"红旗区\");\n        obj1.setAddress(\"东圪垱南街\");\n        obj1.setTown(\"仓前街道\");\n        obj1.setTownCode(330101001);\n        obj1.setAddressMetaVersion(202100);\n        request.setBaseInfo(obj1);\n        request.setDefaultAddress(false);\n        request.setAddressId(1234);\n\n        OpenAddressSellerUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/address/seller/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.address.seller.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1685956152888' \\\n-d 'param=%7B%22baseInfo%22%3A%7B%22consignee%22%3A%22%E5%BC%A0%E4%B8%89%22%2C%22mobile%22%3A%2213813813813%22%2C%22provinceCode%22%3A41%2C%22province%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%2C%22cityCode%22%3A4107%2C%22city%22%3A%22%E6%96%B0%E4%B9%A1%E5%B8%82%22%2C%22districtCode%22%3A410702%2C%22district%22%3A%22%E7%BA%A2%E6%97%97%E5%8C%BA%22%2C%22address%22%3A%22%E4%B8%9C%E5%9C%AA%E5%9E%B1%E5%8D%97%E8%A1%97%22%2C%22town%22%3A%22%E4%BB%93%E5%89%8D%E8%A1%97%E9%81%93%22%2C%22townCode%22%3A330101001%2C%22addressMetaVersion%22%3A202100%7D%2C%22defaultAddress%22%3Afalse%2C%22addressId%22%3A1234%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":153,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1720409395649}},{"action":"open.express.custom.tempate.list.query","title":"获取自定义区模板列表","category":"快递API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.custom.tempate.list.query&version=1","sha256":"35366fa614c9e2729e7cfa4130d52c53465340d22539034248d4b1e4033be5e4","bytes":5396},"official":{"id":0,"name":"open.express.custom.tempate.list.query","cnName":"获取自定义区模板列表","method":1,"version":1,"description":"获取自定义区模板列表","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":952431,"paramName":"standardTemplateCode","paramType":"String","structureId":0,"example":"ST1000","required":false,"description":"标准模板code"},{"id":952432,"paramName":"type","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"查询类型,(1:商家自定义模板;2:ISV预设自定义模板;3:商家+ISV全部自定义模板)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":952434,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":952435,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":952433,"paramName":"data","paramType":"List<TemplateCustomDTO>","structureId":50742,"example":"[]","required":false,"description":"响应结果"},{"id":952434,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"响应结果"},{"id":952435,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误描述"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressCustomTempateListQueryRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressCustomTempateListQueryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressCustomTempateListQueryRequest request = new OpenExpressCustomTempateListQueryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setStandardTemplateCode(\"ST1000\");\n        request.setType(1);\n\n        OpenExpressCustomTempateListQueryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/express/custom/tempate/list/query' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.custom.tempate.list.query' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1649764843452' \\\n-d 'param=%7B%22standardTemplateCode%22%3A%22ST1000%22%2C%22type%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"customTemplateName\": \"xxx自定义模板\",\n      \"customTemplateCode\": \"CTC1000\",\n      \"standardTemplateCode\": \"ST1000\",\n      \"customTemplateUrl\": \"http://sssss\",\n      \"expressCompanyName\": \"顺丰\",\n      \"type\": 1,\n      \"expressCompanyCode\": \"SF\",\n      \"placeholderKeys\": []\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1649765743454}},{"action":"open.express.ebill.append","title":"追加电子面单子单","category":"快递API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.ebill.append&version=1","sha256":"ac13e305b886366b43065fc7cd77d6d18248123e6dcc3df8525c3a1c63d1a818","bytes":5715},"official":{"id":0,"name":"open.express.ebill.append","cnName":"追加电子面单子单","method":2,"version":1,"description":"追加电子面单(暂时只支持顺丰)","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":918412,"paramName":"parentWaybillCode","paramType":"String","structureId":0,"example":"1212312","required":true,"description":"母电子面单号"},{"id":918413,"paramName":"expressCompanyCode","paramType":"String","structureId":0,"example":"SF","required":true,"description":"物流公司编码"},{"id":918414,"paramName":"addPackageQuantity","paramType":"Integer","structureId":0,"example":"2","required":true,"description":"新增加子面单个数(大于0)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":918416,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":918417,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":918415,"paramName":"data","paramType":"List<GetEbillOrderDTO>","structureId":10183,"example":"[{}]","required":false,"description":"新增子单返回结果列表"},{"id":918416,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":918417,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":51012,"type":"业务错误","description":"该单状态不支持拆单","solution":"该单状态不支持拆单,请检查"},{"code":70005,"type":"业务错误","description":"订单已生成路由不能申请子单","solution":"订单已生成路由不能申请子单"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressEbillAppendRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressEbillAppendResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressEbillAppendRequest request = new OpenExpressEbillAppendRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setParentWaybillCode(\"1212312\");\n        request.setExpressCompanyCode(\"SF\");\n        request.setAddPackageQuantity(2);\n\n        OpenExpressEbillAppendResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/express/ebill/append' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.ebill.append' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1648816930924' \\\n-d 'param=%7B%22parentWaybillCode%22%3A%221212312%22%2C%22expressCompanyCode%22%3A%22SF%22%2C%22addPackageQuantity%22%3A2%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"waybillCode\": \"319787688997698\",\n      \"printData\": \"iooho97900m,d@kdj\",\n      \"parentWaybillCode\": \"319787688997697\",\n      \"version\": \"1\",\n      \"signature\": \"fdsfsd78867fds\",\n      \"key\": \"hlkklfod879\"\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698648316587}},{"action":"open.express.ebill.cancel","title":"取消电子面单号","category":"快递API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.ebill.cancel&version=1","sha256":"e28dbb234c7ac7462e9450b8d4b30b212b9fc7c310fab8f068c00c065b4313a8","bytes":6922},"official":{"id":0,"name":"open.express.ebill.cancel","cnName":"取消电子面单号","method":1,"version":1,"description":"用于商家/ISV取消快手电子面单号场景","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":932404,"paramName":"expressCompanyCode","paramType":"String","structureId":0,"example":"SF,运单号所属的快递公司","required":true,"description":"快递公司编码"},{"id":932405,"paramName":"waybillCode","paramType":"String","structureId":0,"example":"SF867889","required":true,"description":"运单号"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":932406,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":932407,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":932406,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":932407,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":1001,"type":"系统错误","description":"请求量太大","solution":"请求量太大,请稍后重试"},{"code":20000,"type":"业务错误","description":"订单已取件","solution":"订单已取件,无法进行操作"},{"code":30015,"type":"业务错误","description":"不存在订购成功的记录","solution":"不存在订购成功的记录,请检查"},{"code":30057,"type":"业务错误","description":"更新电子面单为取消状态失败","solution":"更新电子面单为取消状态失败"},{"code":40003,"type":"业务错误","description":"发货地址对应的电子面单订购单已取消","solution":"发货地址对应的电子面单订购单已取消"},{"code":40015,"type":"业务错误","description":"轨迹订购记录ID为空","solution":"轨迹订购记录ID为空,请检查"},{"code":51011,"type":"业务错误","description":"订单状态为揽货失败","solution":"订单状态为揽货失败,不允许撤销操作"},{"code":54002,"type":"业务错误","description":"不支持的物流公司类型","solution":"不支持的物流公司类型,请检查"},{"code":54008,"type":"业务错误","description":"物流公司编码为空","solution":"物流公司编码为空,请检查"},{"code":54036,"type":"业务错误","description":"电子面单号为空","solution":"电子面单号为空,请检查"},{"code":54038,"type":"业务错误","description":"查询电子面单不存在","solution":"查询电子面单不存在,请检查"},{"code":54042,"type":"业务错误","description":"无权限取消当前电子面单","solution":"无权限取消当前电子面单"},{"code":54043,"type":"业务错误","description":"电子面单已使用","solution":"电子面单已使用,不能取消"},{"code":54045,"type":"业务错误","description":"只允许母单号取消电子面单","solution":"只允许母单号取消电子面单"},{"code":70004,"type":"系统错误","description":"重复请求","solution":"重复请求,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressEbillCancelRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressEbillCancelResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://gw-merchant-staging.test.gifshow.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressEbillCancelRequest request = new OpenExpressEbillCancelRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setExpressCompanyCode(\"SF,运单号所属的快递公司\");\n        request.setWaybillCode(\"SF867889\");\n\n        OpenExpressEbillCancelResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://gw-merchant-staging.test.gifshow.com/open/express/ebill/cancel' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.ebill.cancel' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1630477915490' \\\n-d 'param=%7B%22expressCompanyCode%22%3A%22SF%EF%BC%8C%E8%BF%90%E5%8D%95%E5%8F%B7%E6%89%80%E5%B1%9E%E7%9A%84%E5%BF%AB%E9%80%92%E5%85%AC%E5%8F%B8%22%2C%22waybillCode%22%3A%22SF867889%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698649143966}},{"action":"open.express.ebill.get","title":"获取电子面单号","category":"快递API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.ebill.get&version=1","sha256":"be9d266af72856ff7a58a32e57c204d1d0123daaef49f96a65f74ccde36c4c32","bytes":19973},"official":{"id":0,"name":"open.express.ebill.get","cnName":"获取电子面单号","method":2,"version":1,"description":"用于获取快手电子面单号,支持使用快手订单收货地址密文取号,支持批量取号(一次最多取10个)","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":3502138,"paramName":"getEbillOrderRequest","paramType":"List<GetEbillOrderRequest>","structureId":10182,"example":"[{}]","required":true,"description":"电子面单取号请求列表"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3502140,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3502141,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3502139,"paramName":"data","paramType":"List<GetEbillOrderResponse>","structureId":10181,"example":"[{}]","required":false,"description":"当result=1时候,返回电子面单取号结果列表"},{"id":3502140,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码:1成功,否则返回错误码"},{"id":3502141,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":1001,"type":"系统错误","description":"请求量太大","solution":"请求量太大,请稍后重试"},{"code":1003,"type":"系统错误","description":"系统异常","solution":"系统异常,请稍后重试"},{"code":30007,"type":"业务错误","description":"电子面单账户余额不足","solution":"需要商家到物流公司的网点进行面单额度的充值"},{"code":30008,"type":"业务错误","description":"收货地址超区","solution":"收货地址或发货地址在物流公司是不可揽收派送的,需要商家修改收发货地址或者更换物流公司"},{"code":30015,"type":"业务错误","description":"不存在订购成功的记录","solution":"在快手小店为发货地址新增指定网点的合作关系,待物流公司审核订阅申请后即可使用"},{"code":30036,"type":"业务错误","description":"发件人信息为空或信息不规范","solution":"发件人信息为空或信息不规范,请检查"},{"code":30037,"type":"业务错误","description":"收件人信息为空或信息不规范","solution":"收件人信息为空或信息不规范,请检查"},{"code":30038,"type":"业务错误","description":"发件地址信息为空或信息不规范","solution":"发件地址信息为空或信息不规范,请检查"},{"code":30039,"type":"业务错误","description":"收件地址信息为空或信息不规范","solution":"收件地址信息为空或信息不规范,请检查"},{"code":30053,"type":"业务错误","description":"扣减电子面单账户余额失败","solution":"扣减电子面单账户余额失败,请重试"},{"code":30055,"type":"业务错误","description":"电子面单账户信息不存在","solution":"在快手小店为发货地址新增指定网点的合作关系,待物流公司审核订阅申请后即可使用(第一次新增合作关系时会创建网点维度的电子面单账户)"},{"code":40002,"type":"业务错误","description":"发货地址对应的电子面单订购记录不存在","solution":"发货地址对应的电子面单订购记录不存在,请检查"},{"code":40019,"type":"业务错误","description":"丰网速运因业务调整,目前已暂停取号发件服务","solution":"如有业务需求或疑问,请联系丰网网点或丰网热线:95181"},{"code":40026,"type":"业务错误","description":"物流公司返回分拣信息为空","solution":"请检查三级地址是否完整并稍后重试"},{"code":53009,"type":"业务错误","description":"物流产品不存在","solution":"请检查传入的物流产品(expressProductCode)是否存在,具体的物流产品类型可参考快手电子面单对接"},{"code":53013,"type":"业务错误","description":"增值服务订购记录不存在","solution":"增值服务订购记录不存在,请检查"},{"code":54002,"type":"业务错误","description":"不支持的物流公司类型","solution":"不支持的物流公司类型"},{"code":54004,"type":"参数缺失","description":"商家编码为空","solution":"商家编码为空,请检查"},{"code":54005,"type":"参数缺失","description":"电子面单取号请求参数列表为空","solution":"电子面单取号请求参数列表为空,请检查"},{"code":54007,"type":"参数缺失","description":"商家名称为空","solution":"商家名称为空,请检查"},{"code":54008,"type":"参数缺失","description":"物流公司编码为空","solution":"物流公司编码为空,请检查"},{"code":54009,"type":"参数缺失","description":"交易订单号为空","solution":"交易订单号为空,请检查"},{"code":54013,"type":"参数缺失","description":"网点编码为空","solution":"网点编码为空,请检查"},{"code":54014,"type":"参数缺失","description":"网点名称为空","solution":"网点名称为空,请检查"},{"code":54017,"type":"参数缺失","description":"客户编码为空","solution":"使用直营快递取号settleAccount(客户编码)不可为空"},{"code":54020,"type":"参数非法","description":"同一个请求中商家编码要一致","solution":"同一个请求中商家编码要一致"},{"code":54023,"type":"参数非法","description":"同一次请求中子请求的订单号和包裹单号不能重复","solution":"同一次请求中子请求的订单号和包裹单号不能重复"},{"code":54034,"type":"参数非法","description":"包裹总数量不能小于0","solution":"包裹总数量不能小于0"},{"code":54049,"type":"业务错误","description":"商品列表不能为空","solution":"商品列表不能为空,请检查"},{"code":54050,"type":"业务错误","description":"商品名称不能为空","solution":"商品名称不能为空"},{"code":54058,"type":"参数非法","description":"支付方式非法","solution":"请选择系统允许的支付方式"},{"code":55002,"type":"参数非法","description":"交易订单备注长度超过512个字符","solution":"交易订单备注长度超过512个字符"},{"code":55006,"type":"参数非法","description":"收件人姓名超过128个字符","solution":"收件人姓名超过128个字符"},{"code":55008,"type":"参数非法","description":"收件人电话号码超过100个字符","solution":"收件人电话号码超过100个字符"},{"code":55009,"type":"参数非法","description":"发货方式非法","solution":"请选择系统允许的发货方式"},{"code":55012,"type":"业务错误","description":"取号失败,因收件人手机信息不合规,请改正后再重新操作即可","solution":"检查mobile字段的手机号格式是否正确\n1.若传入密文必须符合密文格式未被截断,且密文属于当前订单号;2.若传入明文必须为11位手机号"},{"code":55013,"type":"业务错误","description":"取号失败,因无法被解密,请联系ISV排查处理","solution":"收件人姓名、手机号和详细地址密文信息解析失败\n1.检查密文信息是否完整,内容是否来自于订单API,且确认密文信息未被截断\n2.检查密文是否属于该订单号,注意订单号必须为快手订单号,且密文信息必须来自于该订单号"},{"code":57065,"type":"业务错误","description":"地址标准化检查未通过","solution":"请核对请求中收发地址信息是否为国家规定的三级或四级地址信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressEbillGetRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressEbillGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressEbillGetRequest request = new OpenExpressEbillGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<GetEbillOrderRequest> list3 = new ArrayList<>();\n        GetEbillOrderRequest obj1 = new GetEbillOrderRequest();\n        obj1.setMerchantCode(\"334\");\n        obj1.setMerchantName(\"辛巴小店\");\n        obj1.setTotalPackageQuantity(1);\n        obj1.setGoodsDescription(\"服装、家具\");\n        obj1.setPackagingDescription(\"3纸1木\");\n        obj1.setTotalPackageLength(1.2);\n        obj1.setPackageCode(\"34454\");\n        obj1.setExpressProductCode(\"1\");\n        List<ItemDTO> list1 = new ArrayList<>();\n        ItemDTO obj2 = new ItemDTO();\n        obj2.setItemLength(1.1);\n        obj2.setItemWidth(0.7);\n        obj2.setItemHeight(2.3);\n        obj2.setItemWeight(1.2);\n        obj2.setItemSpecs(\"红色;均码\");\n        obj2.setItemVolume(1.3);\n        obj2.setItemTitle(\"尼龙裤\");\n        obj2.setItemQuantity(1);\n        list1.add(obj2);\n        obj1.setItemList(list1);\n        obj1.setExtData(\"{\\\\\\\"isvClientCode\\\\\\\":\\\\\\\"test_code_123\\\\\\\"}\");\n        Contract obj3 = new Contract();\n        obj3.setName(\"张三\");\n        obj3.setMobile(\"18868751267\");\n        obj3.setTelephone(\"010-89343838\");\n        obj1.setReceiverContract(obj3);\n        Contract obj4 = new Contract();\n        obj4.setName(\"张三\");\n        obj4.setMobile(\"18868751267\");\n        obj4.setTelephone(\"010-89343838\");\n        obj1.setSenderContract(obj4);\n        obj1.setHasFreightInsurance(false);\n        obj1.setNetSiteCode(\"8866\");\n        obj1.setNetSiteName(\"上海青浦分拣站点\");\n        obj1.setExpressCompanyCode(\"SF\");\n        obj1.setOrderChannel(\"KUAI_SHOU\");\n        AddressDTO obj5 = new AddressDTO();\n        obj5.setCountryCode(\"1\");\n        obj5.setCountryName(\"中国\");\n        obj5.setProvinceCode(\"1\");\n        obj5.setProvinceName(\"河南省\");\n        obj5.setCityCode(\"1\");\n        obj5.setCityName(\"杭州市\");\n        obj5.setDistrictCode(\"1\");\n        obj5.setDistrictName(\"余杭区\");\n        obj5.setStreetCode(\"1\");\n        obj5.setStreetName(\"1\");\n        obj5.setDetailAddress(\"闲林街道\");\n        obj1.setPodModelAddress(obj5);\n        obj1.setTotalPackageWidth(0.8);\n        obj1.setTotalPackageWeight(2.1);\n        obj1.setTradeOrderRemark(\"上班时间送\");\n        obj1.setTotalPackageVolume(0.4);\n        obj1.setIsSignBack(false);\n        obj1.setPayAmount(2);\n        obj1.setPayMethod(1);\n        obj1.setTotalPackageHeight(1.1);\n        obj1.setTradeOrderCode(\"334553\");\n        AddressDTO obj6 = new AddressDTO();\n        obj6.setCountryCode(\"1\");\n        obj6.setCountryName(\"中国\");\n        obj6.setProvinceCode(\"1\");\n        obj6.setProvinceName(\"河南省\");\n        obj6.setCityCode(\"1\");\n        obj6.setCityName(\"杭州市\");\n        obj6.setDistrictCode(\"1\");\n        obj6.setDistrictName(\"余杭区\");\n        obj6.setStreetCode(\"1\");\n        obj6.setStreetName(\"1\");\n        obj6.setDetailAddress(\"闲林街道\");\n        obj1.setSenderAddress(obj6);\n        obj1.setTemplateUrl(\"http://www.kuaishou.com/cdn/7899\");\n        obj1.setReserveTime(1631006864262);\n        obj1.setReserveEndTime(1631006866262);\n        AddressDTO obj7 = new AddressDTO();\n        obj7.setCountryCode(\"1\");\n        obj7.setCountryName(\"中国\");\n        obj7.setProvinceCode(\"1\");\n        obj7.setProvinceName(\"河南省\");\n        obj7.setCityCode(\"1\");\n        obj7.setCityName(\"杭州市\");\n        obj7.setDistrictCode(\"1\");\n        obj7.setDistrictName(\"余杭区\");\n        obj7.setStreetCode(\"1\");\n        obj7.setStreetName(\"1\");\n        obj7.setDetailAddress(\"闲林街道\");\n        obj1.setReceiverAddress(obj7);\n        obj1.setRequestId(\"1\");\n        List<ExpressServiceDTO> list2 = new ArrayList<>();\n        ExpressServiceDTO obj8 = new ExpressServiceDTO();\n        obj8.setCode(\"223\");\n        obj8.setName(\"保价\");\n        obj8.setValue(\"{}\");\n        list2.add(obj8);\n        obj1.setExpressServices(list2);\n        obj1.setSettleAccount(\"9999999\");\n        WarehouseDTO obj9 = new WarehouseDTO();\n        obj9.setConsignType(2);\n        obj9.setWarehouseOrderId(\"1231312\");\n        obj9.setWarehouseCode(\"code123\");\n        obj9.setWarehouseName(\"测试仓库\");\n        obj9.setConsignNetSiteCode(\"xx2323\");\n        obj9.setSecretKey(\"xxx\");\n        obj1.setWarehouse(obj9);\n        list3.add(obj1);\n        request.setGetEbillOrderRequest(list3);\n\n        OpenExpressEbillGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/express/ebill/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.ebill.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1675135182451' \\\n-d 'param=%7B%22getEbillOrderRequest%22%3A%5B%7B%22merchantCode%22%3A%22334%22%2C%22merchantName%22%3A%22%E8%BE%9B%E5%B7%B4%E5%B0%8F%E5%BA%97%22%2C%22totalPackageQuantity%22%3A1%2C%22goodsDescription%22%3A%22%E6%9C%8D%E8%A3%85%E3%80%81%E5%AE%B6%E5%85%B7%22%2C%22packagingDescription%22%3A%223%E7%BA%B81%E6%9C%A8%22%2C%22totalPackageLength%22%3A1%2E2%2C%22packageCode%22%3A%2234454%22%2C%22expressProductCode%22%3A%221%22%2C%22itemList%22%3A%5B%7B%22itemLength%22%3A1%2E1%2C%22itemWidth%22%3A0%2E7%2C%22itemHeight%22%3A2%2E3%2C%22itemWeight%22%3A1%2E2%2C%22itemSpecs%22%3A%22%E7%BA%A2%E8%89%B2%EF%BC%9B%E5%9D%87%E7%A0%81%22%2C%22itemVolume%22%3A1%2E3%2C%22itemTitle%22%3A%22%E5%B0%BC%E9%BE%99%E8%A3%A4%22%2C%22itemQuantity%22%3A1%7D%5D%2C%22extData%22%3A%22%7B%5C%5C%5C%22isvClientCode%5C%5C%5C%22%3A%5C%5C%5C%22test%5Fcode%5F123%5C%5C%5C%22%7D%22%2C%22receiverContract%22%3A%7B%22name%22%3A%22%E5%BC%A0%E4%B8%89%22%2C%22mobile%22%3A%2218868751267%22%2C%22telephone%22%3A%22010%2D89343838%22%7D%2C%22senderContract%22%3A%7B%22name%22%3A%22%E5%BC%A0%E4%B8%89%22%2C%22mobile%22%3A%2218868751267%22%2C%22telephone%22%3A%22010%2D89343838%22%7D%2C%22hasFreightInsurance%22%3Afalse%2C%22netSiteCode%22%3A%228866%22%2C%22netSiteName%22%3A%22%E4%B8%8A%E6%B5%B7%E9%9D%92%E6%B5%A6%E5%88%86%E6%8B%A3%E7%AB%99%E7%82%B9%22%2C%22expressCompanyCode%22%3A%22SF%22%2C%22orderChannel%22%3A%22KUAI%5FSHOU%22%2C%22podModelAddress%22%3A%7B%22countryCode%22%3A%221%22%2C%22countryName%22%3A%22%E4%B8%AD%E5%9B%BD%22%2C%22provinceCode%22%3A%221%22%2C%22provinceName%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%2C%22cityCode%22%3A%221%22%2C%22cityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22districtCode%22%3A%221%22%2C%22districtName%22%3A%22%E4%BD%99%E6%9D%AD%E5%8C%BA%22%2C%22streetCode%22%3A%221%22%2C%22streetName%22%3A%221%22%2C%22detailAddress%22%3A%22%E9%97%B2%E6%9E%97%E8%A1%97%E9%81%93%22%7D%2C%22totalPackageWidth%22%3A0%2E8%2C%22totalPackageWeight%22%3A2%2E1%2C%22tradeOrderRemark%22%3A%22%E4%B8%8A%E7%8F%AD%E6%97%B6%E9%97%B4%E9%80%81%22%2C%22totalPackageVolume%22%3A0%2E4%2C%22isSignBack%22%3Afalse%2C%22payAmount%22%3A2%2C%22payMethod%22%3A1%2C%22totalPackageHeight%22%3A1%2E1%2C%22tradeOrderCode%22%3A%22334553%22%2C%22senderAddress%22%3A%7B%22countryCode%22%3A%221%22%2C%22countryName%22%3A%22%E4%B8%AD%E5%9B%BD%22%2C%22provinceCode%22%3A%221%22%2C%22provinceName%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%2C%22cityCode%22%3A%221%22%2C%22cityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22districtCode%22%3A%221%22%2C%22districtName%22%3A%22%E4%BD%99%E6%9D%AD%E5%8C%BA%22%2C%22streetCode%22%3A%221%22%2C%22streetName%22%3A%221%22%2C%22detailAddress%22%3A%22%E9%97%B2%E6%9E%97%E8%A1%97%E9%81%93%22%7D%2C%22templateUrl%22%3A%22http%3A%2F%2Fwww%2Ekuaishou%2Ecom%2Fcdn%2F7899%22%2C%22reserveTime%22%3A1631006864262%2C%22reserveEndTime%22%3A1631006866262%2C%22receiverAddress%22%3A%7B%22countryCode%22%3A%221%22%2C%22countryName%22%3A%22%E4%B8%AD%E5%9B%BD%22%2C%22provinceCode%22%3A%221%22%2C%22provinceName%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%2C%22cityCode%22%3A%221%22%2C%22cityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22districtCode%22%3A%221%22%2C%22districtName%22%3A%22%E4%BD%99%E6%9D%AD%E5%8C%BA%22%2C%22streetCode%22%3A%221%22%2C%22streetName%22%3A%221%22%2C%22detailAddress%22%3A%22%E9%97%B2%E6%9E%97%E8%A1%97%E9%81%93%22%7D%2C%22requestId%22%3A%221%22%2C%22expressServices%22%3A%5B%7B%22code%22%3A%22223%22%2C%22name%22%3A%22%E4%BF%9D%E4%BB%B7%22%2C%22value%22%3A%22%7B%7D%22%7D%5D%2C%22settleAccount%22%3A%229999999%22%2C%22warehouse%22%3A%7B%22consignType%22%3A2%2C%22warehouseOrderId%22%3A%221231312%22%2C%22warehouseCode%22%3A%22code123%22%2C%22warehouseName%22%3A%22%E6%B5%8B%E8%AF%95%E4%BB%93%E5%BA%93%22%2C%22consignNetSiteCode%22%3A%22xx2323%22%2C%22secretKey%22%3A%22xxx%22%7D%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"data\": [\n        {\n          \"waybillCode\": \"319787688997698\",\n          \"printData\": \"iooho97900m,d@kdj\",\n          \"parentWaybillCode\": \"319787688997697\",\n          \"version\": \"1\",\n          \"signature\": \"fdsfsd78867fds\",\n          \"key\": \"hlkklfod879\",\n          \"waybillPackageCode\": \"JDV006309839589-1-1-\"\n        }\n      ],\n      \"baseResponse\": {\n        \"result\": 1,\n        \"success\": true,\n        \"message\": \"success\"\n      },\n      \"requestId\": \"1\"\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1718250544584}},{"action":"open.express.ebill.update","title":"更新电子面单信息","category":"快递API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.ebill.update&version=1","sha256":"ed63caa72943b4f43ac9cf070d2a05465affb02c2384e16f35fbc146b9d96e74","bytes":12884},"official":{"id":0,"name":"open.express.ebill.update","cnName":"更新电子面单信息","method":2,"version":1,"description":"根据物流运单或更新电子面单信息","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1127946,"paramName":"goodsDescription","paramType":"String","structureId":0,"example":"服装、家具","required":false,"description":"大件快递货品描述"},{"id":1127947,"paramName":"packagingDescription","paramType":"String","structureId":0,"example":"3纸1木","required":false,"description":"大件快递的包装信息"},{"id":1127948,"paramName":"totalPackageLength","paramType":"Double","structureId":0,"example":"0.3","required":false,"description":"包裹总长度(单位cm)"},{"id":1127949,"paramName":"itemList","paramType":"List<ItemDTO>","structureId":10186,"example":"[{}]","required":false,"description":"商品信息列表"},{"id":1127950,"paramName":"extData","paramType":"String","structureId":0,"example":"key1:value1;key2:value2;","required":false,"description":"面单扩展信息"},{"id":1127951,"paramName":"receiverContract","paramType":"Contract","structureId":10165,"example":"{}","required":false,"description":"收货人联系方式"},{"id":1127952,"paramName":"senderContract","paramType":"Contract","structureId":10165,"example":"{}","required":false,"description":"发货人联系方式"},{"id":1127953,"paramName":"expressCompanyCode","paramType":"String","structureId":0,"example":"SF","required":true,"description":"快递公司编码(不允许修改,见:https://open.kwaixiaodian.com/solution/detail?pageSign=be565dfc5ca82ebb4683bc208f7929051642596657058#section-6)"},{"id":1127954,"paramName":"totalPackageWidth","paramType":"Double","structureId":0,"example":"1.3","required":false,"description":"包裹总宽度(cm)"},{"id":1127955,"paramName":"totalPackageWeight","paramType":"Double","structureId":0,"example":"3.5","required":false,"description":"包裹总重量(g)"},{"id":1127956,"paramName":"tradeOrderRemark","paramType":"String","structureId":0,"example":"上班时间送","required":false,"description":"订单备注信息(最多128字符)"},{"id":1127957,"paramName":"totalPackageVolume","paramType":"Double","structureId":0,"example":"2.1","required":false,"description":"包裹总体积(立方厘米)"},{"id":1127958,"paramName":"totalPackageHeight","paramType":"Double","structureId":0,"example":"2.4","required":false,"description":"包裹总高度(cm)"},{"id":1127959,"paramName":"receiverAddress","paramType":"AddressDTO","structureId":10075,"example":"{}","required":false,"description":"收货人地址信息"},{"id":1127960,"paramName":"waybillCode","paramType":"String","structureId":0,"example":"SF8876789","required":true,"description":"物流运单号(不允许修改)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1127962,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1127963,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1127961,"paramName":"data","paramType":"List<GetEbillOrderDTO>","structureId":10183,"example":"[{}]","required":false,"description":"面单信息"},{"id":1127962,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":1127963,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"}],"errorCodes":[{"code":1001,"type":"系统错误","description":"系统异常","solution":"系统异常,请稍后重试"},{"code":20000,"type":"业务错误","description":"订单已取消","solution":"订单已取消,无法进行操作"},{"code":20010,"type":"业务错误","description":"该地址已超区","solution":"该地址已超区"},{"code":30008,"type":"业务错误","description":"收货地址超区","solution":"收货地址超区"},{"code":30039,"type":"业务错误","description":"收件地址信息为空或信息不规范","solution":"收件地址信息为空或信息不规范,请检查"},{"code":40015,"type":"业务错误","description":"轨迹订购记录ID为空","solution":"轨迹订购记录ID为空"},{"code":54002,"type":"业务错误","description":"不支持的物流公司类型","solution":"只支持加盟快递型更新电子面单"},{"code":54038,"type":"业务错误","description":"查询电子面单不存在","solution":"查询电子面单不存在,请检查"},{"code":54047,"type":"业务错误","description":"当前状态的电子面单不允许更新","solution":"当前状态的电子面单不允许更新"},{"code":54048,"type":"业务错误","description":"无权限更新当前电子面单","solution":"无权限更新当前电子面单"},{"code":55002,"type":"参数非法","description":"交易订单备注长度超过512个字符","solution":"交易订单备注长度超过512个字符"},{"code":55006,"type":"参数非法","description":"收件人姓名超过128个字符","solution":"收件人姓名超过128个字符"},{"code":55008,"type":"参数非法","description":"收件人电话号码超过100个字符","solution":"收件人电话号码超过100个字符"},{"code":55011,"type":"参数非法","description":"收件人手机号格式非法","solution":"收件人手机号格式非法"},{"code":57067,"type":"业务错误","description":"取号失败","solution":"收件人电话为虚拟号,不能用于电子面单取号申请"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressEbillUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressEbillUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressEbillUpdateRequest request = new OpenExpressEbillUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setGoodsDescription(\"服装、家具\");\n        request.setPackagingDescription(\"3纸1木\");\n        request.setTotalPackageLength(0.3);\n        List<ItemDTO> list1 = new ArrayList<>();\n        ItemDTO obj1 = new ItemDTO();\n        obj1.setItemLength(1.1);\n        obj1.setItemWidth(0.7);\n        obj1.setItemHeight(2.3);\n        obj1.setItemWeight(1.2);\n        obj1.setItemSpecs(\"红色;均码\");\n        obj1.setItemVolume(1.3);\n        obj1.setItemTitle(\"尼龙裤\");\n        obj1.setItemQuantity(1);\n        list1.add(obj1);\n        request.setItemList(list1);\n        request.setExtData(\"key1:value1;key2:value2;\");\n        Contract obj2 = new Contract();\n        obj2.setName(\"张三\");\n        obj2.setMobile(\"18868751267\");\n        obj2.setTelephone(\"010-89343838\");\n        request.setReceiverContract(obj2);\n        Contract obj3 = new Contract();\n        obj3.setName(\"张三\");\n        obj3.setMobile(\"18868751267\");\n        obj3.setTelephone(\"010-89343838\");\n        request.setSenderContract(obj3);\n        request.setExpressCompanyCode(\"SF\");\n        request.setTotalPackageWidth(1.3);\n        request.setTotalPackageWeight(3.5);\n        request.setTradeOrderRemark(\"上班时间送\");\n        request.setTotalPackageVolume(2.1);\n        request.setTotalPackageHeight(2.4);\n        AddressDTO obj4 = new AddressDTO();\n        obj4.setCountryCode(\"1\");\n        obj4.setDistrictName(\"余杭区\");\n        obj4.setCityName(\"杭州市\");\n        obj4.setDistrictCode(\"1\");\n        obj4.setDetailAddress(\"闲林街道\");\n        obj4.setCountryName(\"中国\");\n        obj4.setCityCode(\"1\");\n        obj4.setProvinceCode(\"1\");\n        obj4.setStreetCode(\"1\");\n        obj4.setStreetName(\"1\");\n        obj4.setProvinceName(\"河南省\");\n        request.setReceiverAddress(obj4);\n        request.setWaybillCode(\"SF8876789\");\n\n        OpenExpressEbillUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/express/ebill/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.ebill.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1652707777830' \\\n-d 'param=%7B%22goodsDescription%22%3A%22%E6%9C%8D%E8%A3%85%E3%80%81%E5%AE%B6%E5%85%B7%22%2C%22packagingDescription%22%3A%223%E7%BA%B81%E6%9C%A8%22%2C%22totalPackageLength%22%3A0%2E3%2C%22itemList%22%3A%5B%7B%22itemLength%22%3A1%2E1%2C%22itemWidth%22%3A0%2E7%2C%22itemHeight%22%3A2%2E3%2C%22itemWeight%22%3A1%2E2%2C%22itemSpecs%22%3A%22%E7%BA%A2%E8%89%B2%EF%BC%9B%E5%9D%87%E7%A0%81%22%2C%22itemVolume%22%3A1%2E3%2C%22itemTitle%22%3A%22%E5%B0%BC%E9%BE%99%E8%A3%A4%22%2C%22itemQuantity%22%3A1%7D%5D%2C%22extData%22%3A%22key1%3Avalue1%3Bkey2%3Avalue2%3B%22%2C%22receiverContract%22%3A%7B%22name%22%3A%22%E5%BC%A0%E4%B8%89%22%2C%22mobile%22%3A%2218868751267%22%2C%22telephone%22%3A%22010%2D89343838%22%7D%2C%22senderContract%22%3A%7B%22name%22%3A%22%E5%BC%A0%E4%B8%89%22%2C%22mobile%22%3A%2218868751267%22%2C%22telephone%22%3A%22010%2D89343838%22%7D%2C%22expressCompanyCode%22%3A%22SF%22%2C%22totalPackageWidth%22%3A1%2E3%2C%22totalPackageWeight%22%3A3%2E5%2C%22tradeOrderRemark%22%3A%22%E4%B8%8A%E7%8F%AD%E6%97%B6%E9%97%B4%E9%80%81%22%2C%22totalPackageVolume%22%3A2%2E1%2C%22totalPackageHeight%22%3A2%2E4%2C%22receiverAddress%22%3A%7B%22countryCode%22%3A%221%22%2C%22districtName%22%3A%22%E4%BD%99%E6%9D%AD%E5%8C%BA%22%2C%22cityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22districtCode%22%3A%221%22%2C%22detailAddress%22%3A%22%E9%97%B2%E6%9E%97%E8%A1%97%E9%81%93%22%2C%22countryName%22%3A%22%E4%B8%AD%E5%9B%BD%22%2C%22cityCode%22%3A%221%22%2C%22provinceCode%22%3A%221%22%2C%22streetCode%22%3A%221%22%2C%22streetName%22%3A%221%22%2C%22provinceName%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%7D%2C%22waybillCode%22%3A%22SF8876789%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"waybillCode\": \"319787688997698\",\n      \"printData\": \"iooho97900m,d@kdj\",\n      \"parentWaybillCode\": \"319787688997697\",\n      \"version\": \"1\",\n      \"signature\": \"fdsfsd78867fds\",\n      \"key\": \"hlkklfod879\",\n      \"waybillPackageCode\": \"JDV006309839589-1-1-\"\n    }\n  ],\n  \"error_msg\": \"success\",\n  \"result\": 1\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698656060585}},{"action":"open.express.printer.element.query","title":"获取自定义模板打印项列表","category":"快递API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.printer.element.query&version=1","sha256":"e131ed781686df78be78aa2d84c34b8cbfbad2ac92b4e21b3f029d54eec7b61a","bytes":4734},"official":{"id":0,"name":"open.express.printer.element.query","cnName":"获取自定义模板打印项列表","method":1,"version":1,"description":"获取自定义区模板列表","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":946039,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":946040,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":946038,"paramName":"data","paramType":"List<TemplateItemDTO>","structureId":56267,"example":"[]","required":false,"description":"打印项列表"},{"id":946039,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"响应code"},{"id":946040,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误描述"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressPrinterElementQueryRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressPrinterElementQueryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressPrinterElementQueryRequest request = new OpenExpressPrinterElementQueryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenExpressPrinterElementQueryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/express/printer/element/query' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.printer.element.query' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1649673390199' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"itemCode\": \"EBTIO-36\",\n      \"itemName\": \"打印项新建测试\",\n      \"itemRemark\": \"这个一个描述\",\n      \"itemType\": 2,\n      \"itemContent\": \"<layout><text></text></layout>\"\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1649676833401}},{"action":"open.express.reachable.query","title":"查询快递地址是否可达","category":"快递API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.reachable.query&version=1","sha256":"053bd23aebf16bfd415ec26da6c35638b19071a76b34798951eed87e48703c56","bytes":8464},"official":{"id":0,"name":"open.express.reachable.query","cnName":"查询快递地址是否可达","method":2,"version":1,"description":"查询快递地址是否可达\n支持的地址类型:\n0、发货地址+收货地址\n1、发货地址\n2、收货地址","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1195030,"paramName":"reachableRequests","paramType":"List<QueryRoutingReachableRequest>","structureId":88203,"example":"[{}]","required":true,"description":"请求列表(单次请求个数小于10)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1195032,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1195033,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1195031,"paramName":"data","paramType":"List<QueryRoutingReachableResponse>","structureId":88202,"example":"[{}]","required":false,"description":"可达结果列表"},{"id":1195032,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1195033,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":1001,"type":"系统错误","description":"系统异常","solution":"系统异常,请稍后重试"},{"code":40026,"type":"业务错误","description":"物流公司返回分拣信息为空","solution":"请检查三级地址是否完整并稍后重试"},{"code":54031,"type":"业务错误","description":"快递公司[ZTOKY]暂不支持使用电子面单","solution":"快递公司[ZTOKY]暂不支持使用电子面单"},{"code":700003,"type":"业务错误","description":"解密失败","solution":"解密失败"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressReachableQueryRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressReachableQueryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressReachableQueryRequest request = new OpenExpressReachableQueryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<QueryRoutingReachableRequest> list2 = new ArrayList<>();\n        QueryRoutingReachableRequest obj1 = new QueryRoutingReachableRequest();\n        obj1.setRequestId(\"1234532342342\");\n        obj1.setExpressCompanyCode(\"ZTO\");\n        obj1.setType(0);\n        AddressDTO obj2 = new AddressDTO();\n        obj2.setCountryCode(\"1\");\n        obj2.setCountryName(\"中国\");\n        obj2.setProvinceCode(\"1\");\n        obj2.setProvinceName(\"河南省\");\n        obj2.setCityCode(\"1\");\n        obj2.setCityName(\"杭州市\");\n        obj2.setDistrictCode(\"1\");\n        obj2.setDistrictName(\"余杭区\");\n        obj2.setStreetCode(\"1\");\n        obj2.setStreetName(\"1\");\n        obj2.setDetailAddress(\"闲林街道\");\n        obj1.setSenderAddress(obj2);\n        AddressDTO obj3 = new AddressDTO();\n        obj3.setCountryCode(\"1\");\n        obj3.setCountryName(\"中国\");\n        obj3.setProvinceCode(\"1\");\n        obj3.setProvinceName(\"河南省\");\n        obj3.setCityCode(\"1\");\n        obj3.setCityName(\"杭州市\");\n        obj3.setDistrictCode(\"1\");\n        obj3.setDistrictName(\"余杭区\");\n        obj3.setStreetCode(\"1\");\n        obj3.setStreetName(\"1\");\n        obj3.setDetailAddress(\"闲林街道\");\n        obj1.setReceiverAddress(obj3);\n        obj1.setExpressProductCode(\"RCP\");\n        List<ExpressServiceDTO> list1 = new ArrayList<>();\n        ExpressServiceDTO obj4 = new ExpressServiceDTO();\n        obj4.setCode(\"223\");\n        obj4.setName(\"保价\");\n        obj4.setValue(\"{}\");\n        list1.add(obj4);\n        obj1.setExpressServices(list1);\n        list2.add(obj1);\n        request.setReachableRequests(list2);\n\n        OpenExpressReachableQueryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/express/reachable/query' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.reachable.query' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1654509654575' \\\n-d 'param=%7B%22reachableRequests%22%3A%5B%7B%22requestId%22%3A%221234532342342%22%2C%22expressCompanyCode%22%3A%22ZTO%22%2C%22type%22%3A0%2C%22senderAddress%22%3A%7B%22countryCode%22%3A%221%22%2C%22countryName%22%3A%22%E4%B8%AD%E5%9B%BD%22%2C%22provinceCode%22%3A%221%22%2C%22provinceName%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%2C%22cityCode%22%3A%221%22%2C%22cityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22districtCode%22%3A%221%22%2C%22districtName%22%3A%22%E4%BD%99%E6%9D%AD%E5%8C%BA%22%2C%22streetCode%22%3A%221%22%2C%22streetName%22%3A%221%22%2C%22detailAddress%22%3A%22%E9%97%B2%E6%9E%97%E8%A1%97%E9%81%93%22%7D%2C%22receiverAddress%22%3A%7B%22countryCode%22%3A%221%22%2C%22countryName%22%3A%22%E4%B8%AD%E5%9B%BD%22%2C%22provinceCode%22%3A%221%22%2C%22provinceName%22%3A%22%E6%B2%B3%E5%8D%97%E7%9C%81%22%2C%22cityCode%22%3A%221%22%2C%22cityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22districtCode%22%3A%221%22%2C%22districtName%22%3A%22%E4%BD%99%E6%9D%AD%E5%8C%BA%22%2C%22streetCode%22%3A%221%22%2C%22streetName%22%3A%221%22%2C%22detailAddress%22%3A%22%E9%97%B2%E6%9E%97%E8%A1%97%E9%81%93%22%7D%2C%22expressProductCode%22%3A%22RCP%22%2C%22expressServices%22%3A%5B%7B%22code%22%3A%22223%22%2C%22name%22%3A%22%E4%BF%9D%E4%BB%B7%22%2C%22value%22%3A%22%7B%7D%22%7D%5D%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"requestId\": \"1234532342342\",\n      \"reachable\": true,\n      \"errorCode\": 1,\n      \"errorMessage\": \"success\"\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698663941919}},{"action":"open.express.standard.template.list.get","title":"获取所有标准电子面单模板","category":"快递API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.standard.template.list.get&version=1","sha256":"c55fee66fdbc2b075ce5277470822aaf28a188edcf3db5d9bed639802a356b57","bytes":5152},"official":{"id":0,"name":"open.express.standard.template.list.get","cnName":"获取所有标准电子面单模板","method":2,"version":1,"description":"获取所有标准电子面单模板","needPermission":false,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":951172,"paramName":"expressCompanyCode","paramType":"String","structureId":0,"example":"SF","required":false,"description":"公司编码"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":951173,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":951174,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":951173,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":951174,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":951175,"paramName":"data","paramType":"List<TemplateDTO>","structureId":10079,"example":"[{}]","required":false,"description":"模板信息"}],"errorCodes":[{"code":1001,"type":"系统错误","description":"请求量太大","solution":"请求量太大,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressStandardTemplateListGetRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressStandardTemplateListGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressStandardTemplateListGetRequest request = new OpenExpressStandardTemplateListGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setExpressCompanyCode(\"SF\");\n\n        OpenExpressStandardTemplateListGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/express/standard/template/list/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.standard.template.list.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1649756271616' \\\n-d 'param=%7B%22expressCompanyCode%22%3A%22SF%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"templateName\": \"顺丰\",\n      \"templateUrl\": \"http://www.baiduc.om\",\n      \"templateExampleUrl\": \"http://www.baiduc.om\",\n      \"expressCompanyCode\": \"SF\",\n      \"waybillType\": 1,\n      \"templateCode\": \"111\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698719942364}},{"action":"open.express.subscribe.query","title":"查询与物流商的订购和使用信息","category":"快递API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.express.subscribe.query&version=1","sha256":"351fa77fb20711e425a0cfb3020853bd0a822f3f74cca36dd8541b8598b16c1d","bytes":5704},"official":{"id":0,"name":"open.express.subscribe.query","cnName":"查询与物流商的订购和使用信息","method":2,"version":1,"description":"查询授权商家和物流商的订购关系以及面单使用情况","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1179243,"paramName":"expressCompanyCode","paramType":"String","structureId":0,"example":"SF","required":false,"description":"公司编码"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1179244,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1179245,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1179244,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1179245,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":1179246,"paramName":"data","paramType":"List<SubscribeDTO>","structureId":10083,"example":"[{}]","required":false,"description":"订阅详情"}],"errorCodes":[{"code":1001,"type":"系统错误","description":"请求量太大","solution":"请求量太大,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.express.OpenExpressSubscribeQueryRequest;\nimport com.kuaishou.merchant.open.api.response.express.OpenExpressSubscribeQueryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenExpressSubscribeQueryRequest request = new OpenExpressSubscribeQueryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setExpressCompanyCode(\"SF\");\n\n        OpenExpressSubscribeQueryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/express/subscribe/query' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.express.subscribe.query' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1653486877271' \\\n-d 'param=%7B%22expressCompanyCode%22%3A%22SF%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"netSiteCode\": \"1212\",\n      \"availableQuantity\": 13,\n      \"expressCompanyType\": 1,\n      \"senderAddress\": [\n        {\n          \"countryCode\": \"1\",\n          \"districtName\": \"余杭区\",\n          \"cityName\": \"杭州市\",\n          \"districtCode\": \"1\",\n          \"detailAddress\": \"闲林街道\",\n          \"countryName\": \"中国\",\n          \"cityCode\": \"1\",\n          \"provinceCode\": \"1\",\n          \"streetCode\": \"1\",\n          \"streetName\": \"1\",\n          \"provinceName\": \"河南省\"\n        }\n      ],\n      \"cancelQuantity\": 1,\n      \"netSiteName\": \"杭州网点\",\n      \"usedQuantity\": 1,\n      \"expressCompanyCode\": \"SF\",\n      \"recycledQuantity\": 1,\n      \"allocatedQuantity\": 3,\n      \"settleAccount\": \"234242342\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698720006603}},{"action":"open.industry.virtual.order.decrypt","title":"批量解密虚拟订单","category":"行业API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.industry.virtual.order.decrypt&version=1","sha256":"d2066a467fb2d8797295af25cbe022c2ad25cf215a4027b4219cef29177e5b81","bytes":6027},"official":{"id":0,"name":"open.industry.virtual.order.decrypt","cnName":"批量解密虚拟订单","method":2,"version":1,"description":"仅用于解密虚拟发货订单密文数据为明文","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":4238944,"paramName":"decryptList","paramType":"List<DecryptParam>","structureId":177861,"example":"[]","required":false,"description":"解密参数"},{"id":4238945,"paramName":"orderId","paramType":"Long","structureId":0,"example":"2235400000001724","required":false,"description":"快手订单号"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4238946,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4238947,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":4238946,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":4238947,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":4238948,"paramName":"data","paramType":"List<DecryptResult>","structureId":177862,"example":"[]","required":false,"description":"解密结果"}],"errorCodes":[{"code":21,"type":"系统错误","description":"订单查询失败","solution":"订单查询失败"},{"code":1034,"type":"参数非法","description":"请求方式不合法","solution":"当前API请求为POST请求,不可使用其他请求方式,请求参数必须放在body体,请求header请参考示例文档JAVA和CURL示例"},{"code":2076,"type":"系统错误","description":"密文解密失败","solution":"密文解密失败"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.industry.OpenIndustryVirtualOrderDecryptRequest;\nimport com.kuaishou.merchant.open.api.response.industry.OpenIndustryVirtualOrderDecryptResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenIndustryVirtualOrderDecryptRequest request = new OpenIndustryVirtualOrderDecryptRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<DecryptParam> list1 = new ArrayList<>();\n        DecryptParam obj1 = new DecryptParam();\n        obj1.setEncryptedData(\"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\");\n        obj1.setSceneType(1);\n        list1.add(obj1);\n        request.setDecryptList(list1);\n        request.setOrderId(2235400000001724);\n\n        OpenIndustryVirtualOrderDecryptResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/industry/virtual/order/decrypt' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.industry.virtual.order.decrypt' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1672898948107' \\\n-d 'param=%7B%22decryptList%22%3A%5B%7B%22encryptedData%22%3A%22%7EnkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ%7E%22%2C%22sceneType%22%3A1%7D%5D%2C%22orderId%22%3A2235400000001724%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"errorMsg\": \"\\\"\\\"\",\n      \"errorCode\": 1,\n      \"decryptedData\": \"15629052381\",\n      \"encryptedData\": \"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1727083579836}},{"action":"open.industry.virtual.order.detail","title":"查询虚拟订单详情","category":"行业API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.industry.virtual.order.detail&version=1","sha256":"cc08b879256b6e6c479b2b7e8db4caf43a25ff8302086c920c7cf8318c195939","bytes":5141},"official":{"id":0,"name":"open.industry.virtual.order.detail","cnName":"查询虚拟订单详情","method":1,"version":1,"description":"查询虚拟订单详情信息","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2551092,"paramName":"orderId","paramType":"Long","structureId":0,"example":"20210987654327","required":true,"description":"快手订单号"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2551093,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2551094,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2551093,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":2551094,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":2551095,"paramName":"data","paramType":"IndustrVirutalOrderDetail","structureId":177856,"example":"{}","required":false,"description":"订单详情"}],"errorCodes":[{"code":21,"type":"业务错误","description":"不是号卡或虚拟类目订单,不支持查询","solution":"不是号卡或虚拟类目订单,不支持查询"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.industry.OpenIndustryVirtualOrderDetailRequest;\nimport com.kuaishou.merchant.open.api.response.industry.OpenIndustryVirtualOrderDetailResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenIndustryVirtualOrderDetailRequest request = new OpenIndustryVirtualOrderDetailRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(20210987654327);\n\n        OpenIndustryVirtualOrderDetailResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/industry/virtual/order/detail' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.industry.virtual.order.detail' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1672898894866' \\\n-d 'param=%7B%22orderId%22%3A20210987654327%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"userAuthenticationList\": [\n      {\n        \"name\": \"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\",\n        \"idCard\": \"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\"\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1705408209787}},{"action":"open.industry.virtual.order.review","title":"审核虚拟订单","category":"行业API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.industry.virtual.order.review&version=1","sha256":"8dad772e8fabfd91c9bd26451f0bdf16101d3887838d426a2bf33a833292f487","bytes":5288},"official":{"id":0,"name":"open.industry.virtual.order.review","cnName":"审核虚拟订单","method":2,"version":1,"description":"商家回传订单审核结果","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2575614,"paramName":"reviewCode","paramType":"Integer","structureId":0,"example":"200001","required":false,"description":"审核错误码"},{"id":2575615,"paramName":"orderId","paramType":"Long","structureId":0,"example":"2235400000001724","required":false,"description":"订单id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2575616,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2575617,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2575616,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":2575617,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"系统错误","description":"订单查询失败","solution":"订单查询失败"},{"code":2075,"type":"系统错误","description":"订单关闭失败","solution":"订单关闭失败"},{"code":4013071,"type":"业务错误","description":"仅支持「待发货」状态关单,当前状态「待付款」","solution":"仅支持「待发货」状态关单,当前状态「待付款」"},{"code":4013072,"type":"业务错误","description":"存在退款单","solution":"请先处理退款"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.industry.OpenIndustryVirtualOrderReviewRequest;\nimport com.kuaishou.merchant.open.api.response.industry.OpenIndustryVirtualOrderReviewResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenIndustryVirtualOrderReviewRequest request = new OpenIndustryVirtualOrderReviewRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setReviewCode(200001);\n        request.setOrderId(2235400000001724);\n\n        OpenIndustryVirtualOrderReviewResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/industry/virtual/order/review' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.industry.virtual.order.review' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1672898983598' \\\n-d 'param=%7B%22reviewCode%22%3A200001%2C%22orderId%22%3A2235400000001724%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698721137482}},{"action":"open.invoice.subsidy.audit.info","title":"国补消费者发票信息查询新接口","category":"发票API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.invoice.subsidy.audit.info&version=1","sha256":"c8c964efbeba1185b2103368c9a3c0237ee018443aa8d709d460c2dfbeec98b0","bytes":6862},"official":{"id":0,"name":"open.invoice.subsidy.audit.info","cnName":"国补消费者发票信息查询新接口","method":1,"version":1,"description":"国补消费者发票信息查询最新接口,可直接获取明文,无需调用解密接口","needPermission":true,"permissionScope":"merchant_invoice,merchant_funds,merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":6953235,"paramName":"oid","paramType":"String","structureId":0,"example":"202502110040228","required":true,"description":"快手订单号"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":6953236,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":6953238,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":6953236,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":6953237,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":6953238,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":6953239,"paramName":"data","paramType":"OpenInvoiceInfo","structureId":533127,"example":"{}","required":false,"description":"国补消费者开票信息"}],"errorCodes":[{"code":1,"type":"SUCCESS","description":"成功","solution":"无"},{"code":990005,"type":"INVOICE_PEND_BIll_NOT_EXIST","description":"订单不存在","solution":"订单不存在"},{"code":990004,"type":"INVOICE_PEND_BIll_STATUS_ERROR","description":"不支持交易失败订单查看审计信息","solution":"不支持交易失败订单查看审计信息"},{"code":990019,"type":"SUBSIDY_SELLERID_NOT_MATCH","description":"用户信息不匹配","solution":"越权校验"},{"code":990040,"type":"SUBSIDY_PRIVATE_CHECK_REFUSE","description":"暂无权限查看","solution":"安全&风控校验不通过"},{"code":100011,"type":"SERVER_ERROR","description":"系统异常","solution":"系统异常"},{"code":80003,"type":"DATA_ASSERT_ERROR","description":"数据校验异常","solution":"校验订单信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.invoice.OpenInvoiceSubsidyAuditInfoRequest;\nimport com.kuaishou.merchant.open.api.response.invoice.OpenInvoiceSubsidyAuditInfoResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenInvoiceSubsidyAuditInfoRequest request = new OpenInvoiceSubsidyAuditInfoRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOid(\"202502110040228\");\n\n        OpenInvoiceSubsidyAuditInfoResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/invoice/subsidy/audit/info' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.invoice.subsidy.audit.info' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1745762614868' \\\n-d 'param=%7B%22oid%22%3A%22202502110040228%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"receiveQualicationPhoneNumber\": \"1340000000\",\n    \"customerIdCard\": \"11000000000000\",\n    \"customerName\": \"张三\",\n    \"paySerialNo\": \"122025022110041\",\n    \"modelNo\": \"BQG100-BD176PLUSLU112\",\n    \"imeiFirst\": \"8619250715342302\",\n    \"imeiSecond\": \"8619250715342222\",\n    \"serialNumber\": \"202502280012\",\n    \"signPictures\": [\n      {\n        \"label\": \"外包装SN码照片\",\n        \"urls\": [\n          \"xxurl\",\n          \"xxxurl\"\n        ],\n        \"value\": \"OUTER_PACKAGE_SN\"\n      }\n    ],\n    \"oid\": \"202502021223131\",\n    \"amount\": \"20.00\",\n    \"subSidyAmount\": \"10.00\",\n    \"userPayAmount\": \"10.00\",\n    \"city\": \"北京\",\n    \"barCode\": \"693511789429423\",\n    \"channelSeqNo\": \"999\",\n    \"openInvoiceSubjectProto\": {\n      \"name\": \"xxx公司\",\n      \"taxNo\": \"AB123456\",\n      \"address\": \"xxx\",\n      \"phone\": \"13400000000\",\n      \"bankInfo\": \"xx银行\",\n      \"bankNo\": \"xxx\"\n    }\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1748490068260}},{"action":"open.item.autopass.edit","title":"免审编辑商品","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.autopass.edit&version=1","sha256":"1ced74d6f531bdb8a3418240b8e2fafe9cb174a2e20879e5e346418b78b3bd6e","bytes":19965},"official":{"id":0,"name":"open.item.autopass.edit","cnName":"免审编辑商品","method":2,"version":1,"description":"更改商品的库存、价格和服务承诺等信息,无需审核直接生效","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9619385,"paramName":"itemId","paramType":"Long","structureId":0,"example":"3221412313","required":true,"description":"商品唯一id"},{"id":9619386,"paramName":"purchaseLimit","paramType":"Boolean","structureId":0,"example":"true","required":false,"description":"是否限购"},{"id":9619387,"paramName":"limitCount","paramType":"Integer","structureId":0,"example":"99","required":false,"description":"限购数量"},{"id":9619388,"paramName":"itemRemark","paramType":"String","structureId":0,"example":"商品备注","required":false,"description":"商品备注"},{"id":9619389,"paramName":"skuList","paramType":"OpenApiAutoPassSkuDTO[]","structureId":8778,"example":"[{}]","required":false,"description":"sku信息"},{"id":9619390,"paramName":"serviceRule","paramType":"ServiceRule","structureId":8779,"example":"{}","required":false,"description":"服务规则"},{"id":9619391,"paramName":"expressTemplateId","paramType":"Long","structureId":0,"example":"12321321","required":false,"description":"运费模板Id"},{"id":9619392,"paramName":"saleTimeFlag","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否定点开售"},{"id":9619393,"paramName":"timeOfSale","paramType":"Long","structureId":0,"example":"1631001896457","required":false,"description":"定点开售时间"},{"id":9619394,"paramName":"payWay","paramType":"Integer","structureId":0,"example":"2","required":false,"description":"支付方式:1 货到付款 2 在线支付\n3 在线支付和货到付款"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9619395,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9619396,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9619395,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9619396,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9619397,"paramName":"data","paramType":"AddItemResponseParam","structureId":148,"example":"{}","required":false,"description":"返回内容"}],"errorCodes":[{"code":1120001,"type":"系统错误","description":"发送消息SecondHandQualificationService失败","solution":"服务端错误,请稍后重试"},{"code":1060010,"type":"系统错误","description":"服务出小差了,请稍后重试~","solution":"服务端异常,请重试"},{"code":1220021,"type":"业务错误","description":"商品当前状态不允许进行操作","solution":"请等待商品审核通过后再操作"},{"code":1240238,"type":"业务错误","description":"商品开售时间不能早于当前时间","solution":"调整商品开售时间"},{"code":1240040,"type":"业务错误","description":"划线价须知未确认","solution":"请商家到官方后台商品页面确认划线价须知"},{"code":1240140,"type":"业务错误","description":"该商品参与平台补贴活动中,暂不支持新增SKU","solution":"活动商品参与平台补贴活动,不能新增sku"},{"code":1240141,"type":"业务错误","description":"商品价格锁定, 禁止修改sku售卖价","solution":"活动商品价格被锁定,不能编辑价格"},{"code":1220011,"type":"业务错误","description":"商品锁定目前不支持修改","solution":"商品锁定目前不支持修改"},{"code":1240007,"type":"业务错误","description":"xx字段的长度必须小于等于xx个字符(xx个汉字)","solution":"请修改对应字段值"},{"code":1240050,"type":"业务错误","description":"xx字段只能包含中文、英文、数字","solution":"请修改对应字段值"},{"code":1220034,"type":"业务错误","description":"由于类目调整,当前商品所属类目无法查询到,请根据最新的类目进行编辑修改","solution":"重新编辑商品修改类目信息"},{"code":1240112,"type":"业务错误","description":"当前类目要求商品必须支持「服务承诺-{0}」,请设置「服务承诺-{0}」","solution":"服务承诺错误,请重新选择"},{"code":1240205,"type":"业务错误","description":"提交的商品资质信息有误, 请检查后重新提交","solution":"提交的商品资质信息有误,请重新提交"},{"code":1240010,"type":"业务错误","description":"xx字段包含敏感词","solution":"请调整对应字段,删除敏感词"},{"code":1240213,"type":"业务错误","description":"您的运费模板已失效,请重新选择后提交","solution":"您的运费模板已失效,请重新选择后提交"},{"code":8070020,"type":"系统错误","description":"服务出小差了,请稍后重试~","solution":"服务出小差了,请稍后重试~"},{"code":8070021,"type":"系统错误","description":"服务出小差了,请稍后重试~","solution":"服务出小差了,请稍后重试~"},{"code":8070022,"type":"系统错误","description":"服务出小差了,请稍后重试~","solution":"服务出小差了,请稍后重试~"},{"code":8070023,"type":"系统错误","description":"服务出小差了,请稍后重试~","solution":"服务出小差了,请稍后重试~"},{"code":8070024,"type":"系统错误","description":"服务出小差了,请稍后重试~","solution":"服务出小差了,请稍后重试~"},{"code":8070025,"type":"系统错误","description":"服务出小差了,请稍后重试~","solution":"服务出小差了,请稍后重试~"},{"code":1240183,"type":"业务错误","description":"店铺不符合预售门槛,相关说明请点击https://ppg.m.etoote.com/doodle/wToqXcTs.html","solution":"店铺不符合预售门槛,具体要求请查看链接:https://ppg.m.etoote.com/doodle/wToqXcTs.html"},{"code":1140001,"type":"系统错误","description":"操作频繁,请稍后重试!","solution":"操作频繁,请稍后重试,并降低访问频次"},{"code":1241036,"type":"业务错误","description":"不支持的退货类型","solution":"按所选类目支持的退货类型重新选择"},{"code":1220044,"type":"业务错误","description":"您选择的类目需要补缴{0}保证金,请前往电脑端登录「网页版快手小店-账户资金-保证金」缴纳","solution":"请前往电脑端登录「网页版快手小店-账户资金-保证金」缴纳"},{"code":1220029,"type":"业务错误","description":"您选择的类目在{0}暂不开放,类目开放明细可查询 https://edu.kwaixiaodian.com/rule/web/detail?id=tjYW6tntgd","solution":"请重新选择商品类目"},{"code":1220030,"type":"业务错误","description":"(线上定邀)您选择的类目需要定向邀请开通。请前往电脑端「店铺管理-店铺信息设置-行业资质」进行开通>","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置-行业资质」进行申请"},{"code":1240150,"type":"业务错误","description":"当前类目商品价格不能高于{0}元","solution":"请按照所选类目允许的价格最大值调整输入价格"},{"code":1240156,"type":"业务错误","description":"根据平台规则,发货时间必须在{0}~{1}天区间内","solution":"请按照所选类目允许的预售发货时间调整输入"},{"code":1220046,"type":"业务错误","description":"您选择的商品类目仅限定签约入仓后发布。如果您想发布并售卖该类目商品,请在快手小店-物流管理-真宝仓质检页面完成线上签约操作。\\n签约后请及时与真宝仓建联,并将订单送到真宝仓发货,私下发货会导致钱货两失!","solution":"请在快手小店-物流管理-真宝仓质检页面完成线上签约操作。签约后请及时与真宝仓建联,并将订单送到真宝仓发货,私下发货会导致钱货两失"},{"code":1220042,"type":"业务错误","description":"您选择的商品类目所需资质尚未上传或已失效或未通过等,请前往电脑端「店铺管理-店铺信息-行业资质」维护资质或查询状态,详见《店铺行业资质要求》","solution":"请前往电脑端 「快手小店-店铺管理-店铺信息设置-行业资质」维护资质,详见《店铺行业资质要求》"},{"code":1220032,"type":"业务错误","description":"您暂无该类目的经营权限,请先前往电脑端「店铺-店铺管理-资质管理-行业资质」开通。","solution":"请先前往电脑端「店铺-店铺管理-资质管理-行业资质」开通"},{"code":1220012,"type":"业务错误","description":"您已被负向处罚,全店商品不可操作","solution":"请前往官方后台确认是否存在违规记录"},{"code":1220013,"type":"业务错误","description":"您已被负向处罚,自建商品不可操作","solution":"请前往官方后台确认是否存在违规记录"},{"code":1220015,"type":"业务错误","description":"您已被负向处罚,指定类目商品不可操作","solution":"请前往官方后台确认是否存在违规记录"},{"code":1220016,"type":"业务错误","description":"您已被负向处罚,当前商品不可操作","solution":"请前往官方后台确认是否存在违规记录"},{"code":1220017,"type":"业务错误","description":"您已被负向处罚,不可新增或编辑商品","solution":"请前往官方后台确认是否存在违规记录"},{"code":1220018,"type":"业务错误","description":"您已被负向处罚,不可新增商品","solution":"请前往官方后台确认是否存在违规记录"},{"code":1220019,"type":"业务错误","description":"您已被负向处罚,不可编辑商品","solution":"请前往官方后台确认是否存在违规记录"},{"code":1240048,"type":"业务错误","description":"您已被负向处罚,该品牌暂不可使用","solution":"请前往官方后台确认是否存在违规记录"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemAutopassEditRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemAutopassEditResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemAutopassEditRequest request = new OpenItemAutopassEditRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(3221412313);\n        request.setPurchaseLimit(true);\n        request.setLimitCount(99);\n        request.setItemRemark(\"商品备注\");\n        OpenApiAutoPassSkuDTO[] array1 = new OpenApiAutoPassSkuDTO[1];\n        OpenApiAutoPassSkuDTO obj1 = new OpenApiAutoPassSkuDTO();\n        obj1.setSkuId(321231312);\n        obj1.setSkuChangeStock(100);\n        obj1.setSkuStockChangeType(1);\n        obj1.setSkuSalePrice(299);\n        obj1.setSkuMarketPrice(355);\n        obj1.setSkuNick(\"NS3847\");\n        obj1.setRelSkuId(162312312);\n        SkuCertificatePropParam obj2 = new SkuCertificatePropParam();\n        obj2.setCondition(\"9成新\");\n        obj2.setPurchasingChannels(\"国行\");\n        obj2.setBatteryEfficiency(\"80-90%\");\n        obj2.setMainBoard(\"无维修\");\n        obj2.setBatteryCondition(\"原装电池\");\n        obj2.setScreenCondition(\"第三方屏幕\");\n        obj2.setShellCollision(\"明显\");\n        obj2.setReportUrl(\"https://m.paipai.com/ppinspect/activeReport\");\n        obj2.setQualityInspectionNo(\"852180\");\n        obj2.setSn(\"353************625\");\n        obj2.setShellScratch(\"明显\");\n        obj2.setShellPaint(\"明显\");\n        obj2.setDeviceSystem(\"无越狱/无Root\");\n        obj1.setSkuCertificatePropValues(obj2);\n        obj1.setGtinCode(\"12345670\");\n        array1[0] = obj1;\n        request.setSkuList(array1);\n        ServiceRule obj3 = new ServiceRule();\n        obj3.setRefundRule(\"1\");\n        obj3.setDeliverGoodsInteralTime(345600);\n        obj3.setPromiseDeliveryTime(172800);\n        obj3.setImmediatelyOnOfflineFlag(0);\n        obj3.setDeliveryMethod(\"logistics:物流配送(默认)\");\n        OpenApiServicePromise obj4 = new OpenApiServicePromise();\n        obj4.setFreshRotRefund(true);\n        obj4.setBrokenRefund(true);\n        obj4.setAllergyRefund(true);\n        obj4.setCrabRefund(true);\n        obj4.setWeightGuarantee(true);\n        obj3.setServicePromise(obj4);\n        OpenApiUnavailableTimeRule obj5 = new OpenApiUnavailableTimeRule();\n        List<Integer> list1 = new ArrayList<>();\n        list1.add(1);\n        obj5.setWeeks(list1);\n        List<Integer> list2 = new ArrayList<>();\n        list2.add(1);\n        obj5.setHolidays(list2);\n        List<OpenApiTimeRange> list3 = new ArrayList<>();\n        OpenApiTimeRange obj6 = new OpenApiTimeRange();\n        obj6.setStartTime(1640078945111);\n        obj6.setEndTime(1640078945111);\n        list3.add(obj6);\n        obj5.setTimeRanges(list3);\n        obj3.setUnavailableTimeRule(obj5);\n        obj3.setCertMerchantCode(\"merchant\");\n        obj3.setCertExpireType(1);\n        obj3.setCertStartTime(1640078945111);\n        obj3.setCertEndTime(1640078945111);\n        obj3.setCertExpDays(11);\n        obj3.setOrderPurchaseLimitType(1);\n        obj3.setMinOrderCount(2);\n        obj3.setMaxOrderCount(3);\n        CustomerInfo obj7 = new CustomerInfo();\n        obj7.setCustomerInfoType(\"1\");\n        List<String> list4 = new ArrayList<>();\n        list4.add(\"1\");\n        obj7.setCustomerCertificateType(list4);\n        obj3.setCustomerInfo(obj7);\n        obj3.setPriceProtectDays(7);\n        obj3.setDeliveryTimeMode(\"spot\");\n        obj3.setSupportVerification(1);\n        request.setServiceRule(obj3);\n        request.setExpressTemplateId(12321321);\n        request.setSaleTimeFlag(false);\n        request.setTimeOfSale(1631001896457);\n        request.setPayWay(2);\n\n        OpenItemAutopassEditResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/autopass/edit' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.autopass.edit' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1770139315775' \\\n-d 'param=%7B%22itemId%22%3A3221412313%2C%22purchaseLimit%22%3Atrue%2C%22limitCount%22%3A99%2C%22itemRemark%22%3A%22%E5%95%86%E5%93%81%E5%A4%87%E6%B3%A8%22%2C%22skuList%22%3A%5B%7B%22skuId%22%3A321231312%2C%22skuChangeStock%22%3A100%2C%22skuStockChangeType%22%3A1%2C%22skuSalePrice%22%3A299%2C%22skuMarketPrice%22%3A355%2C%22skuNick%22%3A%22NS3847%22%2C%22relSkuId%22%3A162312312%2C%22skuCertificatePropValues%22%3A%7B%22condition%22%3A%229%E6%88%90%E6%96%B0%22%2C%22purchasingChannels%22%3A%22%E5%9B%BD%E8%A1%8C%22%2C%22batteryEfficiency%22%3A%2280%2D90%25%22%2C%22mainBoard%22%3A%22%E6%97%A0%E7%BB%B4%E4%BF%AE%22%2C%22batteryCondition%22%3A%22%E5%8E%9F%E8%A3%85%E7%94%B5%E6%B1%A0%22%2C%22screenCondition%22%3A%22%E7%AC%AC%E4%B8%89%E6%96%B9%E5%B1%8F%E5%B9%95%22%2C%22shellCollision%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22reportUrl%22%3A%22https%3A%2F%2Fm%2Epaipai%2Ecom%2Fppinspect%2FactiveReport%22%2C%22qualityInspectionNo%22%3A%22852180%22%2C%22sn%22%3A%22353%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A625%22%2C%22shellScratch%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22shellPaint%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22deviceSystem%22%3A%22%E6%97%A0%E8%B6%8A%E7%8B%B1%2F%E6%97%A0Root%22%7D%2C%22gtinCode%22%3A%2212345670%22%7D%5D%2C%22serviceRule%22%3A%7B%22refundRule%22%3A%221%22%2C%22deliverGoodsInteralTime%22%3A345600%2C%22promiseDeliveryTime%22%3A172800%2C%22immediatelyOnOfflineFlag%22%3A0%2C%22deliveryMethod%22%3A%22logistics%EF%BC%9A%E7%89%A9%E6%B5%81%E9%85%8D%E9%80%81%EF%BC%88%E9%BB%98%E8%AE%A4%EF%BC%89%22%2C%22servicePromise%22%3A%7B%22freshRotRefund%22%3Atrue%2C%22brokenRefund%22%3Atrue%2C%22allergyRefund%22%3Atrue%2C%22crabRefund%22%3Atrue%2C%22weightGuarantee%22%3Atrue%7D%2C%22unavailableTimeRule%22%3A%7B%22weeks%22%3A%5B1%2C2%5D%2C%22holidays%22%3A%5B1%2C2%5D%2C%22timeRanges%22%3A%5B%7B%22startTime%22%3A1640078945111%2C%22endTime%22%3A1640078945111%7D%5D%7D%2C%22certMerchantCode%22%3A%22merchant%22%2C%22certExpireType%22%3A1%2C%22certStartTime%22%3A1640078945111%2C%22certEndTime%22%3A1640078945111%2C%22certExpDays%22%3A11%2C%22orderPurchaseLimitType%22%3A1%2C%22minOrderCount%22%3A2%2C%22maxOrderCount%22%3A3%2C%22customerInfo%22%3A%7B%22customerInfoType%22%3A%221%22%2C%22customerCertificateType%22%3A%5B1%5D%7D%2C%22priceProtectDays%22%3A7%2C%22deliveryTimeMode%22%3A%22spot%22%2C%22supportVerification%22%3A1%7D%2C%22expressTemplateId%22%3A12321321%2C%22saleTimeFlag%22%3Afalse%2C%22timeOfSale%22%3A1631001896457%2C%22payWay%22%3A2%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"kwaiItemId\": 234225423,\n    \"relItemId\": 23322112,\n    \"skuIdMapping\": [\n      {\n        \"kwaiSkuId\": 1232141,\n        \"relSkuId\": 233233,\n        \"skuNick\": \"123422\"\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1786613068040}},{"action":"open.item.brand.list.get","title":"获取品牌列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.brand.list.get&version=1","sha256":"c5d91afae205fc1c0e4d88bb2646382921c34e242a9ff7510bf0765295a443c3","bytes":6620},"official":{"id":0,"name":"open.item.brand.list.get","cnName":"获取品牌列表","method":2,"version":1,"description":"1.获取商品类目下的品牌列表,可以根据品牌名称进行模糊搜索,返回内容有序\n2.若在类目下搜索不到品牌,请检查在该类目下是否进行了品牌申报\n3.商家品牌申报入口-[品牌申报@https://s.kwaixiaodian.com/goods/brand/apply?from=edit]\n4.品牌申报查询入口-[申报查询@https://s.kwaixiaodian.com/goods/brand/list]","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7157820,"paramName":"cursor","paramType":"Integer","structureId":0,"example":"0","required":true,"description":"cursor第一次请求传0,之后传rpc接口返回的cursor值,最大不能超过2000"},{"id":7157821,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1003","required":true,"description":"类目id"},{"id":7157822,"paramName":"propId","paramType":"Long","structureId":0,"example":"3001","required":true,"description":"从获取类目属性值接口中获取“品牌”的propId"},{"id":7157823,"paramName":"propValue","paramType":"String","structureId":0,"example":"\"杰克\"","required":false,"description":"用作模糊查询关键字"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7157824,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7157825,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":7157824,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":7157825,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回错误信息"},{"id":7157826,"paramName":"data","paramType":"PropValueDtoLIst","structureId":1413,"example":"{}","required":false,"description":"返回信息data"}],"errorCodes":[{"code":11,"type":"系统错误","description":"服务端错误","solution":"服务端错误,请稍后重试"},{"code":13,"type":"业务错误","description":"商品关联类目非叶子节点","solution":"请选择叶子类目"},{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":2480149,"type":"参数非法","description":"参数cursor超过阈值","solution":"调小参数cursor,增加其他查询条件"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemBrandListGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemBrandListGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemBrandListGetRequest request = new OpenItemBrandListGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCategoryId(1003);\n        request.setPropId(3001);\n        request.setCursor(0);\n        request.setPropValue(\"\\\"杰克\\\"\");\n\n        OpenItemBrandListGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/brand/list/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.brand.list.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623134949056' \\\n-d 'param=%7B%22categoryId%22%3A1003%2C%22propId%22%3A3001%2C%22cursor%22%3A0%2C%22propValue%22%3A%22%5C%22%E6%9D%B0%E5%85%8B%5C%22%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"propValueDto\": [\n      {\n        \"propValueId\": 10001,\n        \"propValue\": \"“汉字”\"\n      }\n    ],\n    \"cursor\": 1,\n    \"total\": 1,\n    \"propId\": 100001\n  },\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":69,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410275117}},{"action":"open.item.category.config","title":"获取类目相关配置信息","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.config&version=1","sha256":"ba9e0df244a6f6477699cdd2385a3f614b1c6d25964f0628f86c4bb03ed339c9","bytes":6740},"official":{"id":0,"name":"open.item.category.config","cnName":"获取类目相关配置信息","method":1,"version":1,"description":"1.获取类目相关配置信息,返回的类目配置信息的范围与店铺类型相关\n2.店铺类型与类目开放关系详情见文档《快手小店开放类目及资质一览表》https://www.kwaixiaodian.com/rules?id=tjYW6tntgd","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":6920800,"paramName":"categoryId","paramType":"Number","structureId":0,"example":"1027","required":true,"description":"类目id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":6920801,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":6920802,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":6920801,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":6920802,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"},{"id":6920803,"paramName":"data","paramType":"GetItemCategoryConfigResponseParam","structureId":161,"example":"{}","required":false,"description":"返回数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryConfigRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryConfigResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryConfigRequest request = new OpenItemCategoryConfigRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCategoryId(1027);\n\n        OpenItemCategoryConfigResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/category/config' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.config' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1736148463061' \\\n-d 'param=%7B%22categoryId%22%3A1027%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"categoryConfig\": {\n      \"refundRuleList\": [\n        7,\n        1\n      ],\n      \"preSaleTime\": 45,\n      \"allergyRefund\": \"0\",\n      \"freshRotRefund\": \"1\",\n      \"brokenRefund\": \"2\",\n      \"weightGuarantee\": \"0\"\n    },\n    \"categoryPropSwitch\": false,\n    \"propConfigs\": [\n      {\n        \"propId\": 321312423,\n        \"propName\": \"ACG作品\",\n        \"preConstraint\": true,\n        \"prePropValues\": [\n          {\n            \"propId\": 123213,\n            \"propValues\": [\n              {\n                \"propValueId\": 4718388,\n                \"propValue\": \"海贼王\"\n              }\n            ]\n          }\n        ],\n        \"required\": true,\n        \"propValueMaximum\": 20,\n        \"sortNum\": 1,\n        \"propInputConfig\": {\n          \"dateInputConfig\": {\n            \"type\": \"daterange\",\n            \"rangeList\": [\n              \"2020-10-1\",\n              \"2020-10-11\"\n            ]\n          },\n          \"inputFormatConfig\": {\n            \"patternList\": \"无\",\n            \"useLimit\": true,\n            \"max\": 21321,\n            \"min\": 11,\n            \"message\": \"错误信息\"\n          },\n          \"imageInputConfig\": {\n            \"minCount\": 5,\n            \"maxCount\": 7,\n            \"minWidth\": 1000,\n            \"minHeight\": 2000\n          }\n        },\n        \"propInputType\": \"TEXT\",\n        \"unitProp\": [\n          {\n            \"unitPropValueId\": 1002,\n            \"unitPropValueName\": \"千克\"\n          }\n        ],\n        \"customInput\": false\n      }\n    ]\n  }\n}"}],"viewNum":1072,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1768378221957}},{"action":"open.item.category","title":"获取商品类目列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category&version=1","sha256":"1a847c27b4bf7d53ce29e66b717702510c6a7c056ddfb6c36d08b8201d6d29ad","bytes":4970},"official":{"id":0,"name":"open.item.category","cnName":"获取商品类目列表","method":1,"version":1,"description":"1.小店商品类目的变更频率较低,无需频繁拉取\n2.请关注快手小店类目更新动态,按需重新拉取更新,类目更新动态请关注[《快手小店开放类目及资质一览表》 @https://www.kwaixiaodian.com/rules?id=tjYW6tntgd]","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7157827,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7157829,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7157827,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":7157828,"paramName":"data","paramType":"GetCategoryResponseParam[]","structureId":170,"example":"[]","required":false,"description":"类目列表"},{"id":7157829,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误描述"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryRequest request = new OpenItemCategoryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenItemCategoryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/category' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1632825826493' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": [\n    {\n      \"categoryId\": 1065,\n      \"categoryName\": \"手机/数码/电脑办公\",\n      \"categoryPid\": 0\n    }\n  ],\n  \"error_msg\": \"success\"\n}"}],"viewNum":1492,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750408762910}},{"action":"open.item.category.optional.get","title":"获取商家可选类目列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.optional.get&version=1","sha256":"a1b9d1a3957902cac6211d937651dc055fc51d8738c0c519d1269e5d897710a5","bytes":5120},"official":{"id":0,"name":"open.item.category.optional.get","cnName":"获取商家可选类目列表","method":1,"version":1,"description":"获取完整的类目树信息,包含一级类目、二级类目、三级类目和叶子类目的ID及名称,以及当前授权商家的每级类目开通情况","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":6687295,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":6687296,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":6687295,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":6687296,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":6687297,"paramName":"data","paramType":"QueryCategoryTreeDTO[]","structureId":270324,"example":"[]","required":false,"description":"类目列表信息"}],"errorCodes":[{"code":21,"type":"参数错误","description":"商家id<=0参数错误","solution":"检查商家id参数信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryOptionalGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryOptionalGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryOptionalGetRequest request = new OpenItemCategoryOptionalGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenItemCategoryOptionalGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/category/optional/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.optional.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1695030975362' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"categoryId\": 111,\n      \"categoryName\": \"珠宝玉石\",\n      \"hierarchy\": 1,\n      \"open\": true,\n      \"childCategory\": []\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410297818}},{"action":"open.item.category.prop.standard.get","title":"获取标品模版信息","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.prop.standard.get&version=1","sha256":"572bd9f46d537970a6ff8281b7c57c503982f528022081ae7c1a64e31358e45e","bytes":12226},"official":{"id":0,"name":"open.item.category.prop.standard.get","cnName":"获取标品模版信息","method":2,"version":1,"description":"1、用途:该接口主要用来查询某个类目下标品的模版信息(包括:关键属性、补充属性、标品是否支持图片的信息及填写规则),这些模版信息可以用来申报、纠错标品以及发布商品\n2、接口调用:传入叶子类目ID即可获取模版信息\n3、模版信息使用说明\n   3.1、keyPropList中都是关键属性信息,需要关注 commonRuleGroup 字段中的 必填、是否支持自定义输入规则,以及 propAlias 属性别名,inputType 属性输入类型(关键属性只有单选这一种输入类型)\n   3.2、spuPropList中都是补充属性信息,需要关注 commonRuleGroup 字段中的 必填、是否支持自定义输入规则,以及 propAlias 属性别名,inputType 属性输入类型(补充属性有单选、多选、文本框 这三种输入类型)\n   3.3、standardImageRule表示标品的图片规则,商家申报纠错标品需按要求填写\n4、属性值说明:该接口只会返回属性项信息不会返回属性值信息,查询属性值信息请查询(open.item.category.prop.value.search)接口","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7281433,"paramName":"leafCategoryId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"叶子类目ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7281434,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7281435,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7281434,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7281435,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7281436,"paramName":"keyPropList","paramType":"TemplateCommonPropCacheDTO","structureId":302667,"example":"{}","required":false,"description":"关键属性信息"},{"id":7281437,"paramName":"spuPropList","paramType":"TemplateCommonPropCacheDTO","structureId":302667,"example":"{}","required":false,"description":"补充属性(SPU属性)信息"},{"id":7281438,"paramName":"standardImageRule","paramType":"StandardImageRule","structureId":302668,"example":"{}","required":false,"description":"标品图片规则配置"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryPropStandardGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryPropStandardGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryPropStandardGetRequest request = new OpenItemCategoryPropStandardGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setLeafCategoryId(1);\n\n        OpenItemCategoryPropStandardGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/category/prop/standard/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.prop.standard.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1700725094032' \\\n-d 'param=%7B%22leafCategoryId%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"keyPropList\": {\n    \"templateProp\": [\n      {\n        \"propId\": 12345,\n        \"preConstraint\": [\n          {\n            \"propValueId\": [\n              234563,\n              213214,\n              123213\n            ],\n            \"propId\": 119\n          }\n        ],\n        \"inputType\": 1,\n        \"propAlias\": \"快手测试属性\",\n        \"unitProp\": [\n          {\n            \"unitPropValueId\": 12345,\n            \"unitPropValueCode\": \"rmb_yuan\",\n            \"unitPropId\": 67890,\n            \"unitPropValueName\": \"货币单位\"\n          }\n        ],\n        \"propType\": 1,\n        \"sortSeq\": 1,\n        \"isImportantProp\": 1,\n        \"propName\": \"型号\",\n        \"inputConfig\": \"\\\"{\\\\\\\"dateRange\\\\\\\":{},\\\\\\\"inputFormat\\\\\\\":{\\\\\\\"pattern\\\\\\\":[\\\\\\\"\\\\\\\\\\\\\\\\u4E00-\\\\\\\\\\\\\\\\u9FA5\\\\\\\",\\\\\\\"0-9\\\\\\\",\\\\\\\"a-zA-Z\\\\\\\",\\\\\\\"、()(),,./\\\\\\\\\\\\\\\\-\\\\\\\"],\\\\\\\"message\\\\\\\":\\\\\\\"只能包括中文、数字、英文、顿号,括号,逗号,中划线,小数点,斜杠\\\\\\\",\\\\\\\"useLimit\\\\\\\":false,\\\\\\\"max\\\\\\\":0,\\\\\\\"min\\\\\\\":0},\\\\\\\"imageFormat\\\\\\\":{\\\\\\\"minCount\\\\\\\":1,\\\\\\\"maxCount\\\\\\\":1,\\\\\\\"minWidth\\\\\\\":0,\\\\\\\"minHeight\\\\\\\":0}}\\\"\",\n        \"propDescImage\": [],\n        \"isSpuProp\": 1,\n        \"templateId\": 213213,\n        \"propCode\": \"2\",\n        \"propDesc\": \"\\\"{\\\"dateRange\\\":{},\\\"inputFormat\\\":{\\\"pattern\\\":[\\\"\\\\\\\\\\\\\\\\u4E00-\\\\\\\\\\\\\\\\u9FA5\\\\\\\",\\\"0-9\\\",\\\"a-zA-Z\\\",\\\"、()(),,./\\\\\\\\\\\\\\\\-\\\\\\\"],\\\"message\\\":\\\"只能包括中文、数字、英文、顿号,括号,逗号,中划线,小数点,斜杠\\\",\\\"useLimit\\\":false,\\\"max\\\":0,\\\"min\\\":0},\\\"imageFormat\\\":{\\\"minCount\\\":1,\\\"maxCount\\\":1,\\\"minWidth\\\":0,\\\"minHeight\\\":0}}\\\"\",\n        \"commonRuleGroup\": {\n          \"propRule\": [\n            {\n              \"ruleType\": 14,\n              \"ruleConfig\": \"\\\"[\\\\\\\"MERCHANT_CROSSBORDER_FLAGSHIP_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_EXCLUSIVE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_FRANCHISE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_ULTIMATE_FLAGSHIP_SHOP\\\\\\\"]\\\"\"\n            }\n          ]\n        },\n        \"assignRuleGroup\": [\n          {\n            \"propRule\": [\n              {\n                \"ruleType\": 14,\n                \"ruleConfig\": \"\\\"[\\\\\\\"MERCHANT_CROSSBORDER_FLAGSHIP_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_EXCLUSIVE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_FRANCHISE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_ULTIMATE_FLAGSHIP_SHOP\\\\\\\"]\\\"\"\n              }\n            ]\n          }\n        ]\n      }\n    ]\n  },\n  \"spuPropList\": {\n    \"templateProp\": [\n      {\n        \"propId\": 12345,\n        \"preConstraint\": [\n          {\n            \"propValueId\": [\n              234563,\n              213214,\n              123213\n            ],\n            \"propId\": 119\n          }\n        ],\n        \"inputType\": 1,\n        \"propAlias\": \"快手测试属性\",\n        \"unitProp\": [\n          {\n            \"unitPropValueId\": 12345,\n            \"unitPropValueCode\": \"rmb_yuan\",\n            \"unitPropId\": 67890,\n            \"unitPropValueName\": \"货币单位\"\n          }\n        ],\n        \"propType\": 1,\n        \"sortSeq\": 1,\n        \"isImportantProp\": 1,\n        \"propName\": \"型号\",\n        \"inputConfig\": \"\\\"{\\\\\\\"dateRange\\\\\\\":{},\\\\\\\"inputFormat\\\\\\\":{\\\\\\\"pattern\\\\\\\":[\\\\\\\"\\\\\\\\\\\\\\\\u4E00-\\\\\\\\\\\\\\\\u9FA5\\\\\\\",\\\\\\\"0-9\\\\\\\",\\\\\\\"a-zA-Z\\\\\\\",\\\\\\\"、()(),,./\\\\\\\\\\\\\\\\-\\\\\\\"],\\\\\\\"message\\\\\\\":\\\\\\\"只能包括中文、数字、英文、顿号,括号,逗号,中划线,小数点,斜杠\\\\\\\",\\\\\\\"useLimit\\\\\\\":false,\\\\\\\"max\\\\\\\":0,\\\\\\\"min\\\\\\\":0},\\\\\\\"imageFormat\\\\\\\":{\\\\\\\"minCount\\\\\\\":1,\\\\\\\"maxCount\\\\\\\":1,\\\\\\\"minWidth\\\\\\\":0,\\\\\\\"minHeight\\\\\\\":0}}\\\"\",\n        \"propDescImage\": [],\n        \"isSpuProp\": 1,\n        \"templateId\": 213213,\n        \"propCode\": \"2\",\n        \"propDesc\": \"\\\"{\\\"dateRange\\\":{},\\\"inputFormat\\\":{\\\"pattern\\\":[\\\"\\\\\\\\\\\\\\\\u4E00-\\\\\\\\\\\\\\\\u9FA5\\\\\\\",\\\"0-9\\\",\\\"a-zA-Z\\\",\\\"、()(),,./\\\\\\\\\\\\\\\\-\\\\\\\"],\\\"message\\\":\\\"只能包括中文、数字、英文、顿号,括号,逗号,中划线,小数点,斜杠\\\",\\\"useLimit\\\":false,\\\"max\\\":0,\\\"min\\\":0},\\\"imageFormat\\\":{\\\"minCount\\\":1,\\\"maxCount\\\":1,\\\"minWidth\\\":0,\\\"minHeight\\\":0}}\\\"\",\n        \"commonRuleGroup\": {\n          \"propRule\": [\n            {\n              \"ruleType\": 14,\n              \"ruleConfig\": \"\\\"[\\\\\\\"MERCHANT_CROSSBORDER_FLAGSHIP_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_EXCLUSIVE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_FRANCHISE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_ULTIMATE_FLAGSHIP_SHOP\\\\\\\"]\\\"\"\n            }\n          ]\n        },\n        \"assignRuleGroup\": [\n          {\n            \"propRule\": [\n              {\n                \"ruleType\": 14,\n                \"ruleConfig\": \"\\\"[\\\\\\\"MERCHANT_CROSSBORDER_FLAGSHIP_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_EXCLUSIVE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_FRANCHISE_SHOP\\\\\\\",\\\\\\\"MERCHANT_CROSSBORDER_ULTIMATE_FLAGSHIP_SHOP\\\\\\\"]\\\"\"\n              }\n            ]\n          }\n        ]\n      }\n    ]\n  },\n  \"standardImageRule\": {\n    \"propValueName\": \"支持上传标品图片且为必填\",\n    \"propValue\": 1\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410363563}},{"action":"open.item.category.prop.value.search","title":"搜索类目属性值","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.prop.value.search&version=1","sha256":"d835d92cba6581d22e2a7118f461b174af4545d83ce0c0cf7f7d9950a2677c50","bytes":6917},"official":{"id":0,"name":"open.item.category.prop.value.search","cnName":"搜索类目属性值","method":1,"version":1,"description":"1.搜索类目相关的属性值信息,返回的属性值配置信息的范围与店铺类型相关\n2.店铺类型与类目开放关系详情见文档[《快手小店开放类目及资质一览表》@https://www.kwaixiaodian.com/rules?id=tjYW6tntgd]","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8394511,"paramName":"categoryId","paramType":"Number","structureId":0,"example":"1027","required":true,"description":"类目id"},{"id":8394512,"paramName":"propId","paramType":"Number","structureId":0,"example":"123213","required":true,"description":"属性id,必填"},{"id":8394513,"paramName":"propValue","paramType":"String","structureId":0,"example":"海贼王","required":false,"description":"属性值"},{"id":8394514,"paramName":"cursor","paramType":"Number","structureId":0,"example":"0","required":true,"description":"游标,如果propId=102,则最大允许输入2000"},{"id":8394515,"paramName":"limit","paramType":"Number","structureId":0,"example":"10","required":true,"description":"分页数量,最大500"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8394516,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8394518,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":8394516,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":8394517,"paramName":"data","paramType":"SearchCategoryPropValueResponseParam","structureId":203,"example":"{}","required":false,"description":"返回值data"},{"id":8394518,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回说明"}],"errorCodes":[{"code":11,"type":"系统错误","description":"服务端错误","solution":"服务端错误,请稍后重试"},{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":400,"type":"参数非法","description":"请求参数非法","solution":"请求参数非法,请检查"},{"code":100002,"type":"参数非法","description":"商品不存在","solution":"商品不存在,请确认参数是否正确"},{"code":100003,"type":"参数非法","description":"商品id不合法","solution":"商品id不合法,请确认参数是否正确"},{"code":2480149,"type":"参数非法","description":"品牌查询,参数cursor超过阈值2000","solution":"请调小cursor的值"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryPropValueSearchRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryPropValueSearchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryPropValueSearchRequest request = new OpenItemCategoryPropValueSearchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCategoryId(1027);\n        request.setPropId(123213);\n        request.setPropValue(\"海贼王\");\n        request.setCursor(0);\n        request.setLimit(10);\n\n        OpenItemCategoryPropValueSearchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/category/prop/value/search' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.prop.value.search' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1660564670272' \\\n-d 'param=%7B%22categoryId%22%3A1027%2C%22propId%22%3A123213%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%2C%22cursor%22%3A0%2C%22limit%22%3A10%7D'\n\n"},{"name":"error","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"total\": 333,\n    \"cursor\": 10,\n    \"propValues\": [\n      {\n        \"propValueId\": 4718388,\n        \"propValue\": \"海贼王\"\n      }\n    ]\n  },\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":768,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1770364075625}},{"action":"open.item.category.standard.check","title":"获取标品发品规则","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.standard.check&version=1","sha256":"628415be269c1a300a7d131ad31408ad59973ab9ff5ad146559ae5bc3b5c033d","bytes":5774},"official":{"id":0,"name":"open.item.category.standard.check","cnName":"获取标品发品规则","method":1,"version":1,"description":"1、用途:该接口主要用来获取标品的发品规则,判断该类目是否可以用来发布标品\n2、接口使用:传入叶子类目ID即可返回对应的发品规则\n3、发品规则说明 :\n  「1-标品强管控」:表示该类目是强管控的,用该类目只能发布标品\n  「2-标品弱管控」:表示该类目是弱管控的,既可以用来进行标品发品,也可以进行普通商品发品\n  「0-非标品管控」:表示该类目没有配置标品管控规则,不能用来发布标品","needPermission":false,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8288318,"paramName":"leafCategoryId","paramType":"Long","structureId":0,"example":"12345","required":true,"description":"1"},{"id":8288319,"paramName":"brandId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"品牌ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8288320,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8288321,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8288320,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":8288321,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8288322,"paramName":"data","paramType":"StandardPublishConfg","structureId":642790,"example":"{\n    \"propValueName\": \"标品弱管控\",\n    \"propValueCode\": \"2\"\n  }","required":false,"description":"{\n    \"propValueName\": \"标品弱管控\",\n    \"propValueCode\": \"2\"\n  }"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryStandardCheckRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryStandardCheckResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryStandardCheckRequest request = new OpenItemCategoryStandardCheckRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setLeafCategoryId(12345);\n\n        OpenItemCategoryStandardCheckResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/category/standard/check' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.standard.check' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1700725074057' \\\n-d 'param=%7B%22leafCategoryId%22%3A12345%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"propValueName\": \"标品强管控\",\n    \"propValueCode\": \"1\"\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1765433937237}},{"action":"open.item.category.standard.search","title":"标品信息查询","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.standard.search&version=1","sha256":"908d64b710794b533cbc415c6762cc3f7803f396373b2effaebf75b17c7af791","bytes":8839},"official":{"id":0,"name":"open.item.category.standard.search","cnName":"标品信息查询","method":2,"version":1,"description":"1、用途:该接口主要是用来查询标品的属性信息(关键属性、绑定属性(SPU属性)、标品图片)、标品ID、类目ID、类目路径、标品状态等\n2、使用方法:\n    方法1、输入 叶子类目ID + 标品ID\n    方法2、输入 叶子类目ID + 关键属性信息\n3、数据范围:该接口可以查询平台上所有审核通过的标品信息\nTips:\n   1、可以通过接口(open.item.standard.apply.query)查询商家自己申报的标品信息,审核通过的标品可以直接使用\n   2、关键属性信息的可以从接口(open.item.category.prop.standard.get)获取","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7281226,"paramName":"standardId","paramType":"Long","structureId":0,"example":"171001","required":false,"description":"标品ID"},{"id":7281227,"paramName":"leafCategoryId","paramType":"Long","structureId":0,"example":"23403","required":false,"description":"叶子类目ID"},{"id":7281228,"paramName":"standardKeyPropList","paramType":"StandardKeyProp[]","structureId":302533,"example":"[\n    {\n      \"propId\": \"25100\",\n      \"propName\": \"测试属性名\",\n      \"inputType\": \"RADIO\",\n      \"propValueId\": \"1067387300\",\n      \"propValueName\": \"\"\n    },\n    {\n      \"propId\": \"102\",\n      \"propName\": \"品牌\",\n      \"inputType\": \"RADIO\",\n      \"propValueId\": \"317218\",\n      \"propValueName\": \"测试品牌名\"\n    }\n  ]","required":false,"description":"standardKeyPropList 代表标品关键属性:\n输入内容是一个列表\npropId:代表属性项ID\npropName:属性项名称\ninputType:代表输入类型,默认为RADIO(单选),这个参数也可以不填,默认为单选\npropValueId:属性值ID\npropValueName:属性值名称"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7281229,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7281230,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7281229,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7281230,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7281231,"paramName":"data","paramType":"StandardInfoForOpenApiDTO","structureId":302532,"example":"{}","required":false,"description":"搜索到的标品信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryStandardSearchRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryStandardSearchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryStandardSearchRequest request = new OpenItemCategoryStandardSearchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setStandardId(171001);\n        request.setLeafCategoryId(23403);\n        StandardKeyProp[] array1 = new StandardKeyProp[1];\n        StandardKeyProp obj1 = new StandardKeyProp();\n        obj1.setPropId(123456);\n        obj1.setPropName(\"手机型号\");\n        obj1.setInputType(\"RADIO\");\n        obj1.setPropValueId(23456789);\n        obj1.setPropValueName(\"Apple 14\");\n        array1[0] = obj1;\n        request.setStandardKeyPropList(array1);\n\n        OpenItemCategoryStandardSearchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/category/standard/search' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.standard.search' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1700725022919' \\\n-d 'param=%7B%22standardId%22%3A171001%2C%22leafCategoryId%22%3A23403%2C%22standardKeyPropList%22%3A%5B%7B%22propId%22%3A123456%2C%22propName%22%3A%22%E6%89%8B%E6%9C%BA%E5%9E%8B%E5%8F%B7%22%2C%22inputType%22%3A%22RADIO%22%2C%22propValueId%22%3A23456789%2C%22propValueName%22%3A%22Apple+14%22%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"standardId\": 21345,\n    \"categoryId\": 23405,\n    \"categoryPath\": [\n      {\n        \"categoryId\": 2354,\n        \"categoryName\": \"药品\"\n      }\n    ],\n    \"standardName\": \"真匠 国药准字Z22024217 6克/袋x21袋/盒 锁阳固精丸\",\n    \"standardStatus\": 1,\n    \"keyProps\": [\n      {\n        \"propName\": \"型号\",\n        \"unitPropValueId\": 21312,\n        \"propId\": 12345,\n        \"propValue\": \"{\\n\\\"propValueId\\\":3404,\\n\\\"propValue\\\":\\\"真匠\\\"\\n}\",\n        \"templatePropType\": 1,\n        \"sortNum\": 1,\n        \"unitPropValueName\": \"个\",\n        \"inputType\": \"RADIO\",\n        \"propAlias\": \"xiaomi\",\n        \"propType\": \"ITEM\",\n        \"propDesc\": \"例子:图片需清晰完整,且在有效期内,不得进行涂改、遮挡等\"\n      }\n    ],\n    \"spuProps\": [\n      {\n        \"propName\": \"型号\",\n        \"unitPropValueId\": 21312,\n        \"propId\": 12345,\n        \"propValue\": \"{\\n\\\"propValueId\\\":3404,\\n\\\"propValue\\\":\\\"真匠\\\"\\n}\",\n        \"templatePropType\": 1,\n        \"sortNum\": 1,\n        \"unitPropValueName\": \"个\",\n        \"inputType\": \"RADIO\",\n        \"propAlias\": \"xiaomi\",\n        \"propType\": \"ITEM\",\n        \"propDesc\": \"例子:图片需清晰完整,且在有效期内,不得进行涂改、遮挡等\"\n      }\n    ],\n    \"standardImages\": [\n      \"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg?bp=10180\"\n    ],\n    \"auditStatus\": 1\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410464817}},{"action":"open.item.category.standard.search.spu","title":"标品信息查询(新)","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.standard.search.spu&version=1","sha256":"607d08089384e675863275ac0d0dabc7988b3a888c4bbf9bd992637c6a43fc41","bytes":8295},"official":{"id":0,"name":"open.item.category.standard.search.spu","cnName":"标品信息查询(新)","method":2,"version":1,"description":"1、用途:该接口主要是用来查询标品的属性信息(关键属性、绑定属性(SPU属性)、标品图片)、标品ID、类目ID、类目路径、标品状态等\n2、使用方法:\n    方法1、输入 叶子类目ID + 标品ID\n    方法2、输入 叶子类目ID + 关键属性信息\n3、数据范围:该接口可以查询平台上所有审核通过的标品信息\nTips:\n   1、可以通过接口(open.item.standard.apply.query)查询商家自己申报的标品信息,审核通过的标品可以直接使用\n   2、关键属性信息的可以从接口(open.item.category.prop.standard.get)获取","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7162152,"paramName":"standardId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"标品ID"},{"id":7162153,"paramName":"leafCategoryId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"叶子类目ID"},{"id":7162154,"paramName":"standardKeyPropList","paramType":"List<StandardKeyPropForOpenApiDTO>","structureId":518337,"example":"[]","required":false,"description":"关键属性"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7162157,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7162158,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7162155,"paramName":"baseRespInfo","paramType":"ProductCommonResponseInfo","structureId":31786,"example":"{}","required":false,"description":"baseRespInfo"},{"id":7162156,"paramName":"standardInfo","paramType":"StandardInfoForOpenApiDTO","structureId":289488,"example":"{}","required":false,"description":"标品信息"},{"id":7162157,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7162158,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategoryStandardSearchSpuRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategoryStandardSearchSpuResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategoryStandardSearchSpuRequest request = new OpenItemCategoryStandardSearchSpuRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setStandardId(1);\n        request.setUserId(1);\n        request.setLeafCategoryId(1);\n        List<StandardKeyPropForOpenApiDTO> list1 = new ArrayList<>();\n        StandardKeyPropForOpenApiDTO obj1 = new StandardKeyPropForOpenApiDTO();\n        obj1.setPropName(\"1\");\n        obj1.setPropValueId(1);\n        obj1.setPropId(1);\n        obj1.setPropValueName(\"1\");\n        obj1.setInputType(\"1\");\n        list1.add(obj1);\n        request.setStandardKeyPropList(list1);\n\n        OpenItemCategoryStandardSearchSpuResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/category/standard/search/spu' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.standard.search.spu' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1744276708994' \\\n-d 'param=%7B%22standardId%22%3A1%2C%22userId%22%3A1%2C%22leafCategoryId%22%3A1%2C%22standardKeyPropList%22%3A%5B%7B%22propName%22%3A%221%22%2C%22propValueId%22%3A1%2C%22propId%22%3A1%2C%22propValueName%22%3A%221%22%2C%22inputType%22%3A%221%22%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"baseRespInfo\": {\n    \"msg\": \"成功\",\n    \"code\": 1\n  },\n  \"standardInfo\": {\n    \"standardId\": 1,\n    \"auditSource\": 1,\n    \"keyPropDto\": [\n      {\n        \"valueSourceType\": \"1\",\n        \"unitPropValueId\": 1,\n        \"propId\": 1,\n        \"inputType\": \"1\",\n        \"propAlias\": \"1\",\n        \"propType\": \"1\",\n        \"propName\": \"1\",\n        \"propValue\": \"1\",\n        \"templatePropType\": 1,\n        \"sortNum\": 1,\n        \"unitPropValueName\": \"1\",\n        \"preFillType\": \"1\",\n        \"propDesc\": \"1\"\n      }\n    ],\n    \"categoryName\": [],\n    \"standardApplySource\": 1,\n    \"standardOtherImages\": \"1\",\n    \"applyTime\": 1,\n    \"auditPerson\": \"1\",\n    \"auditStatus\": 1,\n    \"rejectReason\": \"1\",\n    \"standardMd5\": \"1\",\n    \"auditTime\": 1,\n    \"categoryId\": 1,\n    \"standardStatus\": 1,\n    \"categoryPath\": [\n      {\n        \"categoryName\": \"1\",\n        \"categoryId\": 1\n      }\n    ],\n    \"spuPropDto\": [\n      {\n        \"valueSourceType\": \"1\",\n        \"unitPropValueId\": 1,\n        \"propId\": 1,\n        \"inputType\": \"1\",\n        \"propAlias\": \"1\",\n        \"propType\": \"1\",\n        \"propName\": \"1\",\n        \"propValue\": \"1\",\n        \"templatePropType\": 1,\n        \"sortNum\": 1,\n        \"unitPropValueName\": \"1\",\n        \"preFillType\": \"1\",\n        \"propDesc\": \"1\"\n      }\n    ],\n    \"standardImages\": [],\n    \"standardApplyId\": 1,\n    \"standardName\": \"1\",\n    \"applyType\": 1\n  },\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410493500}},{"action":"open.item.category.suggested.get","title":"获取商品类目预测结果","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.category.suggested.get&version=1","sha256":"99f5a5b4c12cf84d945ae051fbce63fd6490e1061a57eaa395beeadb8f8c13bd","bytes":7342},"official":{"id":0,"name":"open.item.category.suggested.get","cnName":"获取商品类目预测结果","method":1,"version":1,"description":"1.根据商品图片、商品标题、商品描述信息获取推荐的发品类目和商家资质开通情况,最多返回三个推荐类目\n2.每个商家每天最多使用2000次","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7304096,"paramName":"imageUrls","paramType":"String[]","structureId":0,"example":"[\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_IMAGE-11318492-acbe7dbb2c6348579f1d7bdaa1730003.jpg\"]","required":true,"description":"商品图片信息,至少包含一张图片且仅支持快手图片的URL"},{"id":7304097,"paramName":"itemTitle","paramType":"String","structureId":0,"example":"矿泉水","required":true,"description":"商品标题"},{"id":7304098,"paramName":"itemDesc","paramType":"String","structureId":0,"example":"一瓶农夫山泉矿泉水,蕴含丰富的微量元素","required":false,"description":"商品描述"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7304099,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7304100,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7304099,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7304100,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7304101,"paramName":"data","paramType":"QueryCategoryDetailDTO[]","structureId":270313,"example":"[]","required":false,"description":"推荐类目信息"}],"errorCodes":[{"code":21,"type":"参数非法","description":"主要为上传请求的参数错误,具体描述信息可参考返回的error_msg,包括\n1. 商家id<=0参数错误\n2. 商品标题为空\n3. 商品图片列表为空\n4. 上传的图片不是快手图片","solution":"检查请求参数,根据返回的error_msg信息进行相应修改"},{"code":5007,"type":"业务错误","description":"黑名单用户暂无权限获取商品类目预测结果","solution":"申请获取商品类目预测结果接口的权限"},{"code":802006,"type":"系统错误","description":"APP已达到当天调用额度限制,请申请额度","solution":"每个商家每天调用商品预测类目接口的上限为1000,达到上限后不允许再使用,以满足每个商家每天发布商品为500的需求"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategorySuggestedGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategorySuggestedGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategorySuggestedGetRequest request = new OpenItemCategorySuggestedGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        String[] array1 = new String[1];\n        array1[0] = \"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_IMAGE-11318492-acbe7dbb2c6348579f1d7bdaa1730003.jpg\";\n        request.setImageUrls(array1);\n        request.setItemTitle(\"矿泉水\");\n        request.setItemDesc(\"一瓶农夫山泉矿泉水,蕴含丰富的微量元素\");\n\n        OpenItemCategorySuggestedGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/category/suggested/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.category.suggested.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1695030950950' \\\n-d 'param=%7B%22imageUrls%22%3A%5B%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FITEM%5FIMAGE%2D11318492%2Dacbe7dbb2c6348579f1d7bdaa1730003%2Ejpg%22%5D%2C%22itemTitle%22%3A%22%E7%9F%BF%E6%B3%89%E6%B0%B4%22%2C%22itemDesc%22%3A%22%E4%B8%80%E7%93%B6%E5%86%9C%E5%A4%AB%E5%B1%B1%E6%B3%89%E7%9F%BF%E6%B3%89%E6%B0%B4%EF%BC%8C%E8%95%B4%E5%90%AB%E4%B8%B0%E5%AF%8C%E7%9A%84%E5%BE%AE%E9%87%8F%E5%85%83%E7%B4%A0%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"categoryNamePath\": [\n        \"家居生活\",\n        \"居家日用\",\n        \"净化除味\"\n      ],\n      \"categoryCodePath\": [\n        1013,\n        1308,\n        3290\n      ],\n      \"open\": true\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750818761373}},{"action":"open.item.categoryprops.adaptandvalidate","title":"发品前置-类目属性入参兼容并校验","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.categoryprops.adaptandvalidate&version=1","sha256":"0b99f2f1e980c8a5179916fecec28783e7da30b2a179b883a38f1a4c15d27895","bytes":9194},"official":{"id":0,"name":"open.item.categoryprops.adaptandvalidate","cnName":"发品前置-类目属性入参兼容并校验","method":2,"version":1,"description":"发品前置-类目属性入参兼容并校验","needPermission":true,"permissionScope":"merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9290918,"paramName":"itemPropValues","paramType":"ItemPropValue[]","structureId":8882,"example":"[{}]","required":true,"description":"商品类目属性,商品类目属性有必填项,必传。(注意:商品类目属性不允许重复)"},{"id":9290919,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1003","required":true,"description":"类目Id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9290920,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9290922,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9290920,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9290921,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":9290922,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9290923,"paramName":"data","paramType":"CategoryPropAdaptAndValidateRes","structureId":731213,"example":"{}","required":false,"description":"类目属性列表兼容与校验返回数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemCategorypropsAdaptandvalidateRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemCategorypropsAdaptandvalidateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemCategorypropsAdaptandvalidateRequest request = new OpenItemCategorypropsAdaptandvalidateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        ItemPropValue[] array3 = new ItemPropValue[1];\n        ItemPropValue obj1 = new ItemPropValue();\n        obj1.setPropId(123213);\n        CategoryPropValueParam obj2 = new CategoryPropValueParam();\n        obj2.setPropValueId(4718388);\n        obj2.setPropValue(\"海贼王\");\n        obj1.setRadioPropValue(obj2);\n        CategoryPropValueParam[] array1 = new CategoryPropValueParam[1];\n        CategoryPropValueParam obj3 = new CategoryPropValueParam();\n        obj3.setPropValueId(4718388);\n        obj3.setPropValue(\"海贼王\");\n        array1[0] = obj3;\n        obj1.setCheckBoxPropValuesList(array1);\n        obj1.setTextPropValue(\"测试\");\n        obj1.setDatetimeTimestamp(1577808000000);\n        DateRangeParam obj4 = new DateRangeParam();\n        obj4.setStartTimeTimestamp(1632423413);\n        obj4.setEndTimeTimestamp(1643243211);\n        obj1.setDateRange(obj4);\n        obj1.setSortNum(12);\n        List<String> list1 = new ArrayList<>();\n        list1.add(\"http://www.baidu.com/1.jpg\");\n        obj1.setImagePropValues(list1);\n        obj1.setPropName(\"男装风格1\");\n        obj1.setPropAlias(\"男装\");\n        obj1.setInputType(1);\n        obj1.setPropType(1);\n        obj1.setUnitPropValueId(1);\n        obj1.setUnitPropValueName(\"ml\");\n        MaterialPropValueParam[] array2 = new MaterialPropValueParam[1];\n        MaterialPropValueParam obj5 = new MaterialPropValueParam();\n        obj5.setPropValueId(4718388);\n        obj5.setPropValue(\"棉\");\n        obj5.setContent(66.66);\n        array2[0] = obj5;\n        obj1.setMaterialPropValuesList(array2);\n        array3[0] = obj1;\n        request.setItemPropValues(array3);\n        request.setCategoryId(1003);\n\n        OpenItemCategorypropsAdaptandvalidateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/categoryprops/adaptandvalidate' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.categoryprops.adaptandvalidate' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1782117483923' \\\n-d 'param=%7B%22itemPropValues%22%3A%5B%7B%22propId%22%3A123213%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%2C%22checkBoxPropValuesList%22%3A%5B%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%5D%2C%22textPropValue%22%3A%22%E6%B5%8B%E8%AF%95%22%2C%22datetimeTimestamp%22%3A1577808000000%2C%22dateRange%22%3A%7B%22startTimeTimestamp%22%3A1632423413%2C%22endTimeTimestamp%22%3A1643243211%7D%2C%22sortNum%22%3A12%2C%22imagePropValues%22%3A%5B%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%2Ejpg%22%2C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F2%2Ejpg%22%5D%2C%22propName%22%3A%22%E7%94%B7%E8%A3%85%E9%A3%8E%E6%A0%BC1%22%2C%22propAlias%22%3A%22%E7%94%B7%E8%A3%85%22%2C%22inputType%22%3A1%2C%22propType%22%3A1%2C%22unitPropValueId%22%3A1%2C%22unitPropValueName%22%3A%22ml%22%2C%22materialPropValuesList%22%3A%5B%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%A3%89%22%2C%22content%22%3A%2266%2E66%22%7D%5D%7D%5D%2C%22categoryId%22%3A1003%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"categoryId\": 123,\n    \"itemPropValues\": [\n      {\n        \"propId\": 123213,\n        \"radioPropValue\": {\n          \"propValueId\": 4718388,\n          \"propValue\": \"海贼王\"\n        },\n        \"checkBoxPropValuesList\": [\n          {\n            \"propValueId\": 4718388,\n            \"propValue\": \"海贼王\"\n          }\n        ],\n        \"textPropValue\": \"测试\",\n        \"datetimeTimestamp\": 1577808000000,\n        \"dateRange\": {\n          \"startTimeTimestamp\": 1632423413,\n          \"endTimeTimestamp\": 1643243211\n        },\n        \"sortNum\": 12,\n        \"imagePropValues\": [\n          \"http://www.baidu.com/1.jpg\",\n          \"http://www.baidu.com/2.jpg\"\n        ],\n        \"propName\": \"男装风格1\",\n        \"propAlias\": \"男装\",\n        \"inputType\": 1,\n        \"propType\": 1,\n        \"unitPropValueId\": 1,\n        \"unitPropValueName\": \"ml\",\n        \"materialPropValuesList\": [\n          {\n            \"propValueId\": 4718388,\n            \"propValue\": \"棉\",\n            \"content\": \"66.66\"\n          }\n        ]\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1782790857880}},{"action":"open.item.delete","title":"删除商品","category":"商品API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.delete&version=1","sha256":"a3c8f628c80f0d844c1cf3efba320141ca35f6f71d94645099d760f80f5526f9","bytes":6025},"official":{"id":0,"name":"open.item.delete","cnName":"删除商品","method":2,"version":1,"description":"商品处于未上架状态时,允许删除商品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7162169,"paramName":"kwaiItemId","paramType":"Number","structureId":0,"example":"223423425","required":true,"description":"快手商品id"},{"id":7162170,"paramName":"relItemId","paramType":"Long","structureId":0,"example":"123","required":false,"description":"外部商品id,仅供记录外部商品和快手商品对应关系"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7162171,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7162172,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"商品正在售卖中不允许删除","required":false,"description":"子返回信息"},{"id":7162171,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码 1成功"},{"id":7162172,"paramName":"error_msg","paramType":"String","structureId":0,"example":"商品正在售卖中不允许删除","required":false,"description":"商品正在售卖中不允许删除"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":300,"type":"业务错误","description":"商品准入未通过","solution":"请重新编辑商品信息"},{"code":400,"type":"参数非法","description":"请求参数非法","solution":"请求参数非法,请检查"},{"code":2052,"type":"业务错误","description":"商品目前状态不支持删除","solution":"商品不支持删除"},{"code":2066,"type":"业务错误","description":"商品正在售卖中不允许删除","solution":"商品正在售卖中不允许删除"},{"code":20059,"type":"系统错误","description":"操作频繁,请稍后重试","solution":"操作频繁,请稍后重试,并降低访问频次"},{"code":100002,"type":"参数非法","description":"商品不存在","solution":"商品不存在,请确认参数是否正确"},{"code":100065,"type":"系统错误","description":"抱歉,系统繁忙,请稍后重试","solution":"请检查参数信息,稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemDeleteRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemDeleteResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemDeleteRequest request = new OpenItemDeleteRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setKwaiItemId(223423425);\n        request.setRelItemId(123);\n\n        OpenItemDeleteResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/delete' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.delete' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1639556538584' \\\n-d 'param=%7B%22kwaiItemId%22%3A223423425%2C%22relItemId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\":\"商品正在售卖中不允许删除\"\n}"}],"viewNum":432,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410546699}},{"action":"open.item.deleted.get","title":"查询7天内已删除的商品","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.deleted.get&version=1","sha256":"5931c126dd25cc0dcaff7400bbdd38cce9cb4f7cdba96cfeb9a69c5364825226","bytes":11059},"official":{"id":0,"name":"open.item.deleted.get","cnName":"查询7天内已删除的商品","method":1,"version":1,"description":"根据商品ID查询7天内已删除的商品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8433116,"paramName":"itemId","paramType":"Long","structureId":0,"example":"129387128431","required":true,"description":"商品ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8433117,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8433118,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8433117,"paramName":"result","paramType":"Long","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":8433118,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8433119,"paramName":"data","paramType":"ItemGetResponseParam","structureId":689,"example":"{}","required":false,"description":"商品详情"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemDeletedGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemDeletedGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemDeletedGetRequest request = new OpenItemDeletedGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(129387128431);\n\n        OpenItemDeletedGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/deleted/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.deleted.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1736147159883' \\\n-d 'param=%7B%22itemId%22%3A129387128431%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"itemId\": 401936318906,\n    \"relItemId\": 401936318906,\n    \"categoryId\": 1003,\n    \"categoryName\": \"男装\",\n    \"parentCategoryId\": 1002,\n    \"parentCategoryName\": \"服饰\",\n    \"rootCategoryId\": 1001,\n    \"rootCategoryName\": \"生活\",\n    \"title\": \"时尚运动装\",\n    \"details\": \"纯棉材质运动装\",\n    \"imageUrls\": [\n      \"http://www.baidu.com/1\"\n    ],\n    \"detailImageUrls\": [\n      \"http://www.baidu.com/1\",\n      \"http://www.baidu.com/2\"\n    ],\n    \"skuInfos\": [\n      {\n        \"kwaiSkuId\": 307744885906,\n        \"relSkuId\": 307744885906,\n        \"skuStock\": 100,\n        \"imageUrl\": \"https://...\",\n        \"skuSalePrice\": 1000,\n        \"volume\": 10,\n        \"isValid\": 1,\n        \"createTime\": 1560000000000,\n        \"updateTime\": 1560000000000,\n        \"specification\": \"白色-L\",\n        \"appkey\": \"123abc\",\n        \"skuNick\": \"12345\",\n        \"skuProp\": [\n          {\n            \"skuPropId\": 4596904,\n            \"propId\": 4596903,\n            \"propName\": \"颜色\",\n            \"propValueId\": 4596907,\n            \"propValueName\": \"黑色\",\n            \"itemId\": 401957455906,\n            \"skuId\": 307744885906,\n            \"imageUrl\": \"http://...\",\n            \"isValid\": 1,\n            \"createTime\": 1636469261660,\n            \"updateTime\": 1636469261660,\n            \"propSortNum\": 1,\n            \"propValueSortNum\": 1,\n            \"propValueRemarks\": \"备注\",\n            \"propValueGroupId\": 2132131112,\n            \"isMainProp\": 0,\n            \"propVersion\": 1\n          }\n        ],\n        \"kwaiItemId\": 307744885911,\n        \"gtinCode\": \"12345670\",\n        \"mealDetail\": {\n          \"mealGroupDTOList\": [\n            {\n              \"title\": \"荤菜\",\n              \"mealContentDTOList\": [\n                {\n                  \"title\": \"萝卜汤\",\n                  \"count\": 4,\n                  \"price\": 100\n                }\n              ],\n              \"fromNum\": 2,\n              \"selectNum\": 1\n            }\n          ],\n          \"lowestPeopleNum\": 1,\n          \"highestPeopleNum\": 2,\n          \"remark\": \"备注\"\n        },\n        \"reserveStock\": 10,\n        \"packageCode\": \"123456789\",\n        \"goodsId\": \"12121\",\n        \"goodsCode\": []\n      }\n    ],\n    \"serviceRule\": {\n      \"refundRule\": \"支持7天无理由退货\",\n      \"theDayOfDeliverGoodsTime\": 10,\n      \"promiseDeliveryTime\": 172800,\n      \"servicePromise\": {\n        \"freshRotRefund\": true,\n        \"brokenRefund\": true,\n        \"allergyRefund\": true,\n        \"crabRefund\": true,\n        \"weightGuarantee\": true\n      },\n      \"unavailableTimeRule\": {\n        \"weeks\": [\n          1,\n          2\n        ],\n        \"holidays\": [\n          1,\n          2\n        ],\n        \"timeRanges\": [\n          {\n            \"startTime\": 1640078945111,\n            \"endTime\": 1640078945111\n          }\n        ]\n      },\n      \"certMerchantCode\": \"merchant\",\n      \"deliveryMethod\": \"certificate\",\n      \"certExpireType\": 1,\n      \"certStartTime\": 1640079229123,\n      \"certEndTime\": 1640079229123,\n      \"certExpDays\": 1640079229123,\n      \"orderPurchaseLimitType\": 1,\n      \"minOrderCount\": 3,\n      \"maxOrderCount\": 4,\n      \"customerInfo\": {\n        \"customerInfoType\": \"1\",\n        \"customerCertificateType\": [\n          1\n        ]\n      },\n      \"priceProtectDays\": 7,\n      \"deliveryTimeMode\": \"spot\"\n    },\n    \"auditStatus\": 2,\n    \"auditReason\": \"通过\",\n    \"createdTime\": 1544444595373,\n    \"updateTime\": 1544444595373,\n    \"onOfflineStatus\": 1,\n    \"parentCategoryList\": [\n      {\n        \"categoryId\": 1065,\n        \"categoryName\": \"手机/数码/电脑办公\",\n        \"categoryPid\": 1034\n      }\n    ],\n    \"itemPropValues\": [\n      {\n        \"propId\": 123213,\n        \"radioPropValue\": {\n          \"propValueId\": 4718388,\n          \"propValue\": \"海贼王\"\n        },\n        \"checkBoxPropValuesList\": [\n          {\n            \"propValueId\": 4718388,\n            \"propValue\": \"海贼王\"\n          }\n        ],\n        \"textPropValue\": \"测试\",\n        \"datetimeTimestamp\": 1577808000000,\n        \"dateRange\": {\n          \"startTimeTimestamp\": 1577808000000,\n          \"endTimeTimestamp\": 1577809000000\n        },\n        \"sortNum\": 12,\n        \"imagePropValues\": [],\n        \"propName\": \"男装风格1\",\n        \"propAlias\": \"男装\",\n        \"inputType\": 1,\n        \"propType\": 1,\n        \"unitPropValueId\": 1,\n        \"unitPropValueName\": \"毫升\"\n      }\n    ],\n    \"expressTemplateId\": 123456,\n    \"purchaseLimit\": true,\n    \"limitCount\": 100,\n    \"linkUrl\": \"http://test.com/\",\n    \"timeOfSale\": 1687128312,\n    \"itemRemark\": \"商品备注\",\n    \"duplicationStatus\": 2,\n    \"duplicationReason\": \"通过\",\n    \"multipleStock\": false,\n    \"poiIds\": [\n      111,\n      112\n    ],\n    \"whiteBaseImageUrl\": \"\\\"http://www.baidu.com/1.jpg\\\"\",\n    \"transparentImageUrl\": \"\\\"http://www.baidu.com/1.png\\\"\",\n    \"shortTitle\": \"商品短标题\",\n    \"sellingPoint\": \"商品卖点\",\n    \"instructions\": \"使用说明\",\n    \"contractPhone\": true,\n    \"offlineReason\": \"下架原因\",\n    \"itemQualification\": [\n      {\n        \"qualificationDataId\": 123456789,\n        \"certification\": \"123456789\",\n        \"qualificationFiles\": [],\n        \"validDateStart\": \"2023-04-30 00:00:00\",\n        \"validDateEnd\": \"2023-05-30 00:00:00\",\n        \"auditTime\": \"2023-05-20 00:00:00\",\n        \"relatedItemCount\": 10,\n        \"remark\": \"资质备注\",\n        \"detailPageUrl\": \"\\\"\\\"\",\n        \"qualificationMetaName\": \"\\\"\\\"\",\n        \"qualificationMetaId\": 123\n      }\n    ],\n    \"spuId\": 123456\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1769495109811}},{"action":"open.item.delivery.time.update","title":"商品发货时效修改","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.delivery.time.update&version=1","sha256":"9e75b537094f918c116296496753e305c4b233745d7f8cf2134ea90a319dc35e","bytes":6294},"official":{"id":0,"name":"open.item.delivery.time.update","cnName":"商品发货时效修改","method":2,"version":1,"description":"商品发货时效修改","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165341,"paramName":"itemId","paramType":"Long","structureId":0,"example":"1123123","required":true,"description":"商品ID"},{"id":7165342,"paramName":"deliverGoodsInteralTime","paramType":"Long","structureId":0,"example":"345600","required":false,"description":"发货间隔时间,单位:秒,范围在[3,15天] 需要转换为秒 259200 为3天,deliverGoodsInteralTime和promiseDeliveryTime至少填一个且不能都填。填deliverGoodsInteralTime代码预售商品,填promiseDeliveryTime代表非预售商品。(如果需要取消请传 0 或 -1),需要注意具体预售时长会根据具体类目不同"},{"id":7165343,"paramName":"promiseDeliveryTime","paramType":"Long","structureId":0,"example":"172800","required":false,"description":"非预售商品承诺发货时间,单位:秒,取值86400,172800,分别代表24、48小时,deliverGoodsInteralTime和promiseDeliveryTime至少填一个且不能都填。填deliverGoodsInteralTime代码预售商品,填promiseDeliveryTime代表非预售商品。(如果需要取消请传 0 或 -1)"},{"id":7165344,"paramName":"deliveryTimeMode","paramType":"String","structureId":0,"example":"spot","required":true,"description":"发货时效模式 spot:全部现货;presale:全部预售;"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165345,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165347,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165345,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165346,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7165347,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemDeliveryTimeUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemDeliveryTimeUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemDeliveryTimeUpdateRequest request = new OpenItemDeliveryTimeUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(1123123);\n        request.setDeliverGoodsInteralTime(345600);\n        request.setPromiseDeliveryTime(172800);\n        request.setDeliveryTimeMode(\"spot\");\n\n        OpenItemDeliveryTimeUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/delivery/time/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.delivery.time.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1726285754555' \\\n-d 'param=%7B%22itemId%22%3A1123123%2C%22deliverGoodsInteralTime%22%3A345600%2C%22promiseDeliveryTime%22%3A172800%2C%22deliveryTimeMode%22%3A%22spot%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410596591}},{"action":"open.item.detail.images.update","title":"更新商品详情图片","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.detail.images.update&version=1","sha256":"522d292ba9d0e042bed5485256d0dc2efedeea80514c7e8dd06f42ed59242754","bytes":6300},"official":{"id":0,"name":"open.item.detail.images.update","cnName":"更新商品详情图片","method":2,"version":1,"description":"1.  最多只能传20张图片\n2.  调用修改图片接口会触发商品送审","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165348,"paramName":"kwaiItemId","paramType":"Number","structureId":0,"example":"2233","required":true,"description":"快手商品 Id"},{"id":7165349,"paramName":"detailImageUrls","paramType":"List<String>","structureId":0,"example":"[\"http://www.baidu.com/1\", \"http://www.baidu.com/2\"]","required":false,"description":"1. 请勿出现其它平台的信息水印查看图示;\n2. 最多上传20张图片;\n3. 单张图片大小不超过2M,支持png/jpeg/webp/bmp格式;\n\n注意:会把传过来的图片信息更新到数据库,不填就相当于删除所有图片"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165350,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165351,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165350,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":7165351,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"}],"errorCodes":[{"code":11,"type":"系统错误","description":"服务端错误","solution":"服务端错误,请稍后重试"},{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":400,"type":"参数非法","description":"请求参数非法","solution":"请求参数非法,请检查"},{"code":100002,"type":"参数非法","description":"商品不存在","solution":"商品不存在,请确认参数是否正确"},{"code":100014,"type":"业务错误","description":"图片数量有误","solution":"图片数量有误,请调整"},{"code":100043,"type":"参数非法","description":"上传图片失败","solution":"请检查url合法性后重试"},{"code":100070,"type":"参数非法","description":"下载图片失败","solution":"请检查url合法性后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemDetailImagesUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemDetailImagesUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemDetailImagesUpdateRequest request = new OpenItemDetailImagesUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setKwaiItemId(2233);\n        List<String> list1 = new ArrayList<>();\n        list1.add(\"http://www.baidu.com/1\");\n        request.setDetailImageUrls(list1);\n\n        OpenItemDetailImagesUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/detail/images/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.detail.images.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1639557375228' \\\n-d 'param=%7B%22kwaiItemId%22%3A2233%2C%22detailImageUrls%22%3A%5B%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%22%2C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F2%22%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":597,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410622006}},{"action":"open.item.detail.page.link","title":"获取商品详情页跳转链接","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.detail.page.link&version=1","sha256":"9182e425a78d5819f74c827826b2aa390aeffa300a25f33abd1f9bee5fbb86d8","bytes":5982},"official":{"id":0,"name":"open.item.detail.page.link","cnName":"获取商品详情页跳转链接","method":1,"version":1,"description":"根据商品id跳转到商品详情页,支持直接跳转商品详情页、跳转到直播间再打开商品详情页","needPermission":true,"permissionScope":"merchant_shoplive,merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165352,"paramName":"itemId","paramType":"Long","structureId":0,"example":"4020357665756","required":true,"description":"商品id"},{"id":7165353,"paramName":"type","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"跳转类型,1:直接跳商详页 2:跳进直播间打开商详页"},{"id":7165354,"paramName":"itemProductClientInfo","paramType":"ItemProductClientInfo","structureId":105039,"example":"{}","required":true,"description":"客户端信息"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165355,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165356,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165355,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165356,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7165357,"paramName":"data","paramType":"ItemLink","structureId":105065,"example":"{}","required":false,"description":"data"}],"errorCodes":[{"code":11,"type":"系统错误","description":"服务端错误","solution":"服务端错误,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemDetailPageLinkRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemDetailPageLinkResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemDetailPageLinkRequest request = new OpenItemDetailPageLinkRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(4020357665756);\n        request.setType(1);\n        ItemProductClientInfo obj1 = new ItemProductClientInfo();\n        obj1.setAppType(\"1\");\n        obj1.setClientId(1);\n        obj1.setAppVer(\"10.5.20.1014910\");\n        request.setItemProductClientInfo(obj1);\n\n        OpenItemDetailPageLinkResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/detail/page/link' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.detail.page.link' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1660547628015' \\\n-d 'param=%7B%22itemId%22%3A4020357665756%2C%22type%22%3A1%2C%22itemProductClientInfo%22%3A%7B%22appType%22%3A%221%22%2C%22clientId%22%3A1%2C%22appVer%22%3A%2210%2E5%2E20%2E1014910%22%7D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"kwaiUrl\": \"kwai://merchant/selfdetail?itemId=1905543305297\"\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","营销管理-主图水印","营销管理-分销管理","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]},{"scope":"merchant_shoplive","desc":"电商直播间权限","categoryList":["店铺管理-客户管理","店铺管理-短信营销","直播服务-直播工具","直播服务-直播间装修","营销管理-促销工具","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-直播营销工具"]}],"updateTime":1750410680129}},{"action":"open.item.diagnosis.get","title":"获取商品质量分","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.diagnosis.get&version=1","sha256":"db5c20f56dc8ab9c1b4f71269911e4613aa2f0bdcf452cd05f1e2b02215b9632","bytes":5374},"official":{"id":0,"name":"open.item.diagnosis.get","cnName":"获取商品质量分","method":1,"version":1,"description":"根据商品ID获取商品质量分,商品管理类目必须接入","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165361,"paramName":"itemId","paramType":"Long","structureId":0,"example":"100192929299","required":true,"description":"商品Id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165362,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165363,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165362,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165363,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7165364,"paramName":"data","paramType":"GetOpenApiItemDiagnosisResultResponse","structureId":92422,"example":"{}","required":false,"description":"返回体"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemDiagnosisGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemDiagnosisGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemDiagnosisGetRequest request = new OpenItemDiagnosisGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(100192929299);\n\n        OpenItemDiagnosisGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/diagnosis/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.diagnosis.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1655796466932' \\\n-d 'param=%7B%22itemId%22%3A100192929299%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"itemId\": 111111,\n    \"itemTitle\": \"商品111\",\n    \"diagnosisValue\": 40,\n    \"suggestionCount\": 4,\n    \"dignosisDetailContents\": [\n      {\n        \"title\": \"主图少于5张\",\n        \"content\": \"上传清晰、丰富的主图有利于消费者全面了解商品信息,提高商品转化;建议上传5张及以上主图\"\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411013116}},{"action":"open.item.diagnosis.indicator.get","title":"获取商品诊断详情","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.diagnosis.indicator.get&version=1","sha256":"dc594cbefa1ccab52d461413f361790ed1db5511668485f5feb9a37b813c3e87","bytes":6156},"official":{"id":0,"name":"open.item.diagnosis.indicator.get","cnName":"获取商品诊断详情","method":1,"version":1,"description":"根据商品ID获取商品诊断详情","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7419518,"paramName":"itemId","paramType":"List<Long>","structureId":0,"example":"[\n    24791953773492,\n    24785298457492\n  ]","required":false,"description":"商品ID列表"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7419520,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7419521,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7419519,"paramName":"data","paramType":"List<RenderForOpenApiDTO>","structureId":569402,"example":"[]","required":false,"description":"诊断详情"},{"id":7419520,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7419521,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemDiagnosisIndicatorGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemDiagnosisIndicatorGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemDiagnosisIndicatorGetRequest request = new OpenItemDiagnosisIndicatorGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<Long> list1 = new ArrayList<>();\n        list1.add(24791953773492);\n        request.setItemId(list1);\n\n        OpenItemDiagnosisIndicatorGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/diagnosis/indicator/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.diagnosis.indicator.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1752806980179' \\\n-d 'param=%7B%22itemId%22%3A%5B24791953773492%2C24785298457492%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": [\n    {\n      \"summary\": \"\\\"共8个问题\\\"\",\n      \"itemId\": 24791953773492,\n      \"impactDetail\": [\n        {\n          \"count\": 1,\n          \"desc\": \"\\\"无法参与商城活动\\\"\"\n        }\n      ],\n      \"indicatorDetail\": [\n        {\n          \"impactDesc\": \"\\\"无法参与商城活动\\\"\",\n          \"adviceContent\": \"\\\"白底图要求参考上传示例,请检查[扣图痕迹]等问题\\\"\",\n          \"problemContent\": [\n            \"https://p4-ec.ecukwai.com/bs2/image-kwaishop-product/white_base-11318492-f8866404a71a45199d5b5cabcffb0f5a.png?x-kcdn-pid=11072\"\n          ],\n          \"indicatorId\": 4,\n          \"viewRules\": \"\\\"https://university.kwaixiaodian.com/kwaishop/newKnowledge/581566000274366520/581287737803169849\\\"\",\n          \"suggestContent\": [\n            \"歌菲淇连衣裙\"\n          ],\n          \"fieldName\": \"\\\"尺码信息\\\"\"\n        }\n      ]\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1752809616335}},{"action":"open.item.edit","title":"编辑商品","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.edit&version=1","sha256":"58877d2babf90d743ab2f5c32935147920fb3403788248441d7532b6ad0ae443","bytes":31370},"official":{"id":0,"name":"open.item.edit","cnName":"编辑商品","method":2,"version":1,"description":"1.当商品状态处于”审核待修改“和”审核通过“状态时允许编辑,其他状态不允许编辑\n2.商品在”通过“状态时,变更名称、详情和商品主图会触发审核\n3.类目变更需要满足当前审核状态为”审核待修改“\n4.返回值列举了当前商品编辑后所有有效的SkuId\n5.多级规格商品修改时遵循和添加商品一致的规则,保持更新之后的商品规格是完整组合即可\n6.若需要对sku规格和规格值进行排序,需指定skuList.skuProps.propSortNum和skuList.skuProps.propValueSortNum的值","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8830617,"paramName":"itemId","paramType":"Long","structureId":0,"example":"402129219906","required":true,"description":"商品唯一Id"},{"id":8830618,"paramName":"title","paramType":"String","structureId":0,"example":"夏季T恤","required":false,"description":"商品名称"},{"id":8830619,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1003","required":false,"description":"类目Id"},{"id":8830620,"paramName":"imageUrls","paramType":"String[]","structureId":0,"example":"[\"http://www.baidu.com/1.jpg\", \"http://www.baidu.com/2.jpg\"]","required":false,"description":"商品主图,1. 最多上传9张图片\n2. 单张图片大小不超过2M,支持png/jpeg/jpg格式\n3.必须是快手平台图片url(外网图片链接可通过 open.item.image.upload 提前转换)"},{"id":8830621,"paramName":"skuList","paramType":"OpenApiUpdateSkuDTO[]","structureId":8883,"example":"[{}]","required":false,"description":"sku信息列表。0 < 数量 <= 600"},{"id":8830622,"paramName":"itemVideoId","paramType":"String","structureId":0,"example":"321312","required":false,"description":"商品关联的短视频id"},{"id":8830623,"paramName":"purchaseLimit","paramType":"Boolean","structureId":0,"example":"true","required":false,"description":"商品是否限购;true:限购,false:不限购"},{"id":8830624,"paramName":"limitCount","paramType":"Integer","structureId":0,"example":"99","required":false,"description":"商品限购数量,当purchaseLimit为true时,必填"},{"id":8830625,"paramName":"itemPropValues","paramType":"ItemPropValue[]","structureId":8882,"example":"[{}]","required":false,"description":"商品类目属性,商品类目属性有必填项,必传。(注意:商品类目属性不允许重复)"},{"id":8830626,"paramName":"details","paramType":"String","structureId":0,"example":"商品详情。0 < 长度 <= 1000","required":false,"description":"商品详情描述。0 < 长度 <= 1000个汉字(2000个字符)"},{"id":8830627,"paramName":"detailImageUrls","paramType":"List<String>","structureId":0,"example":"[\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\", \"https://u1-203.ecukwai.com/ufile/adsocial/4a6cad11-b25d-4d51-8fb7-c8a51530e587.jpg\"]","required":false,"description":"商品详情图,1. 单张图片大小不超过2M,支持png/jpeg/jpg格式;2. 必须为快手图片链接(外网图片链接可通过 open.item.image.upload 提前转换)"},{"id":8830628,"paramName":"updateDetailImageUrls","paramType":"Boolean","structureId":0,"example":"true","required":false,"description":"是否更新商品详情图,detailImageUrls传[],并且updateItemPropValues 传true 会清空商品详情图,(如果需要改商品详情图的话需要传true)"},{"id":8830629,"paramName":"itemRemark","paramType":"String","structureId":0,"example":"商品备注","required":false,"description":"支持中文、英文和数字,最多10个汉字(20个字符)"},{"id":8830630,"paramName":"serviceRule","paramType":"ServiceRule","structureId":8779,"example":"{}","required":false,"description":"服务规则"},{"id":8830631,"paramName":"expressTemplateId","paramType":"Long","structureId":0,"example":"2801306","required":false,"description":"运费模板id"},{"id":8830632,"paramName":"saleTimeFlag","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否定点开售,true为定点开售,false为正常售卖"},{"id":8830633,"paramName":"timeOfSale","paramType":"Long","structureId":0,"example":"1631001896457","required":false,"description":"定点开售时间,如果saleTimeFlag为true时此项必填"},{"id":8830634,"paramName":"payWay","paramType":"Integer","structureId":0,"example":"2","required":false,"description":"支付方式:1 货到付款 2 在线支付 3 在线支付和货到付款;默认2\n目前OpenAPI端只支持「在线支付」方式"},{"id":8830635,"paramName":"updateItemPropValues","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否更新商品类目属性,itemPropValues传[],并且updateItemPropValues 传true 会清空商品类目属性,如果商品类目属性有必填项会更新失败(如果需要改类目属性的话需要传true)"},{"id":8830636,"paramName":"poiIds","paramType":"List<Long>","structureId":0,"example":"[111,231]","required":false,"description":"门店ID"},{"id":8830637,"paramName":"whiteBaseImageUrl","paramType":"String","structureId":0,"example":"\"http://www.baidu.com/1.jpg\"","required":false,"description":"商品白底图,请上传格式为png/jpeg/jpg的图片,长宽比为1:1的图片,像素480*480px以上的图片,大小小于2M"},{"id":8830638,"paramName":"transparentImageUrl","paramType":"String","structureId":0,"example":"\"http://www.baidu.com/1.png\"","required":false,"description":"商品透明图,请上传格式为png的图片,长宽比为1:1的图片,像素480*480px以上的图片,大小小于2M"},{"id":8830639,"paramName":"shortTitle","paramType":"String","structureId":0,"example":"商品短标题","required":false,"description":"商品短标题长度必须大于4且小于20个字符(2-10汉字)"},{"id":8830640,"paramName":"sellingPoint","paramType":"String","structureId":0,"example":"商品卖点","required":false,"description":"商品卖点长度必须大于8且小于24个字符(4-12汉字)"},{"id":8830641,"paramName":"instructions","paramType":"String","structureId":0,"example":"使用说明","required":false,"description":"使用说明,非必传,约定字符限制400个中文字长度以内。空行数量10行以内。"},{"id":8830642,"paramName":"saveShelfItemQualificationData","paramType":"List<QualificationDataDTO>","structureId":213030,"example":"[]","required":false,"description":"商品资质"},{"id":8830643,"paramName":"updateItemQualification","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否更新商品资质信息"},{"id":8830644,"paramName":"spuId","paramType":"Long","structureId":0,"example":"123456","required":false,"description":"标品ID,标品强管控类目必填,标品弱管控类目非必填,标品不管控或未配置类目不允许填写"},{"id":8830645,"paramName":"updateThreeQuartersImageUrls","paramType":"Boolean","structureId":0,"example":"true","required":false,"description":"是否更新3:4主图"},{"id":8830646,"paramName":"threeQuartersImageUrls","paramType":"List<String>","structureId":0,"example":"[\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\", \"https://u1-203.ecukwai.com/ufile/adsocial/4a6cad11-b25d-4d51-8fb7-c8a51530e587.jpg\"]","required":false,"description":"3:4主图"},{"id":8830647,"paramName":"itemVideo","paramType":"ItemVideoProto","structureId":547764,"example":"{}","required":false,"description":"商品视频商品视频(优先从 itemVideoId 字段取快手短视频 ID,再从当前字段取视频信息)"},{"id":8830648,"paramName":"sizeChartTemplateId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"尺码模板ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8830649,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8830650,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8830649,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":8830650,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8830651,"paramName":"data","paramType":"AddItemResponseParam","structureId":148,"example":"{}","required":false,"description":"返回内容"}],"errorCodes":[{"code":1240241,"type":"PARAM INVAILD","description":"当前入参的relItemId:{0}已被其他商品使用,不能重复创建","solution":"修改relitemid后重试"},{"code":1060010,"type":"SYSTEM ERROR","description":"服务出小差了,请稍后重试~","solution":"重试或联系客服"},{"code":1241035,"type":"ERROR","description":"质检认证SKU库存不合法","solution":"修改合法参数之后重试"},{"code":1220003,"type":"ERROR","description":"当前商品类型暂不支持在openApi编辑","solution":"不支持该类型商品,请更换商品"},{"code":1240112,"type":"PARAM INVAILD","description":"当前类目要求商品必须支持「服务承诺-{0}」,请设置「服务承诺-{0}」","solution":"修改合法参数后重试"},{"code":1240111,"type":"PARAM INVAILD","description":"当前类目要求商品不支持「服务承诺-{0}」,请勿设置「服务承诺-{0}」","solution":"修改合法参数后重试"},{"code":1241030,"type":"PARAM INVAILD","description":"此类目不支持选择标品进行发布,请勿填写标品ID","solution":"请勿填写标品ID"},{"code":1241031,"type":"PARAM INVAILD","description":"此类目要求必须选择标品进行发布,请填写标品ID","solution":"请填写标品ID"},{"code":1240068,"type":"PARAM INVAILD","description":"此类目要求必须选择标品进行发布,否则无法提交。根据您填写的属性,未匹配到标品,请您确认属性信息是否填写有误,或在PC端申请新增标品信息。","solution":"请您确认属性信息是否填写有误,或申请标品"},{"code":1240069,"type":"PARAM INVAILD","description":"标品已禁用,不能发布该类商品","solution":"请更换标品信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemEditRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemEditResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemEditRequest request = new OpenItemEditRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(402129219906);\n        request.setTitle(\"夏季T恤\");\n        request.setCategoryId(1003);\n        String[] array1 = new String[1];\n        array1[0] = \"http://www.baidu.com/1.jpg\";\n        request.setImageUrls(array1);\n        OpenApiUpdateSkuDTO[] array3 = new OpenApiUpdateSkuDTO[1];\n        OpenApiUpdateSkuDTO obj1 = new OpenApiUpdateSkuDTO();\n        obj1.setSkuId(313213213);\n        obj1.setRelSkuId(1631812321);\n        obj1.setSkuSalePrice(1200);\n        obj1.setSkuNick(\"TS9988\");\n        OpenApiAddSkuPropDTO[] array2 = new OpenApiAddSkuPropDTO[1];\n        OpenApiAddSkuPropDTO obj2 = new OpenApiAddSkuPropDTO();\n        obj2.setPropName(\"颜色\");\n        obj2.setPropValueName(\"红色\");\n        obj2.setImageUrl(\"http://kuaishou.com/file/a.jpeg\");\n        obj2.setIsMainProp(1);\n        obj2.setPropValueGroupId(0);\n        obj2.setPropVersion(1);\n        obj2.setPropSortNum(1);\n        obj2.setPropValueSortNum(3);\n        obj2.setPropValueRemarks(\"这是一个规格备注\");\n        OpenapiSkuPropMeasureProto obj3 = new OpenapiSkuPropMeasureProto();\n        obj3.setTemplateId(22242);\n        List<OpenapiSkuPropMeasureValueProto> list1 = new ArrayList<>();\n        OpenapiSkuPropMeasureValueProto obj4 = new OpenapiSkuPropMeasureValueProto();\n        obj4.setType(\"PREVIEW_TEXT\");\n        obj4.setValue(\"净含量:\");\n        obj4.setUnitValueId(120231);\n        obj4.setUnitValueName(\"kg\");\n        list1.add(obj4);\n        obj3.setValue(list1);\n        obj2.setMeasureInfo(obj3);\n        array2[0] = obj2;\n        obj1.setSkuProps(array2);\n        SkuCertificatePropParam obj5 = new SkuCertificatePropParam();\n        obj5.setCondition(\"9成新\");\n        obj5.setPurchasingChannels(\"国行\");\n        obj5.setBatteryEfficiency(\"80-90%\");\n        obj5.setMainBoard(\"无维修\");\n        obj5.setBatteryCondition(\"原装电池\");\n        obj5.setScreenCondition(\"第三方屏幕\");\n        obj5.setShellCollision(\"明显\");\n        obj5.setReportUrl(\"https://m.paipai.com/ppinspect/activeReport\");\n        obj5.setQualityInspectionNo(\"852180\");\n        obj5.setSn(\"353************625\");\n        obj5.setShellScratch(\"明显\");\n        obj5.setShellPaint(\"明显\");\n        obj5.setDeviceSystem(\"无越狱/无Root\");\n        obj1.setSkuCertificate(obj5);\n        obj1.setSkuStockChangeType(1);\n        obj1.setSkuChangeStock(20);\n        obj1.setSkuMarketPrice(300);\n        obj1.setGtinCode(\"12345670\");\n        MealDetailDTO obj6 = new MealDetailDTO();\n        List<MealGroupDTO> list3 = new ArrayList<>();\n        MealGroupDTO obj7 = new MealGroupDTO();\n        obj7.setTitle(\"荤菜\");\n        List<MealContentDTO> list2 = new ArrayList<>();\n        MealContentDTO obj8 = new MealContentDTO();\n        obj8.setTitle(\"萝卜汤\");\n        obj8.setCount(4);\n        obj8.setPrice(100);\n        list2.add(obj8);\n        obj7.setMealContentDTOList(list2);\n        obj7.setFromNum(2);\n        obj7.setSelectNum(1);\n        list3.add(obj7);\n        obj6.setMealGroupDTOList(list3);\n        obj6.setLowestPeopleNum(1);\n        obj6.setHighestPeopleNum(2);\n        obj6.setRemark(\"备注\");\n        obj1.setMealDetail(obj6);\n        array3[0] = obj1;\n        request.setSkuList(array3);\n        request.setItemVideoId(\"321312\");\n        request.setPurchaseLimit(true);\n        request.setLimitCount(99);\n        ItemPropValue[] array5 = new ItemPropValue[1];\n        ItemPropValue obj9 = new ItemPropValue();\n        obj9.setPropId(123213);\n        CategoryPropValueParam obj10 = new CategoryPropValueParam();\n        obj10.setPropValueId(4718388);\n        obj10.setPropValue(\"海贼王\");\n        obj9.setRadioPropValue(obj10);\n        CategoryPropValueParam[] array4 = new CategoryPropValueParam[1];\n        CategoryPropValueParam obj11 = new CategoryPropValueParam();\n        obj11.setPropValueId(4718388);\n        obj11.setPropValue(\"海贼王\");\n        array4[0] = obj11;\n        obj9.setCheckBoxPropValuesList(array4);\n        obj9.setTextPropValue(\"测试\");\n        obj9.setDatetimeTimestamp(1577808000000);\n        DateRangeParam obj12 = new DateRangeParam();\n        obj12.setStartTimeTimestamp(1632423413);\n        obj12.setEndTimeTimestamp(1643243211);\n        obj9.setDateRange(obj12);\n        obj9.setSortNum(12);\n        List<String> list4 = new ArrayList<>();\n        list4.add(\"http://www.baidu.com/1.jpg\");\n        obj9.setImagePropValues(list4);\n        obj9.setPropName(\"男装风格1\");\n        obj9.setPropAlias(\"男装\");\n        obj9.setInputType(1);\n        obj9.setPropType(1);\n        obj9.setUnitPropValueId(1);\n        obj9.setUnitPropValueName(\"ml\");\n        array5[0] = obj9;\n        request.setItemPropValues(array5);\n        request.setDetails(\"商品详情。0 < 长度 <= 1000\");\n        List<String> list5 = new ArrayList<>();\n        list5.add(\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\");\n        request.setDetailImageUrls(list5);\n        request.setUpdateDetailImageUrls(true);\n        request.setItemRemark(\"商品备注\");\n        ServiceRule obj13 = new ServiceRule();\n        obj13.setRefundRule(\"1\");\n        obj13.setDeliverGoodsInteralTime(345600);\n        obj13.setPromiseDeliveryTime(172800);\n        obj13.setImmediatelyOnOfflineFlag(0);\n        obj13.setDeliveryMethod(\"logistics:物流配送(默认)\");\n        OpenApiServicePromise obj14 = new OpenApiServicePromise();\n        obj14.setFreshRotRefund(true);\n        obj14.setBrokenRefund(true);\n        obj14.setAllergyRefund(true);\n        obj14.setCrabRefund(true);\n        obj14.setWeightGuarantee(true);\n        obj13.setServicePromise(obj14);\n        OpenApiUnavailableTimeRule obj15 = new OpenApiUnavailableTimeRule();\n        List<Integer> list6 = new ArrayList<>();\n        list6.add(1);\n        obj15.setWeeks(list6);\n        List<Integer> list7 = new ArrayList<>();\n        list7.add(1);\n        obj15.setHolidays(list7);\n        List<OpenApiTimeRange> list8 = new ArrayList<>();\n        OpenApiTimeRange obj16 = new OpenApiTimeRange();\n        obj16.setStartTime(1640078945111);\n        obj16.setEndTime(1640078945111);\n        list8.add(obj16);\n        obj15.setTimeRanges(list8);\n        obj13.setUnavailableTimeRule(obj15);\n        obj13.setCertMerchantCode(\"merchant\");\n        obj13.setCertExpireType(1);\n        obj13.setCertStartTime(1640078945111);\n        obj13.setCertEndTime(1640078945111);\n        obj13.setCertExpDays(11);\n        obj13.setOrderPurchaseLimitType(1);\n        obj13.setMinOrderCount(2);\n        obj13.setMaxOrderCount(3);\n        CustomerInfo obj17 = new CustomerInfo();\n        obj17.setCustomerInfoType(\"1\");\n        List<String> list9 = new ArrayList<>();\n        list9.add(\"1\");\n        obj17.setCustomerCertificateType(list9);\n        obj13.setCustomerInfo(obj17);\n        obj13.setPriceProtectDays(7);\n        obj13.setDeliveryTimeMode(\"spot\");\n        request.setServiceRule(obj13);\n        request.setExpressTemplateId(2801306);\n        request.setSaleTimeFlag(false);\n        request.setTimeOfSale(1631001896457);\n        request.setPayWay(2);\n        request.setUpdateItemPropValues(false);\n        List<Long> list10 = new ArrayList<>();\n        list10.add(111);\n        request.setPoiIds(list10);\n        request.setWhiteBaseImageUrl(\"\\\"http://www.baidu.com/1.jpg\\\"\");\n        request.setTransparentImageUrl(\"\\\"http://www.baidu.com/1.png\\\"\");\n        request.setShortTitle(\"商品短标题\");\n        request.setSellingPoint(\"商品卖点\");\n        request.setInstructions(\"使用说明\");\n        List<QualificationDataDTO> list13 = new ArrayList<>();\n        QualificationDataDTO obj18 = new QualificationDataDTO();\n        obj18.setMetaId(875);\n        obj18.setExistedQualificationDataId(123456);\n        List<AddItemPropValue> list12 = new ArrayList<>();\n        AddItemPropValue obj19 = new AddItemPropValue();\n        obj19.setPropId(123213);\n        CategoryPropValueParam obj20 = new CategoryPropValueParam();\n        obj20.setPropValueId(4718388);\n        obj20.setPropValue(\"海贼王\");\n        obj19.setRadioPropValue(obj20);\n        CategoryPropValueParam[] array6 = new CategoryPropValueParam[1];\n        CategoryPropValueParam obj21 = new CategoryPropValueParam();\n        obj21.setPropValueId(4718388);\n        obj21.setPropValue(\"海贼王\");\n        array6[0] = obj21;\n        obj19.setCheckBoxPropValuesList(array6);\n        obj19.setTextPropValue(\"测试\");\n        obj19.setDatetimeTimestamp(1577808000000);\n        DateRangeParam obj22 = new DateRangeParam();\n        obj22.setStartTimeTimestamp(1632423413);\n        obj22.setEndTimeTimestamp(1643243211);\n        obj19.setDateRange(obj22);\n        obj19.setSortNum(12);\n        List<String> list11 = new ArrayList<>();\n        list11.add(\"http://kuaishou.com/a.jpg\");\n        obj19.setImagePropValues(list11);\n        obj19.setPropName(\"男装风格1\");\n        obj19.setPropAlias(\"男装\");\n        obj19.setInputType(1);\n        obj19.setPropType(1);\n        obj19.setUnitPropValueId(1);\n        obj19.setUnitPropValueName(\"ml\");\n        list12.add(obj19);\n        obj18.setProp(list12);\n        list13.add(obj18);\n        request.setSaveShelfItemQualificationData(list13);\n        request.setUpdateItemQualification(false);\n        request.setSpuId(123456);\n        request.setUpdateThreeQuartersImageUrls(true);\n        List<String> list14 = new ArrayList<>();\n        list14.add(\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\");\n        request.setThreeQuartersImageUrls(list14);\n        ItemVideoProto obj23 = new ItemVideoProto();\n        obj23.setVideoId(\"15b789a67c05fb5a\");\n        obj23.setVideoType(1);\n        request.setItemVideo(obj23);\n        request.setSizeChartTemplateId(1);\n\n        OpenItemEditResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/edit' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.edit' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1755175311734' \\\n-d 'param=%7B%22itemId%22%3A402129219906%2C%22title%22%3A%22%E5%A4%8F%E5%AD%A3T%E6%81%A4%22%2C%22categoryId%22%3A1003%2C%22imageUrls%22%3A%5B%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%2Ejpg%22%2C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F2%2Ejpg%22%5D%2C%22skuList%22%3A%5B%7B%22skuId%22%3A313213213%2C%22relSkuId%22%3A1631812321%2C%22skuSalePrice%22%3A1200%2C%22skuNick%22%3A%22TS9988%22%2C%22skuProps%22%3A%5B%7B%22propName%22%3A%22%E9%A2%9C%E8%89%B2%22%2C%22propValueName%22%3A%22%E7%BA%A2%E8%89%B2%22%2C%22imageUrl%22%3A%22http%3A%2F%2Fkuaishou%2Ecom%2Ffile%2Fa%2Ejpeg%22%2C%22isMainProp%22%3A1%2C%22propValueGroupId%22%3A0%2C%22propVersion%22%3A1%2C%22propSortNum%22%3A1%2C%22propValueSortNum%22%3A3%2C%22propValueRemarks%22%3A%22%E8%BF%99%E6%98%AF%E4%B8%80%E4%B8%AA%E8%A7%84%E6%A0%BC%E5%A4%87%E6%B3%A8%22%2C%22measureInfo%22%3A%7B%22templateId%22%3A22242%2C%22value%22%3A%5B%7B%22type%22%3A%22PREVIEW%5FTEXT%22%2C%22value%22%3A%22%E5%87%80%E5%90%AB%E9%87%8F%EF%BC%9A%22%2C%22unitValueId%22%3A120231%2C%22unitValueName%22%3A%22kg%22%7D%5D%7D%7D%5D%2C%22skuCertificate%22%3A%7B%22condition%22%3A%229%E6%88%90%E6%96%B0%22%2C%22purchasingChannels%22%3A%22%E5%9B%BD%E8%A1%8C%22%2C%22batteryEfficiency%22%3A%2280%2D90%25%22%2C%22mainBoard%22%3A%22%E6%97%A0%E7%BB%B4%E4%BF%AE%22%2C%22batteryCondition%22%3A%22%E5%8E%9F%E8%A3%85%E7%94%B5%E6%B1%A0%22%2C%22screenCondition%22%3A%22%E7%AC%AC%E4%B8%89%E6%96%B9%E5%B1%8F%E5%B9%95%22%2C%22shellCollision%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22reportUrl%22%3A%22https%3A%2F%2Fm%2Epaipai%2Ecom%2Fppinspect%2FactiveReport%22%2C%22qualityInspectionNo%22%3A%22852180%22%2C%22sn%22%3A%22353%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A625%22%2C%22shellScratch%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22shellPaint%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22deviceSystem%22%3A%22%E6%97%A0%E8%B6%8A%E7%8B%B1%2F%E6%97%A0Root%22%7D%2C%22skuStockChangeType%22%3A1%2C%22skuChangeStock%22%3A20%2C%22skuMarketPrice%22%3A300%2C%22gtinCode%22%3A%2212345670%22%2C%22mealDetail%22%3A%7B%22mealGroupDTOList%22%3A%5B%7B%22title%22%3A%22%E8%8D%A4%E8%8F%9C%22%2C%22mealContentDTOList%22%3A%5B%7B%22title%22%3A%22%E8%90%9D%E5%8D%9C%E6%B1%A4%22%2C%22count%22%3A4%2C%22price%22%3A100%7D%5D%2C%22fromNum%22%3A2%2C%22selectNum%22%3A1%7D%5D%2C%22lowestPeopleNum%22%3A1%2C%22highestPeopleNum%22%3A2%2C%22remark%22%3A%22%E5%A4%87%E6%B3%A8%22%7D%7D%5D%2C%22itemVideoId%22%3A%22321312%22%2C%22purchaseLimit%22%3Atrue%2C%22limitCount%22%3A99%2C%22itemPropValues%22%3A%5B%7B%22propId%22%3A123213%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%2C%22checkBoxPropValuesList%22%3A%5B%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%5D%2C%22textPropValue%22%3A%22%E6%B5%8B%E8%AF%95%22%2C%22datetimeTimestamp%22%3A1577808000000%2C%22dateRange%22%3A%7B%22startTimeTimestamp%22%3A1632423413%2C%22endTimeTimestamp%22%3A1643243211%7D%2C%22sortNum%22%3A12%2C%22imagePropValues%22%3A%5B%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%2Ejpg%22%2C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F2%2Ejpg%22%5D%2C%22propName%22%3A%22%E7%94%B7%E8%A3%85%E9%A3%8E%E6%A0%BC1%22%2C%22propAlias%22%3A%22%E7%94%B7%E8%A3%85%22%2C%22inputType%22%3A1%2C%22propType%22%3A1%2C%22unitPropValueId%22%3A1%2C%22unitPropValueName%22%3A%22ml%22%7D%5D%2C%22details%22%3A%22%E5%95%86%E5%93%81%E8%AF%A6%E6%83%85%E3%80%820+%3C+%E9%95%BF%E5%BA%A6+%3C%3D+1000%22%2C%22detailImageUrls%22%3A%5B%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FITEM%5FDETAIL%5FIMAGE%2D11318492%2D73183d77e78447c5ae349ce0f2890024%2Ejpg%22%2C%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fufile%2Fadsocial%2F4a6cad11%2Db25d%2D4d51%2D8fb7%2Dc8a51530e587%2Ejpg%22%5D%2C%22updateDetailImageUrls%22%3Atrue%2C%22itemRemark%22%3A%22%E5%95%86%E5%93%81%E5%A4%87%E6%B3%A8%22%2C%22serviceRule%22%3A%7B%22refundRule%22%3A%221%22%2C%22deliverGoodsInteralTime%22%3A345600%2C%22promiseDeliveryTime%22%3A172800%2C%22immediatelyOnOfflineFlag%22%3A0%2C%22deliveryMethod%22%3A%22logistics%EF%BC%9A%E7%89%A9%E6%B5%81%E9%85%8D%E9%80%81%EF%BC%88%E9%BB%98%E8%AE%A4%EF%BC%89%22%2C%22servicePromise%22%3A%7B%22freshRotRefund%22%3Atrue%2C%22brokenRefund%22%3Atrue%2C%22allergyRefund%22%3Atrue%2C%22crabRefund%22%3Atrue%2C%22weightGuarantee%22%3Atrue%7D%2C%22unavailableTimeRule%22%3A%7B%22weeks%22%3A%5B1%2C2%5D%2C%22holidays%22%3A%5B1%2C2%5D%2C%22timeRanges%22%3A%5B%7B%22startTime%22%3A1640078945111%2C%22endTime%22%3A1640078945111%7D%5D%7D%2C%22certMerchantCode%22%3A%22merchant%22%2C%22certExpireType%22%3A1%2C%22certStartTime%22%3A1640078945111%2C%22certEndTime%22%3A1640078945111%2C%22certExpDays%22%3A11%2C%22orderPurchaseLimitType%22%3A1%2C%22minOrderCount%22%3A2%2C%22maxOrderCount%22%3A3%2C%22customerInfo%22%3A%7B%22customerInfoType%22%3A%221%22%2C%22customerCertificateType%22%3A%5B1%5D%7D%2C%22priceProtectDays%22%3A7%2C%22deliveryTimeMode%22%3A%22spot%22%7D%2C%22expressTemplateId%22%3A2801306%2C%22saleTimeFlag%22%3Afalse%2C%22timeOfSale%22%3A1631001896457%2C%22payWay%22%3A2%2C%22updateItemPropValues%22%3Afalse%2C%22poiIds%22%3A%5B111%2C231%5D%2C%22whiteBaseImageUrl%22%3A%22%5C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%2Ejpg%5C%22%22%2C%22transparentImageUrl%22%3A%22%5C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%2Epng%5C%22%22%2C%22shortTitle%22%3A%22%E5%95%86%E5%93%81%E7%9F%AD%E6%A0%87%E9%A2%98%22%2C%22sellingPoint%22%3A%22%E5%95%86%E5%93%81%E5%8D%96%E7%82%B9%22%2C%22instructions%22%3A%22%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E%22%2C%22saveShelfItemQualificationData%22%3A%5B%7B%22metaId%22%3A875%2C%22existedQualificationDataId%22%3A123456%2C%22prop%22%3A%5B%7B%22propId%22%3A123213%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%2C%22checkBoxPropValuesList%22%3A%5B%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%5D%2C%22textPropValue%22%3A%22%E6%B5%8B%E8%AF%95%22%2C%22datetimeTimestamp%22%3A1577808000000%2C%22dateRange%22%3A%7B%22startTimeTimestamp%22%3A1632423413%2C%22endTimeTimestamp%22%3A1643243211%7D%2C%22sortNum%22%3A12%2C%22imagePropValues%22%3A%5B%22http%3A%2F%2Fkuaishou%2Ecom%2Fa%2Ejpg%22%2C%22http%3A%2F%2Fkuaishou%2Ecom%2Fb%2Ejpg%22%5D%2C%22propName%22%3A%22%E7%94%B7%E8%A3%85%E9%A3%8E%E6%A0%BC1%22%2C%22propAlias%22%3A%22%E7%94%B7%E8%A3%85%22%2C%22inputType%22%3A1%2C%22propType%22%3A1%2C%22unitPropValueId%22%3A1%2C%22unitPropValueName%22%3A%22ml%22%7D%5D%7D%5D%2C%22updateItemQualification%22%3Afalse%2C%22spuId%22%3A123456%2C%22updateThreeQuartersImageUrls%22%3Atrue%2C%22threeQuartersImageUrls%22%3A%5B%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FITEM%5FDETAIL%5FIMAGE%2D11318492%2D73183d77e78447c5ae349ce0f2890024%2Ejpg%22%2C%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fufile%2Fadsocial%2F4a6cad11%2Db25d%2D4d51%2D8fb7%2Dc8a51530e587%2Ejpg%22%5D%2C%22itemVideo%22%3A%7B%22videoId%22%3A%2215b789a67c05fb5a%22%2C%22videoType%22%3A1%7D%2C%22sizeChartTemplateId%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"kwaiItemId\": 234225423,\n    \"relItemId\": 23322112,\n    \"skuIdMapping\": [\n      {\n        \"kwaiSkuId\": 1232141,\n        \"relSkuId\": 233233,\n        \"skuNick\": \"123422\"\n      }\n    ]\n  }\n}"}],"viewNum":4,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1776927675159}},{"action":"open.item.get","title":"获取商品详情","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.get&version=1","sha256":"4b437e4965b8d1b0903827f34f7dbd5981ae1776a6eeef0efa9bfff7c0aadfe3","bytes":12841},"official":{"id":0,"name":"open.item.get","cnName":"获取商品详情","method":1,"version":1,"description":"根据商品id获取商家的商品详情,不返回已删除的商品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8831032,"paramName":"kwaiItemId","paramType":"Long","structureId":0,"example":"111","required":true,"description":"商品ID"},{"id":8831033,"paramName":"supportNegativeStock","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"supportNegativeStock 是否查询负库存 是 返回负库存 否 返回0"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8831034,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8831035,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8831034,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"错误码"},{"id":8831035,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8831036,"paramName":"data","paramType":"ItemGetResponseParam","structureId":689,"example":"{}","required":false,"description":"商品详情数据"}],"errorCodes":[{"code":11,"type":"服务异常","description":"服务异常","solution":"检查服务"},{"code":14,"type":"参数不能为空","description":"参数不能为空","solution":"检查必填参数"},{"code":21,"type":"参数错误","description":"参数错误","solution":"检查参数并修正"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemGetRequest request = new OpenItemGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setKwaiItemId(111);\n        request.setSupportNegativeStock(false);\n\n        OpenItemGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1765460154765' \\\n-d 'param=%7B%22kwaiItemId%22%3A111%2C%22supportNegativeStock%22%3Afalse%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"itemId\": 401936318906,\n    \"relItemId\": 401936318906,\n    \"categoryId\": 1003,\n    \"categoryName\": \"男装\",\n    \"parentCategoryId\": 1002,\n    \"parentCategoryName\": \"服饰\",\n    \"rootCategoryId\": 1001,\n    \"rootCategoryName\": \"生活\",\n    \"title\": \"时尚运动装\",\n    \"details\": \"纯棉材质运动装\",\n    \"imageUrls\": [\n      \"http://www.baidu.com/1\"\n    ],\n    \"detailImageUrls\": [\n      \"http://www.baidu.com/1\",\n      \"http://www.baidu.com/2\"\n    ],\n    \"skuInfos\": [\n      {\n        \"kwaiSkuId\": 307744885906,\n        \"relSkuId\": 307744885906,\n        \"skuStock\": 100,\n        \"imageUrl\": \"https://...\",\n        \"skuSalePrice\": 1000,\n        \"volume\": 10,\n        \"isValid\": 1,\n        \"createTime\": 1560000000000,\n        \"updateTime\": 1560000000000,\n        \"specification\": \"白色-L\",\n        \"appkey\": \"123abc\",\n        \"skuNick\": \"12345\",\n        \"skuProp\": [\n          {\n            \"skuPropId\": 4596904,\n            \"propId\": 4596903,\n            \"propName\": \"颜色\",\n            \"propValueId\": 4596907,\n            \"propValueName\": \"黑色\",\n            \"itemId\": 401957455906,\n            \"skuId\": 307744885906,\n            \"imageUrl\": \"http://...\",\n            \"isValid\": 1,\n            \"createTime\": 1636469261660,\n            \"updateTime\": 1636469261660,\n            \"propSortNum\": 1,\n            \"propValueSortNum\": 1,\n            \"propValueRemarks\": \"备注\",\n            \"propValueGroupId\": 2132131112,\n            \"isMainProp\": 0,\n            \"propVersion\": 1,\n            \"measureInfo\": {\n              \"templateId\": 2556,\n              \"value\": [\n                {\n                  \"type\": \"\\\"TEXT\\\"\",\n                  \"value\": \"\\\"10\\\"\",\n                  \"unitValueId\": 213245,\n                  \"unitValueName\": \"\\\"斤\\\"\"\n                }\n              ]\n            }\n          }\n        ],\n        \"kwaiItemId\": 307744885911,\n        \"gtinCode\": \"12345670\",\n        \"mealDetail\": {\n          \"mealGroupDTOList\": [\n            {\n              \"title\": \"荤菜\",\n              \"mealContentDTOList\": [\n                {\n                  \"title\": \"萝卜汤\",\n                  \"count\": 4,\n                  \"price\": 100\n                }\n              ],\n              \"fromNum\": 2,\n              \"selectNum\": 1\n            }\n          ],\n          \"lowestPeopleNum\": 1,\n          \"highestPeopleNum\": 2,\n          \"remark\": \"备注\"\n        },\n        \"reserveStock\": 10,\n        \"packageCode\": \"123456789\",\n        \"goodsId\": \"12121\",\n        \"goodsCode\": [],\n        \"negativeStock\": -5\n      }\n    ],\n    \"serviceRule\": {\n      \"refundRule\": \"支持7天无理由退货\",\n      \"theDayOfDeliverGoodsTime\": 10,\n      \"promiseDeliveryTime\": 172800,\n      \"servicePromise\": {\n        \"freshRotRefund\": true,\n        \"brokenRefund\": true,\n        \"allergyRefund\": true,\n        \"crabRefund\": true,\n        \"weightGuarantee\": true\n      },\n      \"unavailableTimeRule\": {\n        \"weeks\": [\n          1,\n          2\n        ],\n        \"holidays\": [\n          1,\n          2\n        ],\n        \"timeRanges\": [\n          {\n            \"startTime\": 1640078945111,\n            \"endTime\": 1640078945111\n          }\n        ]\n      },\n      \"certMerchantCode\": \"merchant\",\n      \"deliveryMethod\": \"certificate\",\n      \"certExpireType\": 1,\n      \"certStartTime\": 1640079229123,\n      \"certEndTime\": 1640079229123,\n      \"certExpDays\": 1640079229123,\n      \"orderPurchaseLimitType\": 1,\n      \"minOrderCount\": 3,\n      \"maxOrderCount\": 4,\n      \"customerInfo\": {\n        \"customerInfoType\": \"1\",\n        \"customerCertificateType\": [\n          1\n        ]\n      },\n      \"priceProtectDays\": 7,\n      \"deliveryTimeMode\": \"spot\"\n    },\n    \"auditStatus\": 2,\n    \"auditReason\": \"通过\",\n    \"createdTime\": 1544444595373,\n    \"updateTime\": 1544444595373,\n    \"onOfflineStatus\": 1,\n    \"parentCategoryList\": [\n      {\n        \"categoryId\": 1065,\n        \"categoryName\": \"手机/数码/电脑办公\",\n        \"categoryPid\": 1034\n      }\n    ],\n    \"itemPropValues\": [\n      {\n        \"propId\": 123213,\n        \"radioPropValue\": {\n          \"propValueId\": 4718388,\n          \"propValue\": \"海贼王\"\n        },\n        \"checkBoxPropValuesList\": [\n          {\n            \"propValueId\": 4718388,\n            \"propValue\": \"海贼王\"\n          }\n        ],\n        \"textPropValue\": \"测试\",\n        \"datetimeTimestamp\": 1577808000000,\n        \"dateRange\": {\n          \"startTimeTimestamp\": 1577808000000,\n          \"endTimeTimestamp\": 1577809000000\n        },\n        \"sortNum\": 12,\n        \"imagePropValues\": [],\n        \"propName\": \"男装风格1\",\n        \"propAlias\": \"男装\",\n        \"inputType\": 1,\n        \"propType\": 1,\n        \"unitPropValueId\": 1,\n        \"unitPropValueName\": \"毫升\"\n      }\n    ],\n    \"expressTemplateId\": 123456,\n    \"purchaseLimit\": true,\n    \"limitCount\": 100,\n    \"linkUrl\": \"http://test.com/\",\n    \"timeOfSale\": 1687128312,\n    \"itemRemark\": \"商品备注\",\n    \"duplicationStatus\": 2,\n    \"duplicationReason\": \"通过\",\n    \"multipleStock\": false,\n    \"poiIds\": [\n      111,\n      112\n    ],\n    \"whiteBaseImageUrl\": \"\\\"http://www.baidu.com/1.jpg\\\"\",\n    \"transparentImageUrl\": \"\\\"http://www.baidu.com/1.png\\\"\",\n    \"shortTitle\": \"商品短标题\",\n    \"sellingPoint\": \"商品卖点\",\n    \"instructions\": \"使用说明\",\n    \"contractPhone\": true,\n    \"offlineReason\": \"下架原因\",\n    \"itemQualification\": [\n      {\n        \"qualificationDataId\": 123456789,\n        \"certification\": \"123456789\",\n        \"qualificationFiles\": [],\n        \"validDateStart\": \"2023-04-30 00:00:00\",\n        \"validDateEnd\": \"2023-05-30 00:00:00\",\n        \"auditTime\": \"2023-05-20 00:00:00\",\n        \"relatedItemCount\": 10,\n        \"remark\": \"资质备注\",\n        \"detailPageUrl\": \"\\\"\\\"\",\n        \"qualificationMetaName\": \"\\\"\\\"\",\n        \"qualificationMetaId\": 123\n      }\n    ],\n    \"spuId\": 123456,\n    \"threeQuartersImageUrl\": [\n      \"http://www.baidu.com/1.jpg\"\n    ],\n    \"itemVideo\": {\n      \"videoId\": \"15b789a67c05fb5a\",\n      \"videoType\": 1\n    },\n    \"sizeChart\": {\n      \"sizeChartId\": 1,\n      \"templateTypePropValueId\": 1,\n      \"groupId\": 1,\n      \"sizeChartNote\": \"备注\",\n      \"sizeChartTable\": {\n        \"headerParam\": [\n          \"尺码\",\n          \"身高\"\n        ],\n        \"sizeChartRow\": [\n          {\n            \"sizeChartUnit\": [\n              {\n                \"paramName\": \"尺码\",\n                \"paramUnit\": \"cm\",\n                \"paramType\": \"single\",\n                \"paramTypeDesc\": \"单值\",\n                \"paramValueList\": [\n                  \"1\"\n                ]\n              }\n            ]\n          }\n        ]\n      },\n      \"imageWidth\": 800,\n      \"imageHeight\": 800,\n      \"imageUrl\": \"\\\"\\\"\"\n    }\n  }\n}"}],"viewNum":1327,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1776927720733}},{"action":"open.item.list.get","title":"查询商品列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.list.get&version=1","sha256":"82a6a7fa7a68b16070b64cf90452bcae4d55b6c252087b0773e71195532070bb","bytes":12523},"official":{"id":0,"name":"open.item.list.get","cnName":"查询商品列表","method":1,"version":1,"description":"分页查询商家的商品列表信息,每页返回数最多为100,推荐值为20。","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8278435,"paramName":"kwaiItemId","paramType":"Long","structureId":0,"example":"401936319911","required":false,"description":"快手商品id"},{"id":8278436,"paramName":"relItemId","paramType":"Long","structureId":0,"example":"401936319923","required":false,"description":"外部商品Id.如kwaiItemId未传,但relItemId传了,将会按照appkey+relItemId查询"},{"id":8278437,"paramName":"itemStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"商品状态。不传kwaiItemId和relItemId时才会生效 1-正常  目前接口只支持1-正常(商品状态1是指未删除的商品)"},{"id":8278438,"paramName":"itemType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"商品类型。不传kwaiItemId和relItemId时才会生效                  1-自建商品"},{"id":8278439,"paramName":"pageNumber","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"0 < 数值 < totalPage"},{"id":8278440,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"10","required":false,"description":"推荐值20,范围为10~100,超过100或不传默认取100"},{"id":8278441,"paramName":"onOfflineStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"上下架条件,目前仅支持查询1(上架)商品"},{"id":8278545,"paramName":"supportNegativeStock","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否支持负库存查询"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8278442,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8278443,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8278442,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":8278443,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8278444,"paramName":"data","paramType":"GetItemListResponseParam","structureId":164,"example":"{}","required":false,"description":"商品列表返回data,注:如果传了relItemId,返回参数类型为ShelfItemInfoResponseParam,否则返回GetItemListResponseParam"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":500,"type":"系统错误","description":"服务端异常","solution":"服务端异常,请重试"},{"code":100002,"type":"参数非法","description":"商品不存在","solution":"商品不存在,请确认参数是否正确"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemListGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemListGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemListGetRequest request = new OpenItemListGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setKwaiItemId(401936319911);\n        request.setRelItemId(401936319923);\n        request.setItemStatus(1);\n        request.setItemType(1);\n        request.setPageNumber(1);\n        request.setPageSize(10);\n        request.setOnOfflineStatus(1);\n        request.setSupportNegativeStock(true);\n\n        OpenItemListGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/list/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.list.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1765263427346' \\\n-d 'param=%7B%22kwaiItemId%22%3A401936319911%2C%22relItemId%22%3A401936319923%2C%22itemStatus%22%3A1%2C%22itemType%22%3A1%2C%22pageNumber%22%3A1%2C%22pageSize%22%3A10%2C%22onOfflineStatus%22%3A1%2C%22supportNegativeStock%22%3Atrue%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"totalItemCount\": 123,\n    \"currentPageItemCount\": 20,\n    \"currentPageNumber\": 1,\n    \"totalPage\": 2,\n    \"items\": [\n      {\n        \"kwaiItemId\": 401936319911,\n        \"skuList\": [\n          {\n            \"kwaiSkuId\": 307744885906,\n            \"relSkuId\": 307744885906,\n            \"skuStock\": 100,\n            \"imageUrl\": \"https://...\",\n            \"skuSalePrice\": 1000,\n            \"volume\": 10,\n            \"isValid\": 1,\n            \"createTime\": 1560000000000,\n            \"updateTime\": 1560000000000,\n            \"specification\": \"白色-L\",\n            \"appkey\": \"123abc\",\n            \"skuNick\": \"12345\",\n            \"skuProp\": [\n              {\n                \"skuPropId\": 4596904,\n                \"propId\": 4596903,\n                \"propName\": \"颜色\",\n                \"propValueId\": 4596907,\n                \"propValueName\": \"黑色\",\n                \"itemId\": 401957455906,\n                \"skuId\": 307744885906,\n                \"imageUrl\": \"http://...\",\n                \"isValid\": 1,\n                \"createTime\": 1636469261660,\n                \"updateTime\": 1636469261660,\n                \"propSortNum\": 1,\n                \"propValueSortNum\": 1,\n                \"propValueRemarks\": \"备注\",\n                \"propValueGroupId\": 2132131112,\n                \"isMainProp\": 0,\n                \"propVersion\": 1,\n                \"measureInfo\": {\n                  \"templateId\": 2556,\n                  \"value\": [\n                    {\n                      \"type\": \"\\\"TEXT\\\"\",\n                      \"value\": \"\\\"10\\\"\",\n                      \"unitValueId\": 213245,\n                      \"unitValueName\": \"\\\"斤\\\"\"\n                    }\n                  ]\n                }\n              }\n            ],\n            \"kwaiItemId\": 307744885911,\n            \"gtinCode\": \"12345670\",\n            \"mealDetail\": {\n              \"mealGroupDTOList\": [\n                {\n                  \"title\": \"荤菜\",\n                  \"mealContentDTOList\": [\n                    {\n                      \"title\": \"萝卜汤\",\n                      \"count\": 4,\n                      \"price\": 100\n                    }\n                  ],\n                  \"fromNum\": 2,\n                  \"selectNum\": 1\n                }\n              ],\n              \"lowestPeopleNum\": 1,\n              \"highestPeopleNum\": 2,\n              \"remark\": \"备注\"\n            },\n            \"reserveStock\": 10,\n            \"packageCode\": \"123456789\",\n            \"goodsId\": \"12121\",\n            \"goodsCode\": [],\n            \"negativeStock\": -5\n          }\n        ],\n        \"userId\": 2167696911,\n        \"relItemId\": 401936319911,\n        \"title\": \"时尚运动衣\",\n        \"details\": \"纯棉材质运动衣,让你动起来\",\n        \"mainImageUrl\": \"https://...\",\n        \"linkUrl\": \"https://...\",\n        \"categoryId\": 1003,\n        \"price\": 12345,\n        \"volume\": 100,\n        \"categoryName\": \"服装\",\n        \"status\": 1,\n        \"createTime\": 1560080990000,\n        \"updateTime\": 1560080990000,\n        \"serviceRule\": {\n          \"refundRule\": \"支持7天无理由退货\",\n          \"theDayOfDeliverGoodsTime\": 10,\n          \"promiseDeliveryTime\": 172800,\n          \"servicePromise\": {\n            \"freshRotRefund\": true,\n            \"brokenRefund\": true,\n            \"allergyRefund\": true,\n            \"crabRefund\": true,\n            \"weightGuarantee\": true\n          },\n          \"unavailableTimeRule\": {\n            \"weeks\": [\n              1,\n              2\n            ],\n            \"holidays\": [\n              1,\n              2\n            ],\n            \"timeRanges\": [\n              {\n                \"startTime\": 1640078945111,\n                \"endTime\": 1640078945111\n              }\n            ]\n          },\n          \"certMerchantCode\": \"merchant\",\n          \"deliveryMethod\": \"certificate\",\n          \"certExpireType\": 1,\n          \"certStartTime\": 1640079229123,\n          \"certEndTime\": 1640079229123,\n          \"certExpDays\": 1640079229123,\n          \"orderPurchaseLimitType\": 1,\n          \"minOrderCount\": 3,\n          \"maxOrderCount\": 4,\n          \"customerInfo\": {\n            \"customerInfoType\": \"1\",\n            \"customerCertificateType\": [\n              1\n            ]\n          },\n          \"priceProtectDays\": 7,\n          \"deliveryTimeMode\": \"spot\"\n        },\n        \"auditStatus\": 1,\n        \"auditReason\": \"标题与实际产品不符,请修改标题\",\n        \"shelfStatus\": 1,\n        \"shelfStatusUpdateReason\": \"库存充足\",\n        \"imageUrls\": [\n          \"http://www.baidu.com/1\",\n          \"http://www.baidu.com/2\"\n        ],\n        \"fromType\": 1,\n        \"appkey\": \"123abc\",\n        \"itemStatus\": 1,\n        \"expressTemplateId\": 1,\n        \"itemType\": 1,\n        \"multipleStock\": false,\n        \"duplicationStatus\": 2,\n        \"duplicationReason\": \"通过\",\n        \"instructions\": \"使用说明\"\n      }\n    ]\n  }\n}"}],"viewNum":1368,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1765446208921}},{"action":"open.item.main.pic.video.apply","title":"应用主图视频至商品","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.main.pic.video.apply&version=1","sha256":"775879553db5d8d449ac182cbca3573d64a199a946c973b7ed04d31b0e76b0a8","bytes":3962},"official":{"id":0,"name":"open.item.main.pic.video.apply","cnName":"应用主图视频至商品","method":2,"version":1,"description":"应用主图视频至商品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7280183,"paramName":"itemId","paramType":"Long","structureId":0,"example":"24536334004492","required":true,"description":"商品 ID"},{"id":7280184,"paramName":"videoId","paramType":"String","structureId":0,"example":"15b789a67c05fb5a","required":true,"description":"视频 ID"},{"id":7280185,"paramName":"videoType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"视频类型,1-本地上传视频 2-快手短视频"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7280186,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7280187,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7280186,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7280187,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7280188,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"}],"errorCodes":[{"code":1140002,"type":"业务错误","description":"操作频繁,请等待5s后重试","solution":"稍后重试"},{"code":1010040,"type":"参数错误","description":"商品ID必须大于0","solution":"检查入参 itemId 是否大于 0"},{"code":1010179,"type":"参数错误","description":"视频类型非法","solution":"检查入参 videoType 是否正确"},{"code":1240059,"type":"参数错误","description":"商品关联的短视频id不合法","solution":"检查传入的短视频 ID(字段 videoId)是否正确"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"// 待补充"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750412424634}},{"action":"open.item.main.pic.video.delete","title":"删除商品主图视频","category":"商品API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.main.pic.video.delete&version=1","sha256":"712bd58356077b6ef160767c209e9735e7eb5814d59883aed082f542a4fde954","bytes":5384},"official":{"id":0,"name":"open.item.main.pic.video.delete","cnName":"删除商品主图视频","method":2,"version":1,"description":"删除商品主图视频","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7700656,"paramName":"itemId","paramType":"Long","structureId":0,"example":"24536334004492","required":true,"description":"商品 ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7700657,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7700659,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7700657,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7700658,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7700659,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":1140002,"type":"业务异常","description":"操作频繁,请等待3s后重试","solution":"稍后重试"},{"code":5110001,"type":"业务错误","description":"商品不存在","solution":"检查当前商家是否有对应的商品 ID"},{"code":1010040,"type":"参数错误","description":"商品ID必须大于0","solution":"检查入参 itemId 是否大于 0"},{"code":4110002,"type":"系统错误","description":"主图视频删除失败","solution":"稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemMainPicVideoDeleteRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemMainPicVideoDeleteResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemMainPicVideoDeleteRequest request = new OpenItemMainPicVideoDeleteRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(24536334004492);\n\n        OpenItemMainPicVideoDeleteResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/main/pic/video/delete' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.main.pic.video.delete' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1749181533442' \\\n-d 'param=%7B%22itemId%22%3A24536334004492%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756974298142}},{"action":"open.item.material.detail.get","title":"查询商品素材详情","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.material.detail.get&version=1","sha256":"285a1fb7fde719c622db840af843cdb588e690c722e6454d869818ee69124e09","bytes":6059},"official":{"id":0,"name":"open.item.material.detail.get","cnName":"查询商品素材详情","method":1,"version":1,"description":"查询商品素材详情","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7700395,"paramName":"materialId","paramType":"Long","structureId":0,"example":"1458792","required":true,"description":"素材 ID"},{"id":7700396,"paramName":"materialUploadType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"商品素材上传类型:1 商品视频"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7700397,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7700398,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7700397,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7700398,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7700399,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7700400,"paramName":"data","paramType":"ItemMaterialDetailProto","structureId":547728,"example":"{}","required":false,"description":"商品素材详情"}],"errorCodes":[{"code":1140002,"type":"业务错误","description":"操作频繁,请等待3s后重试","solution":"稍后重试"},{"code":1010168,"type":"参数错误","description":"视频素材ID必须大于0","solution":"检查入参 materialId 是否大于 0"},{"code":1010302,"type":"参数错误","description":"素材上传类型非法","solution":"检查入参 materialUploadType 是否传入正确"},{"code":1010180,"type":"业务错误","description":"无权限认领其他用户视频","solution":"检查账号是否登录正确"},{"code":2110042,"type":"系统错误","description":"查询视频信息异常","solution":"稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemMaterialDetailGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemMaterialDetailGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemMaterialDetailGetRequest request = new OpenItemMaterialDetailGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setMaterialId(1458792);\n        request.setMaterialUploadType(1);\n\n        OpenItemMaterialDetailGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/material/detail/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.material.detail.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1748921950228' \\\n-d 'param=%7B%22materialId%22%3A1458792%2C%22materialUploadType%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": {\n    \"auditStatus\": 2,\n    \"auditReason\": \"素材格式非法\",\n    \"videoId\": \"15b789a67c05fb5a\"\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756974222897}},{"action":"open.item.new","title":"新增商品","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.new&version=1","sha256":"01a3177fecaa4d826ca56df7c3985d1e7bb1d7fae52703a8f5bc4332daa0b3f3","bytes":30163},"official":{"id":0,"name":"open.item.new","cnName":"新增商品","method":2,"version":1,"description":"商家每天创建商品的个数上限为500个,超过当天商品铺货上限时请勿重试","needPermission":true,"permissionScope":"merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8830364,"paramName":"title","paramType":"String","structureId":0,"example":"黑色T恤","required":true,"description":"商品名称"},{"id":8830365,"paramName":"relItemId","paramType":"Long","structureId":0,"example":"16231231243212","required":true,"description":"外部商品id,仅供记录外部商品和快手商品对应关系;\n注意:外部商品id不可与历史新建商品重复"},{"id":8830366,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1003","required":true,"description":"类目id"},{"id":8830367,"paramName":"imageUrls","paramType":"String[]","structureId":0,"example":"[]","required":true,"description":"商品主图,1. 最少上传1张图片,最多上传9张图片\n2. 单张图片大小不超过2M,支持png/jpeg/jpg格式\n3.必须是快手平台图片url(外网图片链接可通过 open.item.image.upload 提前转换)"},{"id":8830368,"paramName":"skuList","paramType":"OpenApiAddSkuDTO[]","structureId":8897,"example":"[{}]","required":true,"description":"sku信息列表。0 < 数量 <= 600"},{"id":8830369,"paramName":"purchaseLimit","paramType":"Boolean","structureId":0,"example":"true","required":false,"description":"是否限购,默认不限购"},{"id":8830370,"paramName":"limitCount","paramType":"Long","structureId":0,"example":"99","required":false,"description":"商品限购数量。purchaseLimit为true时,限购数量必填"},{"id":8830371,"paramName":"itemPropValues","paramType":"AddItemPropValue[]","structureId":8896,"example":"[{}]","required":false,"description":"商品类目属性,商品类目属性有必填项,必传。(注意:类目属性不允许重复)"},{"id":8830372,"paramName":"details","paramType":"String","structureId":0,"example":"商品详情。0 < 长度 <= 1000","required":true,"description":"商品详情描述。0 < 长度 <= 1000个汉字(2000个字符)"},{"id":8830373,"paramName":"detailImageUrls","paramType":"List<String>","structureId":0,"example":"[\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\", \"https://u1-203.ecukwai.com/ufile/adsocial/4a6cad11-b25d-4d51-8fb7-c8a51530e587.jpg\"]","required":true,"description":"商品详情图,1. 至少上传 1 张;2. 最多上传50张;3. 单张图片大小不超过2M,支持png/jpeg/jpg格式;4. 必须为快手图片链接(外网图片链接可通过 open.item.image.upload 提前转换)"},{"id":8830374,"paramName":"stockPartner","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否分仓,默认为false"},{"id":8830375,"paramName":"itemRemark","paramType":"String","structureId":0,"example":"商品备注","required":false,"description":"支持中文、英文和数字,最多10个汉字(20个字符)"},{"id":8830376,"paramName":"serviceRule","paramType":"ServiceRule","structureId":8779,"example":"{}","required":true,"description":" 服务规则"},{"id":8830377,"paramName":"expressTemplateId","paramType":"Long","structureId":0,"example":"0","required":true,"description":"运费模板id"},{"id":8830378,"paramName":"saleTimeFlag","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否定点开售,默认为false"},{"id":8830379,"paramName":"timeOfSale","paramType":"Long","structureId":0,"example":"1631001896457","required":false,"description":"定点开售时间,如果开启定点开售必填"},{"id":8830380,"paramName":"payWay","paramType":"Integer","structureId":0,"example":"2","required":false,"description":"支付方式:1 货到付款 2 在线支付 3 在线支付和货到付款;默认2\n目前OpenAPI端只支持「在线支付」方式"},{"id":8830381,"paramName":"multipleStock","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否是多仓库存模式,默认是false"},{"id":8830382,"paramName":"poiIds","paramType":"List<Long>","structureId":0,"example":"[111,231]","required":false,"description":"门店ID"},{"id":8830383,"paramName":"whiteBaseImageUrl","paramType":"String","structureId":0,"example":"\"http://www.baidu.com/1.jpg\"","required":false,"description":"商品白底图,请上传格式为png/jpeg/jpg的图片,长宽比为1:1的图片,像素480*480px以上的图片,大小小于2M"},{"id":8830384,"paramName":"transparentImageUrl","paramType":"String","structureId":0,"example":"\"http://www.baidu.com/1.png\"","required":false,"description":"商品透明图,请上传格式为png的图片,长宽比为1:1的图片,像素480*480px以上的图片,大小小于2M"},{"id":8830385,"paramName":"shortTitle","paramType":"String","structureId":0,"example":"商品短标题","required":false,"description":"商品短标题长度必须大于4且小于20个字符(2-10汉字)"},{"id":8830386,"paramName":"sellingPoint","paramType":"String","structureId":0,"example":"商品卖点","required":false,"description":"商品卖点长度必须大于8且小于24个字符(4-12汉字)"},{"id":8830387,"paramName":"instructions","paramType":"String","structureId":0,"example":"使用说明","required":false,"description":"使用说明,非必传,约定字符限制400个中文字长度以内。空行数量10行以内。"},{"id":8830388,"paramName":"saveShelfItemQualificationData","paramType":"List<QualificationDataDTO>","structureId":213030,"example":"[]","required":false,"description":"商品资质数据"},{"id":8830389,"paramName":"offShoreMode","paramType":"Integer","structureId":0,"example":"2","required":false,"description":"离岛模式(目前仅支持离岛补购);1:离岛补购;2:离岛免税"},{"id":8830390,"paramName":"spuId","paramType":"Long","structureId":0,"example":"123456","required":false,"description":"标品ID,标品强管控类目必填,标品弱管控类目非必填,标品不管控或未配置类目不允许填写"},{"id":8830391,"paramName":"itemVideoId","paramType":"String","structureId":0,"example":"1234456789","required":false,"description":"短视频ID"},{"id":8830392,"paramName":"threeQuartersImageUrls","paramType":"List<String>","structureId":0,"example":"[\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\", \"https://u1-203.ecukwai.com/ufile/adsocial/4a6cad11-b25d-4d51-8fb7-c8a51530e587.jpg\"]","required":false,"description":"3:4主图"},{"id":8830393,"paramName":"itemVideo","paramType":"ItemVideoProto","structureId":547764,"example":"{}","required":false,"description":"商品视频(优先从 itemVideoId 字段取快手短视频 ID,再从当前字段取视频信息)"},{"id":8830394,"paramName":"sizeChartTemplateId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"尺码模板ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8830395,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8830396,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8830395,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":8830396,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8830397,"paramName":"data","paramType":"AddItemResponseParam","structureId":148,"example":"{}","required":false,"description":"新增商品返回数据"}],"errorCodes":[{"code":1240241,"type":"PARAM INVAILD","description":"当前入参的relItemId:{0}已被其他商品使用,不能重复创建","solution":"修改relitemid后重试"},{"code":1060010,"type":"SYSTEM ERROR","description":"服务出小差了,请稍后重试~","solution":"重试或联系客服"},{"code":1220006,"type":"ERROR","description":"抱歉,您正在关店流程中,无法新增商品","solution":"店铺正在关店流程中,无法新增商品,请商家到小店后台查看"},{"code":1241035,"type":"ERROR","description":"质检认证SKU库存不合法","solution":"修改合法参数之后重试"},{"code":1220007,"type":"ERROR","description":"今日新增商品数量达到上限","solution":"商家当天铺货商品数已达上限,请勿重试"},{"code":1240112,"type":"PARAM INVAILD","description":"当前类目要求商品必须支持「服务承诺-{0}」,请设置「服务承诺-{0}」","solution":"修改合法参数后重试"},{"code":1240111,"type":"PARAM INVAILD","description":"当前类目要求商品不支持「服务承诺-{0}」,请勿设置「服务承诺-{0}」","solution":"修改合法参数后重试"},{"code":1241030,"type":"PARAM INVAILD","description":"此类目不支持选择标品进行发布,请勿填写标品ID","solution":"请勿填写标品ID"},{"code":1241031,"type":"PARAM INVAILD","description":"此类目要求必须选择标品进行发布,请填写标品ID","solution":"请填写标品ID"},{"code":1240068,"type":"PARAM INVAILD","description":"此类目要求必须选择标品进行发布,否则无法提交。根据您填写的属性,未匹配到标品,请您确认属性信息是否填写有误,或在PC端申请新增标品信息。","solution":"请您确认属性信息是否填写有误,或申请标品"},{"code":1240069,"type":"PARAM INVAILD","description":"标品已禁用,不能发布该类商品","solution":"请更换标品信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemNewRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemNewResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemNewRequest request = new OpenItemNewRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setTitle(\"黑色T恤\");\n        request.setRelItemId(16231231243212);\n        request.setCategoryId(1003);\n        String[] array1 = new String[1];\n        array1[0] = \"\";\n        request.setImageUrls(array1);\n        OpenApiAddSkuDTO[] array3 = new OpenApiAddSkuDTO[1];\n        OpenApiAddSkuDTO obj1 = new OpenApiAddSkuDTO();\n        obj1.setRelSkuId(3703660508488);\n        obj1.setSkuStock(10);\n        obj1.setSkuSalePrice(1200);\n        obj1.setSkuNick(\"TS9988\");\n        OpenApiAddSkuPropDTO[] array2 = new OpenApiAddSkuPropDTO[1];\n        OpenApiAddSkuPropDTO obj2 = new OpenApiAddSkuPropDTO();\n        obj2.setPropName(\"颜色\");\n        obj2.setPropValueName(\"红色\");\n        obj2.setImageUrl(\"http://kuaishou.com/file/a.jpeg\");\n        obj2.setIsMainProp(1);\n        obj2.setPropValueGroupId(0);\n        obj2.setPropVersion(1);\n        obj2.setPropSortNum(1);\n        obj2.setPropValueSortNum(3);\n        obj2.setPropValueRemarks(\"这是一个规格备注\");\n        OpenapiSkuPropMeasureProto obj3 = new OpenapiSkuPropMeasureProto();\n        obj3.setTemplateId(22242);\n        List<OpenapiSkuPropMeasureValueProto> list1 = new ArrayList<>();\n        OpenapiSkuPropMeasureValueProto obj4 = new OpenapiSkuPropMeasureValueProto();\n        obj4.setType(\"PREVIEW_TEXT\");\n        obj4.setValue(\"净含量:\");\n        obj4.setUnitValueId(120231);\n        obj4.setUnitValueName(\"kg\");\n        list1.add(obj4);\n        obj3.setValue(list1);\n        obj2.setMeasureInfo(obj3);\n        array2[0] = obj2;\n        obj1.setSkuProps(array2);\n        SkuCertificatePropParam obj5 = new SkuCertificatePropParam();\n        obj5.setCondition(\"9成新\");\n        obj5.setPurchasingChannels(\"国行\");\n        obj5.setBatteryEfficiency(\"80-90%\");\n        obj5.setMainBoard(\"无维修\");\n        obj5.setBatteryCondition(\"原装电池\");\n        obj5.setScreenCondition(\"第三方屏幕\");\n        obj5.setShellCollision(\"明显\");\n        obj5.setReportUrl(\"https://m.paipai.com/ppinspect/activeReport\");\n        obj5.setQualityInspectionNo(\"852180\");\n        obj5.setSn(\"353************625\");\n        obj5.setShellScratch(\"明显\");\n        obj5.setShellPaint(\"明显\");\n        obj5.setDeviceSystem(\"无越狱/无Root\");\n        obj1.setSkuCertificate(obj5);\n        obj1.setSkuMarketPrice(1299);\n        obj1.setGoodsId(\"M13213124\");\n        obj1.setGtinCode(\"12345670\");\n        MealDetailDTO obj6 = new MealDetailDTO();\n        List<MealGroupDTO> list3 = new ArrayList<>();\n        MealGroupDTO obj7 = new MealGroupDTO();\n        obj7.setTitle(\"荤菜\");\n        List<MealContentDTO> list2 = new ArrayList<>();\n        MealContentDTO obj8 = new MealContentDTO();\n        obj8.setTitle(\"萝卜汤\");\n        obj8.setCount(4);\n        obj8.setPrice(100);\n        list2.add(obj8);\n        obj7.setMealContentDTOList(list2);\n        obj7.setFromNum(2);\n        obj7.setSelectNum(1);\n        list3.add(obj7);\n        obj6.setMealGroupDTOList(list3);\n        obj6.setLowestPeopleNum(1);\n        obj6.setHighestPeopleNum(2);\n        obj6.setRemark(\"备注\");\n        obj1.setMealDetail(obj6);\n        array3[0] = obj1;\n        request.setSkuList(array3);\n        request.setPurchaseLimit(true);\n        request.setLimitCount(99);\n        AddItemPropValue[] array5 = new AddItemPropValue[1];\n        AddItemPropValue obj9 = new AddItemPropValue();\n        obj9.setPropId(123213);\n        CategoryPropValueParam obj10 = new CategoryPropValueParam();\n        obj10.setPropValueId(4718388);\n        obj10.setPropValue(\"海贼王\");\n        obj9.setRadioPropValue(obj10);\n        CategoryPropValueParam[] array4 = new CategoryPropValueParam[1];\n        CategoryPropValueParam obj11 = new CategoryPropValueParam();\n        obj11.setPropValueId(4718388);\n        obj11.setPropValue(\"海贼王\");\n        array4[0] = obj11;\n        obj9.setCheckBoxPropValuesList(array4);\n        obj9.setTextPropValue(\"测试\");\n        obj9.setDatetimeTimestamp(1577808000000);\n        DateRangeParam obj12 = new DateRangeParam();\n        obj12.setStartTimeTimestamp(1632423413);\n        obj12.setEndTimeTimestamp(1643243211);\n        obj9.setDateRange(obj12);\n        obj9.setSortNum(12);\n        List<String> list4 = new ArrayList<>();\n        list4.add(\"http://kuaishou.com/a.jpg\");\n        obj9.setImagePropValues(list4);\n        obj9.setPropName(\"男装风格1\");\n        obj9.setPropAlias(\"男装\");\n        obj9.setInputType(1);\n        obj9.setPropType(1);\n        obj9.setUnitPropValueId(1);\n        obj9.setUnitPropValueName(\"ml\");\n        array5[0] = obj9;\n        request.setItemPropValues(array5);\n        request.setDetails(\"商品详情。0 < 长度 <= 1000\");\n        List<String> list5 = new ArrayList<>();\n        list5.add(\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\");\n        request.setDetailImageUrls(list5);\n        request.setStockPartner(false);\n        request.setItemRemark(\"商品备注\");\n        ServiceRule obj13 = new ServiceRule();\n        obj13.setRefundRule(\"1\");\n        obj13.setDeliverGoodsInteralTime(345600);\n        obj13.setPromiseDeliveryTime(172800);\n        obj13.setImmediatelyOnOfflineFlag(0);\n        obj13.setDeliveryMethod(\"logistics:物流配送(默认)\");\n        OpenApiServicePromise obj14 = new OpenApiServicePromise();\n        obj14.setFreshRotRefund(true);\n        obj14.setBrokenRefund(true);\n        obj14.setAllergyRefund(true);\n        obj14.setCrabRefund(true);\n        obj14.setWeightGuarantee(true);\n        obj13.setServicePromise(obj14);\n        OpenApiUnavailableTimeRule obj15 = new OpenApiUnavailableTimeRule();\n        List<Integer> list6 = new ArrayList<>();\n        list6.add(1);\n        obj15.setWeeks(list6);\n        List<Integer> list7 = new ArrayList<>();\n        list7.add(1);\n        obj15.setHolidays(list7);\n        List<OpenApiTimeRange> list8 = new ArrayList<>();\n        OpenApiTimeRange obj16 = new OpenApiTimeRange();\n        obj16.setStartTime(1640078945111);\n        obj16.setEndTime(1640078945111);\n        list8.add(obj16);\n        obj15.setTimeRanges(list8);\n        obj13.setUnavailableTimeRule(obj15);\n        obj13.setCertMerchantCode(\"merchant\");\n        obj13.setCertExpireType(1);\n        obj13.setCertStartTime(1640078945111);\n        obj13.setCertEndTime(1640078945111);\n        obj13.setCertExpDays(11);\n        obj13.setOrderPurchaseLimitType(1);\n        obj13.setMinOrderCount(2);\n        obj13.setMaxOrderCount(3);\n        CustomerInfo obj17 = new CustomerInfo();\n        obj17.setCustomerInfoType(\"1\");\n        List<String> list9 = new ArrayList<>();\n        list9.add(\"1\");\n        obj17.setCustomerCertificateType(list9);\n        obj13.setCustomerInfo(obj17);\n        obj13.setPriceProtectDays(7);\n        obj13.setDeliveryTimeMode(\"spot\");\n        request.setServiceRule(obj13);\n        request.setExpressTemplateId(0);\n        request.setSaleTimeFlag(false);\n        request.setTimeOfSale(1631001896457);\n        request.setPayWay(2);\n        request.setMultipleStock(false);\n        List<Long> list10 = new ArrayList<>();\n        list10.add(111);\n        request.setPoiIds(list10);\n        request.setWhiteBaseImageUrl(\"\\\"http://www.baidu.com/1.jpg\\\"\");\n        request.setTransparentImageUrl(\"\\\"http://www.baidu.com/1.png\\\"\");\n        request.setShortTitle(\"商品短标题\");\n        request.setSellingPoint(\"商品卖点\");\n        request.setInstructions(\"使用说明\");\n        List<QualificationDataDTO> list13 = new ArrayList<>();\n        QualificationDataDTO obj18 = new QualificationDataDTO();\n        obj18.setMetaId(875);\n        obj18.setExistedQualificationDataId(123456);\n        List<AddItemPropValue> list12 = new ArrayList<>();\n        AddItemPropValue obj19 = new AddItemPropValue();\n        obj19.setPropId(123213);\n        CategoryPropValueParam obj20 = new CategoryPropValueParam();\n        obj20.setPropValueId(4718388);\n        obj20.setPropValue(\"海贼王\");\n        obj19.setRadioPropValue(obj20);\n        CategoryPropValueParam[] array6 = new CategoryPropValueParam[1];\n        CategoryPropValueParam obj21 = new CategoryPropValueParam();\n        obj21.setPropValueId(4718388);\n        obj21.setPropValue(\"海贼王\");\n        array6[0] = obj21;\n        obj19.setCheckBoxPropValuesList(array6);\n        obj19.setTextPropValue(\"测试\");\n        obj19.setDatetimeTimestamp(1577808000000);\n        DateRangeParam obj22 = new DateRangeParam();\n        obj22.setStartTimeTimestamp(1632423413);\n        obj22.setEndTimeTimestamp(1643243211);\n        obj19.setDateRange(obj22);\n        obj19.setSortNum(12);\n        List<String> list11 = new ArrayList<>();\n        list11.add(\"http://kuaishou.com/a.jpg\");\n        obj19.setImagePropValues(list11);\n        obj19.setPropName(\"男装风格1\");\n        obj19.setPropAlias(\"男装\");\n        obj19.setInputType(1);\n        obj19.setPropType(1);\n        obj19.setUnitPropValueId(1);\n        obj19.setUnitPropValueName(\"ml\");\n        list12.add(obj19);\n        obj18.setProp(list12);\n        list13.add(obj18);\n        request.setSaveShelfItemQualificationData(list13);\n        request.setOffShoreMode(2);\n        request.setSpuId(123456);\n        request.setItemVideoId(\"1234456789\");\n        List<String> list14 = new ArrayList<>();\n        list14.add(\"https://u1-203.ecukwai.com/bs2/image-kwaishop-product/ITEM_DETAIL_IMAGE-11318492-73183d77e78447c5ae349ce0f2890024.jpg\");\n        request.setThreeQuartersImageUrls(list14);\n        ItemVideoProto obj23 = new ItemVideoProto();\n        obj23.setVideoId(\"15b789a67c05fb5a\");\n        obj23.setVideoType(1);\n        request.setItemVideo(obj23);\n        request.setSizeChartTemplateId(1);\n\n        OpenItemNewResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/new' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.new' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1755175177723' \\\n-d 'param=%7B%22title%22%3A%22%E9%BB%91%E8%89%B2T%E6%81%A4%22%2C%22relItemId%22%3A16231231243212%2C%22categoryId%22%3A1003%2C%22imageUrls%22%3A%5B%5D%2C%22skuList%22%3A%5B%7B%22relSkuId%22%3A3703660508488%2C%22skuStock%22%3A10%2C%22skuSalePrice%22%3A1200%2C%22skuNick%22%3A%22TS9988%22%2C%22skuProps%22%3A%5B%7B%22propName%22%3A%22%E9%A2%9C%E8%89%B2%22%2C%22propValueName%22%3A%22%E7%BA%A2%E8%89%B2%22%2C%22imageUrl%22%3A%22http%3A%2F%2Fkuaishou%2Ecom%2Ffile%2Fa%2Ejpeg%22%2C%22isMainProp%22%3A1%2C%22propValueGroupId%22%3A0%2C%22propVersion%22%3A1%2C%22propSortNum%22%3A1%2C%22propValueSortNum%22%3A3%2C%22propValueRemarks%22%3A%22%E8%BF%99%E6%98%AF%E4%B8%80%E4%B8%AA%E8%A7%84%E6%A0%BC%E5%A4%87%E6%B3%A8%22%2C%22measureInfo%22%3A%7B%22templateId%22%3A22242%2C%22value%22%3A%5B%7B%22type%22%3A%22PREVIEW%5FTEXT%22%2C%22value%22%3A%22%E5%87%80%E5%90%AB%E9%87%8F%EF%BC%9A%22%2C%22unitValueId%22%3A120231%2C%22unitValueName%22%3A%22kg%22%7D%5D%7D%7D%5D%2C%22skuCertificate%22%3A%7B%22condition%22%3A%229%E6%88%90%E6%96%B0%22%2C%22purchasingChannels%22%3A%22%E5%9B%BD%E8%A1%8C%22%2C%22batteryEfficiency%22%3A%2280%2D90%25%22%2C%22mainBoard%22%3A%22%E6%97%A0%E7%BB%B4%E4%BF%AE%22%2C%22batteryCondition%22%3A%22%E5%8E%9F%E8%A3%85%E7%94%B5%E6%B1%A0%22%2C%22screenCondition%22%3A%22%E7%AC%AC%E4%B8%89%E6%96%B9%E5%B1%8F%E5%B9%95%22%2C%22shellCollision%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22reportUrl%22%3A%22https%3A%2F%2Fm%2Epaipai%2Ecom%2Fppinspect%2FactiveReport%22%2C%22qualityInspectionNo%22%3A%22852180%22%2C%22sn%22%3A%22353%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A625%22%2C%22shellScratch%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22shellPaint%22%3A%22%E6%98%8E%E6%98%BE%22%2C%22deviceSystem%22%3A%22%E6%97%A0%E8%B6%8A%E7%8B%B1%2F%E6%97%A0Root%22%7D%2C%22skuMarketPrice%22%3A1299%2C%22goodsId%22%3A%22M13213124%22%2C%22gtinCode%22%3A%2212345670%22%2C%22mealDetail%22%3A%7B%22mealGroupDTOList%22%3A%5B%7B%22title%22%3A%22%E8%8D%A4%E8%8F%9C%22%2C%22mealContentDTOList%22%3A%5B%7B%22title%22%3A%22%E8%90%9D%E5%8D%9C%E6%B1%A4%22%2C%22count%22%3A4%2C%22price%22%3A100%7D%5D%2C%22fromNum%22%3A2%2C%22selectNum%22%3A1%7D%5D%2C%22lowestPeopleNum%22%3A1%2C%22highestPeopleNum%22%3A2%2C%22remark%22%3A%22%E5%A4%87%E6%B3%A8%22%7D%7D%5D%2C%22purchaseLimit%22%3Atrue%2C%22limitCount%22%3A99%2C%22itemPropValues%22%3A%5B%7B%22propId%22%3A123213%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%2C%22checkBoxPropValuesList%22%3A%5B%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%5D%2C%22textPropValue%22%3A%22%E6%B5%8B%E8%AF%95%22%2C%22datetimeTimestamp%22%3A1577808000000%2C%22dateRange%22%3A%7B%22startTimeTimestamp%22%3A1632423413%2C%22endTimeTimestamp%22%3A1643243211%7D%2C%22sortNum%22%3A12%2C%22imagePropValues%22%3A%5B%22http%3A%2F%2Fkuaishou%2Ecom%2Fa%2Ejpg%22%2C%22http%3A%2F%2Fkuaishou%2Ecom%2Fb%2Ejpg%22%5D%2C%22propName%22%3A%22%E7%94%B7%E8%A3%85%E9%A3%8E%E6%A0%BC1%22%2C%22propAlias%22%3A%22%E7%94%B7%E8%A3%85%22%2C%22inputType%22%3A1%2C%22propType%22%3A1%2C%22unitPropValueId%22%3A1%2C%22unitPropValueName%22%3A%22ml%22%7D%5D%2C%22details%22%3A%22%E5%95%86%E5%93%81%E8%AF%A6%E6%83%85%E3%80%820+%3C+%E9%95%BF%E5%BA%A6+%3C%3D+1000%22%2C%22detailImageUrls%22%3A%5B%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FITEM%5FDETAIL%5FIMAGE%2D11318492%2D73183d77e78447c5ae349ce0f2890024%2Ejpg%22%2C%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fufile%2Fadsocial%2F4a6cad11%2Db25d%2D4d51%2D8fb7%2Dc8a51530e587%2Ejpg%22%5D%2C%22stockPartner%22%3Afalse%2C%22itemRemark%22%3A%22%E5%95%86%E5%93%81%E5%A4%87%E6%B3%A8%22%2C%22serviceRule%22%3A%7B%22refundRule%22%3A%221%22%2C%22deliverGoodsInteralTime%22%3A345600%2C%22promiseDeliveryTime%22%3A172800%2C%22immediatelyOnOfflineFlag%22%3A0%2C%22deliveryMethod%22%3A%22logistics%EF%BC%9A%E7%89%A9%E6%B5%81%E9%85%8D%E9%80%81%EF%BC%88%E9%BB%98%E8%AE%A4%EF%BC%89%22%2C%22servicePromise%22%3A%7B%22freshRotRefund%22%3Atrue%2C%22brokenRefund%22%3Atrue%2C%22allergyRefund%22%3Atrue%2C%22crabRefund%22%3Atrue%2C%22weightGuarantee%22%3Atrue%7D%2C%22unavailableTimeRule%22%3A%7B%22weeks%22%3A%5B1%2C2%5D%2C%22holidays%22%3A%5B1%2C2%5D%2C%22timeRanges%22%3A%5B%7B%22startTime%22%3A1640078945111%2C%22endTime%22%3A1640078945111%7D%5D%7D%2C%22certMerchantCode%22%3A%22merchant%22%2C%22certExpireType%22%3A1%2C%22certStartTime%22%3A1640078945111%2C%22certEndTime%22%3A1640078945111%2C%22certExpDays%22%3A11%2C%22orderPurchaseLimitType%22%3A1%2C%22minOrderCount%22%3A2%2C%22maxOrderCount%22%3A3%2C%22customerInfo%22%3A%7B%22customerInfoType%22%3A%221%22%2C%22customerCertificateType%22%3A%5B1%5D%7D%2C%22priceProtectDays%22%3A7%2C%22deliveryTimeMode%22%3A%22spot%22%7D%2C%22expressTemplateId%22%3A0%2C%22saleTimeFlag%22%3Afalse%2C%22timeOfSale%22%3A1631001896457%2C%22payWay%22%3A2%2C%22multipleStock%22%3Afalse%2C%22poiIds%22%3A%5B111%2C231%5D%2C%22whiteBaseImageUrl%22%3A%22%5C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%2Ejpg%5C%22%22%2C%22transparentImageUrl%22%3A%22%5C%22http%3A%2F%2Fwww%2Ebaidu%2Ecom%2F1%2Epng%5C%22%22%2C%22shortTitle%22%3A%22%E5%95%86%E5%93%81%E7%9F%AD%E6%A0%87%E9%A2%98%22%2C%22sellingPoint%22%3A%22%E5%95%86%E5%93%81%E5%8D%96%E7%82%B9%22%2C%22instructions%22%3A%22%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E%22%2C%22saveShelfItemQualificationData%22%3A%5B%7B%22metaId%22%3A875%2C%22existedQualificationDataId%22%3A123456%2C%22prop%22%3A%5B%7B%22propId%22%3A123213%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%2C%22checkBoxPropValuesList%22%3A%5B%7B%22propValueId%22%3A4718388%2C%22propValue%22%3A%22%E6%B5%B7%E8%B4%BC%E7%8E%8B%22%7D%5D%2C%22textPropValue%22%3A%22%E6%B5%8B%E8%AF%95%22%2C%22datetimeTimestamp%22%3A1577808000000%2C%22dateRange%22%3A%7B%22startTimeTimestamp%22%3A1632423413%2C%22endTimeTimestamp%22%3A1643243211%7D%2C%22sortNum%22%3A12%2C%22imagePropValues%22%3A%5B%22http%3A%2F%2Fkuaishou%2Ecom%2Fa%2Ejpg%22%2C%22http%3A%2F%2Fkuaishou%2Ecom%2Fb%2Ejpg%22%5D%2C%22propName%22%3A%22%E7%94%B7%E8%A3%85%E9%A3%8E%E6%A0%BC1%22%2C%22propAlias%22%3A%22%E7%94%B7%E8%A3%85%22%2C%22inputType%22%3A1%2C%22propType%22%3A1%2C%22unitPropValueId%22%3A1%2C%22unitPropValueName%22%3A%22ml%22%7D%5D%7D%5D%2C%22offShoreMode%22%3A2%2C%22spuId%22%3A123456%2C%22itemVideoId%22%3A%221234456789%22%2C%22threeQuartersImageUrls%22%3A%5B%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FITEM%5FDETAIL%5FIMAGE%2D11318492%2D73183d77e78447c5ae349ce0f2890024%2Ejpg%22%2C%22https%3A%2F%2Fu1%2D203%2Eecukwai%2Ecom%2Fufile%2Fadsocial%2F4a6cad11%2Db25d%2D4d51%2D8fb7%2Dc8a51530e587%2Ejpg%22%5D%2C%22itemVideo%22%3A%7B%22videoId%22%3A%2215b789a67c05fb5a%22%2C%22videoType%22%3A1%7D%2C%22sizeChartTemplateId%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"kwaiItemId\": 234225423,\n    \"relItemId\": 23322112,\n    \"skuIdMapping\": [\n      {\n        \"kwaiSkuId\": 1232141,\n        \"relSkuId\": 233233,\n        \"skuNick\": \"123422\"\n      }\n    ]\n  }\n}"}],"viewNum":1,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1776927654234}},{"action":"open.item.new.precheck","title":"新增商品预校验","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.new.precheck&version=1","sha256":"a21b43e402efb3fc64da6a0e2f2c33fce39609587ceb03ed885485e6dfebcb99","bytes":8766},"official":{"id":0,"name":"open.item.new.precheck","cnName":"新增商品预校验","method":2,"version":1,"description":"商家新增商品前,可以进行店铺与类目维度的前置发品规则预校验","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165389,"paramName":"leafCategoryId","paramType":"Long","structureId":0,"example":"123","required":false,"description":"商品叶子类目id(非必填,不传则不校验类目相关规则)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165390,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165391,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"成功","required":false,"description":"子返回信息"},{"id":7165390,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码 1成功"},{"id":7165391,"paramName":"error_msg","paramType":"String","structureId":0,"example":"成功","required":false,"description":"错误信息"}],"errorCodes":[{"code":1220157,"type":"业务错误","description":"抱歉,您的店铺不存在,无法新增商品","solution":"商家暂未完成开店,无法新增商品,请商家到小店后台查看"},{"code":1220006,"type":"业务错误","description":"抱歉,您正在关店流程中,无法新增商品","solution":"店铺正在关店流程中,无法新增商品,请商家到小店后台查看"},{"code":1220009,"type":"业务错误","description":"亲爱的商家您好,因为您未开通支付宝和微信收款账户,暂时无法发品","solution":"请您先完成账户开通。APP端路径:账户资金-收款设置,PC端路径:资金-收款设置。"},{"code":1220012,"type":"业务错误","description":"您已被负向处罚,商品不可操作","solution":"请商家到小店后台查看负向处罚,并进行相应处理"},{"code":1220007,"type":"业务错误","description":"今日新增商品数量达到上限","solution":"今日新增商品数量达到上限,请联系运营小二处理"},{"code":1220008,"type":"业务错误","description":"亲爱的商家,您好。因为您当前在售商品数量为xx个,已经达到平台xx个上限,故无法再发布商品","solution":"请您先下架部分在售商品后再进行此操作"},{"code":1220034,"type":"业务错误","description":"由于类目调整,当前商品所属类目无法查询到","solution":"请重新选择最新的类目后重试"},{"code":1220035,"type":"参数错误","description":"非叶子类目","solution":"请修改类目id为叶子类目后重试"},{"code":1220036,"type":"业务错误","description":"类目状态不可用","solution":"请重新选择最新的类目后重试"},{"code":1220049,"type":"业务错误","description":"抱歉,您所发布的类目暂未开放","solution":"您选择的类目需要申请,请联系运营小二评估"},{"code":1220056,"type":"业务错误","description":"由于类目调整,当前商品所属类目已被隐藏","solution":"请重新选择最新的类目后重试"},{"code":1220027,"type":"业务错误","description":"您选择的类目需要定向邀请开通","solution":"请发送邮件([email protected])联系运营小二评估"},{"code":1220028,"type":"业务错误","description":"您选择的类目在当前店铺类型暂不开放","solution":"类目开放明细可查询《开放类目及资质一览表》,如需进行店铺升级可查看《个人店铺升级个体店/企业店操作流程》"},{"code":1220030,"type":"业务错误","description":"(线上定邀)您选择的类目需要定向邀请开通","solution":"请前往电脑端「店铺管理-店铺信息设置-行业资质」进行开通"},{"code":1220032,"type":"业务错误","description":"您暂无该类目的经营权限","solution":"请先前往电脑端「店铺管理-资质管理-行业资质」开通"},{"code":1220038,"type":"业务错误","description":"当前类目已被管控,不可操作商品","solution":"您选择的类目需要申请,请联系运营小二评估"},{"code":1220040,"type":"业务错误","description":"未获得类目售卖资格","solution":"您选择的类目需要申请,请联系运营小二评估"},{"code":1220043,"type":"业务错误","description":"您选择的商品类目所需资质xxx","solution":"请前往电脑端「店铺管理-店铺信息-行业资质」维护资质"},{"code":1220044,"type":"业务错误","description":"您选择的类目需要补缴xxx保证金","solution":"请前往电脑端登录「网页版快手小店-账户资金-保证金」缴纳"},{"code":1220046,"type":"业务错误","description":"您选择的商品类目仅限定签约入仓后发布","solution":"如果您想发布并售卖该类目商品,请在快手小店-物流管理-真宝仓质检页面完成线上签约操作"},{"code":1220132,"type":"业务错误","description":"开放平台不允许新增/编辑虚拟类目商品","solution":"请前端PC/APP端进行操作"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemNewPrecheckRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemNewPrecheckResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemNewPrecheckRequest request = new OpenItemNewPrecheckRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setLeafCategoryId(123);\n\n        OpenItemNewPrecheckResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/new/precheck' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.new.precheck' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1735789467767' \\\n-d 'param=%7B%22leafCategoryId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"成功\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750410888371}},{"action":"open.item.open.item.standard.correct.spu","title":"纠错标品(新)","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.open.item.standard.correct.spu&version=1","sha256":"7bcb92e6c88c0d14656674f7e561dc814062ee6bdb945c01d00fb0f21fecdfcb","bytes":12462},"official":{"id":0,"name":"open.item.open.item.standard.correct.spu","cnName":"纠错标品(新)","method":2,"version":1,"description":"纠错标品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165437,"paramName":"standardId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"标品ID"},{"id":7165438,"paramName":"keyPropDto","paramType":"List<KeyPropOpenApiDTO>","structureId":298506,"example":"[]","required":false,"description":"关键属性"},{"id":7165439,"paramName":"modifyReason","paramType":"String","structureId":0,"example":"1","required":true,"description":"纠错原因"},{"id":7165440,"paramName":"standardImage","paramType":"List<String>","structureId":0,"example":"[\n \"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg\"\n]","required":false,"description":"标品图片:最多上传上传9张,有的标品不支持标品图片上传,这个需要根据查询标品模版确认\n注意:标品图片必须是快手图片!"},{"id":7165441,"paramName":"standardOtherImages","paramType":"String","structureId":0,"example":"other","required":false,"description":"其他图片"},{"id":7165442,"paramName":"modifyImageUrl","paramType":"String","structureId":0,"example":"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg","required":false,"description":"纠错图片(注意:标品图片必须是快手图片!)"},{"id":7165443,"paramName":"operatorSource","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"操作源"},{"id":7165444,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"类目ID"},{"id":7165445,"paramName":"userId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"用户ID"},{"id":7165446,"paramName":"spuPropDto","paramType":"List<SPUPropOpenApiDTO>","structureId":298505,"example":"[]","required":false,"description":"spu属性"},{"id":7165447,"paramName":"standardApplyId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"标品申报ID"},{"id":7165448,"paramName":"standardName","paramType":"String","structureId":0,"example":"1","required":false,"description":"标品名"},{"id":7165449,"paramName":"bizIdentityCode","paramType":"String","structureId":0,"example":"1","required":false,"description":"bizIdentityCode"},{"id":7165450,"paramName":"rootBizIdentityCode","paramType":"String","structureId":0,"example":"1","required":false,"description":"rootBizIdentityCode"},{"id":7165451,"paramName":"applyType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"申请类型"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165452,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165455,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165452,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"结果"},{"id":7165453,"paramName":"baseRespInfo","paramType":"ProductCommonResponseInfo","structureId":31786,"example":"{}","required":false,"description":"RPC调用结果"},{"id":7165454,"paramName":"correctResult","paramType":"String","structureId":0,"example":"申请纠错标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。","required":false,"description":"纠错结果"},{"id":7165455,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemOpenItemStandardCorrectSpuRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemOpenItemStandardCorrectSpuResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemOpenItemStandardCorrectSpuRequest request = new OpenItemOpenItemStandardCorrectSpuRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setStandardId(1);\n        List<KeyPropOpenApiDTO> list1 = new ArrayList<>();\n        KeyPropOpenApiDTO obj1 = new KeyPropOpenApiDTO();\n        obj1.setPropName(\"测试属性名\");\n        obj1.setUnitPropValueId(6789);\n        obj1.setPropId(1234);\n        PropValueOpenApiDTO obj2 = new PropValueOpenApiDTO();\n        obj2.setPropValueId(213);\n        obj2.setPropValue(\"\\\"黄色\\\"\");\n        obj1.setPropValue(obj2);\n        obj1.setTemplatePropType(1);\n        obj1.setSortNum(1);\n        obj1.setUnitPropValueName(\"rmb_yuan\");\n        obj1.setInputType(\"RADIO\");\n        obj1.setPropAlias(\"测试属性名字\");\n        obj1.setPropType(\"KEY_BRAND\");\n        obj1.setPropDesc(\"描述\");\n        list1.add(obj1);\n        request.setKeyPropDto(list1);\n        request.setModifyReason(\"1\");\n        List<String> list2 = new ArrayList<>();\n        list2.add(\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg\");\n        request.setStandardImage(list2);\n        request.setStandardOtherImages(\"other\");\n        request.setModifyImageUrl(\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg\");\n        request.setOperatorSource(1);\n        request.setCategoryId(1);\n        request.setUserId(1);\n        List<SPUPropOpenApiDTO> list4 = new ArrayList<>();\n        SPUPropOpenApiDTO obj3 = new SPUPropOpenApiDTO();\n        obj3.setUnitPropValueId(1);\n        PropValueOpenApiDTO obj4 = new PropValueOpenApiDTO();\n        obj4.setPropValueId(213);\n        obj4.setPropValue(\"\\\"黄色\\\"\");\n        obj3.setRadioPropValue(obj4);\n        obj3.setPropId(1);\n        obj3.setInputType(\"RADIO\");\n        obj3.setPropAlias(\"\\\"颜色\\\"\");\n        obj3.setPropType(\"ITEM\");\n        obj3.setPropName(\"\\\"颜色\\\"\");\n        obj3.setTextPropValue(\"\\\"文本信息 示例值\\\"\");\n        List<PropValueOpenApiDTO> list3 = new ArrayList<>();\n        PropValueOpenApiDTO obj5 = new PropValueOpenApiDTO();\n        obj5.setPropValueId(213);\n        obj5.setPropValue(\"\\\"黄色\\\"\");\n        list3.add(obj5);\n        obj3.setCheckboxPropValue(list3);\n        obj3.setTemplatePropType(1);\n        obj3.setSortNum(1);\n        obj3.setUnitPropValueName(\"1\");\n        obj3.setPropDesc(\"描述信息\");\n        list4.add(obj3);\n        request.setSpuPropDto(list4);\n        request.setStandardApplyId(1);\n        request.setStandardName(\"1\");\n        request.setBizIdentityCode(\"1\");\n        request.setRootBizIdentityCode(\"1\");\n        request.setApplyType(1);\n\n        OpenItemOpenItemStandardCorrectSpuResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/open/item/standard/correct/spu' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.open.item.standard.correct.spu' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1744291755954' \\\n-d 'param=%7B%22standardId%22%3A1%2C%22keyPropDto%22%3A%5B%7B%22propName%22%3A%22%E6%B5%8B%E8%AF%95%E5%B1%9E%E6%80%A7%E5%90%8D%22%2C%22unitPropValueId%22%3A6789%2C%22propId%22%3A1234%2C%22propValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22templatePropType%22%3A1%2C%22sortNum%22%3A1%2C%22unitPropValueName%22%3A%22rmb%5Fyuan%22%2C%22inputType%22%3A%22RADIO%22%2C%22propAlias%22%3A%22%E6%B5%8B%E8%AF%95%E5%B1%9E%E6%80%A7%E5%90%8D%E5%AD%97%22%2C%22propType%22%3A%22KEY%5FBRAND%22%2C%22propDesc%22%3A%22%E6%8F%8F%E8%BF%B0%22%7D%5D%2C%22modifyReason%22%3A%221%22%2C%22standardImage%22%3A%5B%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Ddda4ca2144b94ac6b8d5e5c96154b8dd%2Ejpg%22%5D%2C%22standardOtherImages%22%3A%22other%22%2C%22modifyImageUrl%22%3A%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Ddda4ca2144b94ac6b8d5e5c96154b8dd%2Ejpg%22%2C%22operatorSource%22%3A1%2C%22categoryId%22%3A1%2C%22userId%22%3A1%2C%22spuPropDto%22%3A%5B%7B%22unitPropValueId%22%3A1%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22propId%22%3A1%2C%22inputType%22%3A%22RADIO%22%2C%22propAlias%22%3A%22%5C%22%E9%A2%9C%E8%89%B2%5C%22%22%2C%22propType%22%3A%22ITEM%22%2C%22propName%22%3A%22%5C%22%E9%A2%9C%E8%89%B2%5C%22%22%2C%22textPropValue%22%3A%22%5C%22%E6%96%87%E6%9C%AC%E4%BF%A1%E6%81%AF+%E7%A4%BA%E4%BE%8B%E5%80%BC%5C%22%22%2C%22checkboxPropValue%22%3A%5B%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%5D%2C%22templatePropType%22%3A1%2C%22sortNum%22%3A1%2C%22unitPropValueName%22%3A%221%22%2C%22propDesc%22%3A%22%E6%8F%8F%E8%BF%B0%E4%BF%A1%E6%81%AF%22%7D%5D%2C%22standardApplyId%22%3A1%2C%22standardName%22%3A%221%22%2C%22bizIdentityCode%22%3A%221%22%2C%22rootBizIdentityCode%22%3A%221%22%2C%22applyType%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"baseRespInfo\": {\n    \"msg\": \"成功\",\n    \"code\": 1\n  },\n  \"correctResult\": \"申请纠错标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。\",\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411081780}},{"action":"open.item.qualification.collection.config","title":"获取商品资质采集配置","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.qualification.collection.config&version=1","sha256":"ed7b84f4bff0b71502d7d76fb752da8c750061a09b1e4c9b1eb7358d73da4c01","bytes":6834},"official":{"id":0,"name":"open.item.qualification.collection.config","cnName":"获取商品资质采集配置","method":2,"version":1,"description":"根据当前叶子类目ID获取当前类目是否需要采集相关资质以及资质配置信息","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165458,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1234","required":true,"description":"叶子类目ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165459,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165460,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165459,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165460,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7165461,"paramName":"data","paramType":"List<OpenApiQualificationMetaConfigDTO>","structureId":212953,"example":"[]","required":false,"description":"结果"}],"errorCodes":[{"code":400,"type":"参数非法","description":"请求参数非法","solution":"请求参数非法,请检查"},{"code":9003,"type":"系统错误","description":"查询类目特征属性异常","solution":"查询类目特征属性异常,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemQualificationCollectionConfigRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemQualificationCollectionConfigResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemQualificationCollectionConfigRequest request = new OpenItemQualificationCollectionConfigRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCategoryId(1234);\n\n        OpenItemQualificationCollectionConfigResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/qualification/collection/config' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.qualification.collection.config' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1681012969739' \\\n-d 'param=%7B%22categoryId%22%3A1234%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"metaConfig\": [\n      {\n        \"propId\": 103,\n        \"propType\": \"ITEM\",\n        \"inputType\": \"DATETIME\",\n        \"sortNum\": 0,\n        \"propName\": \"资质结束时间\",\n        \"propAlias\": \"资质结束时间\",\n        \"propDesc\": \"请根据报关单上的进口日期往后延期1年时间(酒类可以延期5年)\",\n        \"preConstraint\": false,\n        \"required\": true,\n        \"inputConfig\": {\n          \"imageFormat\": {\n            \"maxCount\": 9,\n            \"minCount\": 1,\n            \"minHeight\": 0,\n            \"minWidth\": 0\n          },\n          \"dateRangeFormat\": {\n            \"range\": [\n              0\n            ],\n            \"type\": \"\\\"\\\"\"\n          },\n          \"inputFormat\": {\n            \"max\": 50,\n            \"min\": 0,\n            \"message\": \"\\\"\\\"\",\n            \"pattern\": [\n              \"^\\n\"\n            ],\n            \"useFloat\": true,\n            \"useLimit\": true\n          }\n        },\n        \"multiMaximum\": 0,\n        \"important\": false,\n        \"audit\": false,\n        \"supportLong\": true,\n        \"supportDate\": true,\n        \"propValue\": \"\\\"\\\"\"\n      }\n    ],\n    \"isNecessary\": true,\n    \"qualificationName\": \"海关进口货物报关单\",\n    \"qualificationId\": 875,\n    \"preProp\": [\n      {\n        \"propId\": 101,\n        \"propValueId\": [\n          1234,\n          12345\n        ]\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411276593}},{"action":"open.item.saleprop.rule","title":"商品销售属性填写规则","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.saleprop.rule&version=1","sha256":"623b0b5e9942aba5e8eb8040f9cbcd09031ed937341f64f705c91b8e69afb31e","bytes":11231},"official":{"id":0,"name":"open.item.saleprop.rule","cnName":"商品销售属性填写规则","method":2,"version":1,"description":"商品发布&编辑时,拉取销售属性填写限制","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165462,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1003","required":true,"description":"类目id"},{"id":7165463,"paramName":"spuId","paramType":"Long","structureId":0,"example":"123456","required":false,"description":"如果是标品发品流程,需要传入标品id"},{"id":7165464,"paramName":"itemId","paramType":"Long","structureId":0,"example":"1123123","required":false,"description":"商品id,新发时传0"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165465,"paramName":"sub_code","paramType":"String","structureId":0,"example":"20042","required":false,"description":"子返回码"},{"id":7165466,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"\"这是一个错误信息\"","required":false,"description":"子返回信息"},{"id":7165465,"paramName":"result","paramType":"Integer","structureId":0,"example":"20042","required":false,"description":"返回码,1成功"},{"id":7165466,"paramName":"error_msg","paramType":"String","structureId":0,"example":"\"这是一个错误信息\"","required":false,"description":"错误信息"},{"id":7165467,"paramName":"data","paramType":"OpenApiSalePropConfigModelProto","structureId":366767,"example":"{}","required":false,"description":"销售属性填写规则结构体定义"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSalepropRuleRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSalepropRuleResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSalepropRuleRequest request = new OpenItemSalepropRuleRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCategoryId(1003);\n        request.setSpuId(123456);\n        request.setItemId(1123123);\n\n        OpenItemSalepropRuleResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/saleprop/rule' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.saleprop.rule' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1734938695963' \\\n-d 'param=%7B%22categoryId%22%3A1003%2C%22spuId%22%3A123456%2C%22itemId%22%3A1123123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 20042,\n  \"error_msg\": \"\\\"这是一个错误信息\\\"\",\n  \"data\": {\n    \"supportCustomSaleProp\": true,\n    \"maxSkuCount\": 600,\n    \"customSalePropConfigRule\": {\n      \"supportPropImage\": true,\n      \"supportCustomPropValue\": true,\n      \"customSalePropNameConfigRule\": {\n        \"maxLength\": 16\n      },\n      \"propValueMaxCount\": 50,\n      \"required\": true\n    },\n    \"presetSaleProp\": [\n      {\n        \"propName\": \"颜色分类\",\n        \"propId\": 58073,\n        \"presetSalePropValueConfigRule\": {\n          \"unit\": [\n            {\n              \"unitPropValueId\": 1069781763,\n              \"unitPropValueName\": \"升\"\n            }\n          ],\n          \"remarkRule\": {\n            \"supportRemark\": true,\n            \"maxLength\": 16\n          },\n          \"textRule\": {\n            \"pattern\": [\n              \"^[+-]?\\\\d{1,18}(\\\\.\\\\d+)?$\"\n            ],\n            \"message\": \"只允许输入正负数字,包含整数和小数。最小长度1个字符,最大长度60个字符。\",\n            \"maxLength\": 60\n          },\n          \"measureTemplate\": [\n            {\n              \"templateId\": 22242,\n              \"templateName\": \"多品组合\",\n              \"templateDesc\": \"输入商品描述、单位规格和件数信息,如[保湿霜][100ml]*[2盒]+[爽肤水][200ml][2瓶]\",\n              \"comp\": [\n                {\n                  \"type\": \"PREVIEW_TEXT\",\n                  \"previewTextRule\": {\n                    \"textValue\": \"净含量:\"\n                  },\n                  \"textRule\": {\n                    \"isFloat\": true,\n                    \"maxLength\": 10,\n                    \"unit\": [\n                      {\n                        \"unitValueId\": 120231,\n                        \"unitValueName\": \"kg\"\n                      }\n                    ]\n                  },\n                  \"operatorRule\": {\n                    \"operatorValue\": \"*\"\n                  }\n                }\n              ]\n            }\n          ]\n        },\n        \"propValueGroup\": [\n          {\n            \"propValue\": [\n              {\n                \"propValueId\": 1300006877,\n                \"propValueName\": \"颜色1\"\n              }\n            ],\n            \"propValueGroupName\": \"颜色分组\",\n            \"propValueGroupId\": 347\n          }\n        ],\n        \"salePropConfigRule\": {\n          \"supportPropImage\": true,\n          \"supportCustomPropValue\": true,\n          \"customSalePropNameConfigRule\": {\n            \"maxLength\": 16\n          },\n          \"propValueMaxCount\": 50,\n          \"required\": true\n        },\n        \"customSalePropValueConfigRule\": {\n          \"unit\": [\n            {\n              \"unitPropValueId\": 1069781763,\n              \"unitPropValueName\": \"升\"\n            }\n          ],\n          \"remarkRule\": {\n            \"supportRemark\": true,\n            \"maxLength\": 16\n          },\n          \"textRule\": {\n            \"pattern\": [\n              \"^[+-]?\\\\d{1,18}(\\\\.\\\\d+)?$\"\n            ],\n            \"message\": \"只允许输入正负数字,包含整数和小数。最小长度1个字符,最大长度60个字符。\",\n            \"maxLength\": 60\n          },\n          \"measureTemplate\": [\n            {\n              \"templateId\": 22242,\n              \"templateName\": \"多品组合\",\n              \"templateDesc\": \"输入商品描述、单位规格和件数信息,如[保湿霜][100ml]*[2盒]+[爽肤水][200ml][2瓶]\",\n              \"comp\": [\n                {\n                  \"type\": \"PREVIEW_TEXT\",\n                  \"previewTextRule\": {\n                    \"textValue\": \"净含量:\"\n                  },\n                  \"textRule\": {\n                    \"isFloat\": true,\n                    \"maxLength\": 10,\n                    \"unit\": [\n                      {\n                        \"unitValueId\": 120231,\n                        \"unitValueName\": \"kg\"\n                      }\n                    ]\n                  },\n                  \"operatorRule\": {\n                    \"operatorValue\": \"*\"\n                  }\n                }\n              ]\n            }\n          ]\n        }\n      }\n    ],\n    \"customSalePropValueConfigRule\": {\n      \"unit\": [\n        {\n          \"unitPropValueId\": 1069781763,\n          \"unitPropValueName\": \"升\"\n        }\n      ],\n      \"remarkRule\": {\n        \"supportRemark\": true,\n        \"maxLength\": 16\n      },\n      \"textRule\": {\n        \"pattern\": [\n          \"^[+-]?\\\\d{1,18}(\\\\.\\\\d+)?$\"\n        ],\n        \"message\": \"只允许输入正负数字,包含整数和小数。最小长度1个字符,最大长度60个字符。\",\n        \"maxLength\": 60\n      },\n      \"measureTemplate\": [\n        {\n          \"templateId\": 22242,\n          \"templateName\": \"多品组合\",\n          \"templateDesc\": \"输入商品描述、单位规格和件数信息,如[保湿霜][100ml]*[2盒]+[爽肤水][200ml][2瓶]\",\n          \"comp\": [\n            {\n              \"type\": \"PREVIEW_TEXT\",\n              \"previewTextRule\": {\n                \"textValue\": \"净含量:\"\n              },\n              \"textRule\": {\n                \"isFloat\": true,\n                \"maxLength\": 10,\n                \"unit\": [\n                  {\n                    \"unitValueId\": 120231,\n                    \"unitValueName\": \"kg\"\n                  }\n                ]\n              },\n              \"operatorRule\": {\n                \"operatorValue\": \"*\"\n              }\n            }\n          ]\n        }\n      ]\n    }\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411340807}},{"action":"open.item.shelf.status.update","title":"商品上下架管理","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.shelf.status.update&version=1","sha256":"0c92ba5216540dc69f6485b3e5e9f9117081bd1dc6ab36272bfbed684d3ae155","bytes":8588},"official":{"id":0,"name":"open.item.shelf.status.update","cnName":"商品上下架管理","method":2,"version":1,"description":"1.商品审核状态为通过后,才允许操作商品上架\n2.更改商品的信息都不需要先下架商品,可使用所有编辑商品相关的API实现变更,详情见[《已上架商品免审编辑说明》@https://open.kwaixiaodian.com/announcement/detail?cateId=2&pageSign=1628a001aa6be4179348436ccc0f8c641652671830118]\n3.勿频繁操作商品上下架,会影响商品自营和分销效果","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7280285,"paramName":"kwaiItemId","paramType":"Number","structureId":0,"example":"2342352324","required":true,"description":"快手商品 Id"},{"id":7280286,"paramName":"shelfStatus","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"商品上架状态。0:下架; 1:上架。"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7280287,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7280288,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7280287,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7280288,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"}],"errorCodes":[{"code":11,"type":"系统错误","description":"服务端错误","solution":"服务端错误,请稍后重试"},{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":300,"type":"业务错误","description":"商品准入未通过","solution":"请重新编辑商品信息"},{"code":400,"type":"参数非法","description":"请求参数非法","solution":"请求参数非法,请检查"},{"code":2007,"type":"业务错误","description":"商品当前状态不允许进行操作","solution":"请等待商品审核通过后再操作"},{"code":2045,"type":"业务错误","description":"商品属性版本号必须包含一个版本","solution":"请调整商品属性版本号数据"},{"code":2046,"type":"系统错误","description":"商品属性校验服务异常","solution":"商品属性校验服务异常,请检查"},{"code":2055,"type":"业务错误","description":"商品标题和主图被锁定","solution":"商品标题和主图被锁定,不支持修改"},{"code":2066,"type":"业务错误","description":"商品正在售卖中不允许删除","solution":"商品正在售卖中不允许删除"},{"code":2099,"type":"业务错误","description":"在售数量超出限制","solution":"在售数量超出限制,请调整"},{"code":3101,"type":"业务错误","description":"品牌资质正在审核中","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置-品牌资质」维护资质"},{"code":3102,"type":"业务错误","description":"品牌资质审核未通过","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置-品牌资质」维护资质"},{"code":3103,"type":"业务错误","description":"品牌资质已失效","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置-品牌资质」维护资质"},{"code":3104,"type":"业务错误","description":"品牌资质未关联","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置-品牌资质」维护资质"},{"code":3105,"type":"业务错误","description":"品牌数据异常","solution":"请联系平台客服反馈"},{"code":3106,"type":"业务错误","description":"品牌数据异常","solution":"请前往编辑商品选择正常的品牌"},{"code":100002,"type":"参数非法","description":"商品不存在","solution":"请确认参数是否正确"},{"code":100003,"type":"参数非法","description":"商品id不合法","solution":"请确认参数是否正确"},{"code":100022,"type":"参数非法","description":"上下架状态参数不合法","solution":"请检查参数信息,稍后重试"},{"code":100023,"type":"业务错误","description":"商品尚未通过审核","solution":"请等待审核通过后再操作"},{"code":100038,"type":"参数非法","description":"无法更新闪电购商品状态","solution":"请确认更新数据参数"},{"code":100065,"type":"系统错误","description":"抱歉,系统繁忙,请稍后重试","solution":"请检查参数信息,稍后重试"},{"code":100069,"type":"业务错误","description":"抱歉,您的店铺已关闭,无法上架商品","solution":"您的店铺已关闭,无法上架商品"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemShelfStatusUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemShelfStatusUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemShelfStatusUpdateRequest request = new OpenItemShelfStatusUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setKwaiItemId(2342352324);\n        request.setShelfStatus(1);\n\n        OpenItemShelfStatusUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/shelf/status/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.shelf.status.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1639557675940' \\\n-d 'param=%7B%22kwaiItemId%22%3A2342352324%2C%22shelfStatus%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":410,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750412299856}},{"action":"open.item.size.chart.group.list.get","title":"获取尺码分组列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.size.chart.group.list.get&version=1","sha256":"f1fd69fe7876abf992a46fb0b4e02e20343cd5dd465be93286bd1e09e07367af","bytes":4958},"official":{"id":0,"name":"open.item.size.chart.group.list.get","cnName":"获取尺码分组列表","method":1,"version":1,"description":"获取尺码分组列表","needPermission":true,"permissionScope":"merchant_item_basic,merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7605105,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7605107,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7605105,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7605106,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7605107,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7605108,"paramName":"data","paramType":"List<SizeChartGroup>","structureId":584068,"example":"[]","required":false,"description":"尺码数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSizeChartGroupListGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSizeChartGroupListGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSizeChartGroupListGetRequest request = new OpenItemSizeChartGroupListGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenItemSizeChartGroupListGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/size/chart/group/list/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.size.chart.group.list.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1754503725942' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"groupId\": 1,\n      \"groupName\": \"1\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756727235155}},{"action":"open.item.size.chart.template.add","title":"创建尺码模板","category":"商品API","risk":"W","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.size.chart.template.add&version=1","sha256":"d702d4335711c26eb8258271d62170cd859b34d76ee73636fef80151d6f8adb9","bytes":6433},"official":{"id":0,"name":"open.item.size.chart.template.add","cnName":"创建尺码模板","method":1,"version":1,"description":"创建尺码模板","needPermission":true,"permissionScope":"merchant_item_basic,merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7605247,"paramName":"sizeChart","paramType":"AddSizeChartParam","structureId":584447,"example":"{}","required":true,"description":"新增尺码数据"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7605248,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7605250,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7605248,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7605249,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7605250,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7605251,"paramName":"data","paramType":"AddSizeChartTemplateRes","structureId":584437,"example":"{}","required":false,"description":"新增尺码结果数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSizeChartTemplateAddRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSizeChartTemplateAddResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSizeChartTemplateAddRequest request = new OpenItemSizeChartTemplateAddRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        SizeChartParam obj1 = new SizeChartParam();\n        obj1.setSizeChartId(1);\n        obj1.setName(\"上衣尺码模板1\");\n        obj1.setTemplateTypePropValueId(1);\n        obj1.setGroupId(1);\n        obj1.setSizeChartNote(\"注释\");\n        SizeChartTable obj2 = new SizeChartTable();\n        List<String> list1 = new ArrayList<>();\n        list1.add(\"尺码\");\n        obj2.setHeaderParam(list1);\n        List<SizeChartUnitParam> list3 = new ArrayList<>();\n        SizeChartUnitParam obj3 = new SizeChartUnitParam();\n        obj3.setParamName(\"尺码\");\n        obj3.setParamType(\"single\");\n        List<Long> list2 = new ArrayList<>();\n        list2.add(1);\n        obj3.setParamValueList(list2);\n        list3.add(obj3);\n        obj2.setSizeChartRowList(list3);\n        obj1.setSizeChartTable(obj2);\n        request.setSizeChart(obj1);\n\n        OpenItemSizeChartTemplateAddResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/size/chart/template/add' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.size.chart.template.add' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1754560264798' \\\n-d 'param=%7B%22sizeChart%22%3A%7B%22sizeChartId%22%3A1%2C%22name%22%3A%22%E4%B8%8A%E8%A1%A3%E5%B0%BA%E7%A0%81%E6%A8%A1%E6%9D%BF1%22%2C%22templateTypePropValueId%22%3A1%2C%22groupId%22%3A1%2C%22sizeChartNote%22%3A%22%E6%B3%A8%E9%87%8A%22%2C%22sizeChartTable%22%3A%7B%22headerParam%22%3A%5B%22%E5%B0%BA%E7%A0%81%22%2C%22%E8%84%9A%E9%95%BF%22%5D%2C%22sizeChartRowList%22%3A%5B%7B%22paramName%22%3A%22%E5%B0%BA%E7%A0%81%22%2C%22paramType%22%3A%22single%22%2C%22paramValueList%22%3A%5B1%2C2%5D%7D%5D%7D%7D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"sizeChartId\": 1\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756889774490}},{"action":"open.item.size.chart.template.delete","title":"删除尺码模板","category":"商品API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.size.chart.template.delete&version=1","sha256":"83464115e2cb69e94de60b9994f8dc39b78a6bcb960f0692b1d7ff3f812fef2b","bytes":4858},"official":{"id":0,"name":"open.item.size.chart.template.delete","cnName":"删除尺码模板","method":1,"version":1,"description":"删除尺码模板","needPermission":true,"permissionScope":"merchant_item_basic,merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7541755,"paramName":"sizeChartId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"尺码模板ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7535069,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7535071,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7535069,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7535070,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7535071,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSizeChartTemplateDeleteRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSizeChartTemplateDeleteResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSizeChartTemplateDeleteRequest request = new OpenItemSizeChartTemplateDeleteRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenItemSizeChartTemplateDeleteResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/size/chart/template/delete' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.size.chart.template.delete' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1754551553123' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1755747126647}},{"action":"open.item.size.chart.template.edit","title":"编辑尺码表模板","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.size.chart.template.edit&version=1","sha256":"faeaecb7abb364ca00c3b47b8fd64a58077fe35bd835b4096724c5e5d1978f05","bytes":6272},"official":{"id":0,"name":"open.item.size.chart.template.edit","cnName":"编辑尺码表模板","method":1,"version":1,"description":"编辑尺码表模板","needPermission":true,"permissionScope":"merchant_item_basic,merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7605288,"paramName":"sizeChart","paramType":"SizeChartParam","structureId":584426,"example":"{}","required":true,"description":"尺码数据"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7605289,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7605291,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7605289,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7605290,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7605291,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSizeChartTemplateEditRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSizeChartTemplateEditResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSizeChartTemplateEditRequest request = new OpenItemSizeChartTemplateEditRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        SizeChartParam obj1 = new SizeChartParam();\n        obj1.setSizeChartId(1);\n        obj1.setName(\"上衣尺码模板1\");\n        obj1.setTemplateTypePropValueId(1);\n        obj1.setGroupId(1);\n        obj1.setSizeChartNote(\"注释\");\n        SizeChartTable obj2 = new SizeChartTable();\n        List<String> list1 = new ArrayList<>();\n        list1.add(\"尺码\");\n        obj2.setHeaderParam(list1);\n        List<SizeChartUnitParam> list3 = new ArrayList<>();\n        SizeChartUnitParam obj3 = new SizeChartUnitParam();\n        obj3.setParamName(\"尺码\");\n        obj3.setParamType(\"single\");\n        List<Long> list2 = new ArrayList<>();\n        list2.add(1);\n        obj3.setParamValueList(list2);\n        list3.add(obj3);\n        obj2.setSizeChartRowList(list3);\n        obj1.setSizeChartTable(obj2);\n        request.setSizeChart(obj1);\n\n        OpenItemSizeChartTemplateEditResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/size/chart/template/edit' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.size.chart.template.edit' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1754558889489' \\\n-d 'param=%7B%22sizeChart%22%3A%7B%22sizeChartId%22%3A1%2C%22name%22%3A%22%E4%B8%8A%E8%A1%A3%E5%B0%BA%E7%A0%81%E6%A8%A1%E6%9D%BF1%22%2C%22templateTypePropValueId%22%3A1%2C%22groupId%22%3A1%2C%22sizeChartNote%22%3A%22%E6%B3%A8%E9%87%8A%22%2C%22sizeChartTable%22%3A%7B%22headerParam%22%3A%5B%22%E5%B0%BA%E7%A0%81%22%2C%22%E8%84%9A%E9%95%BF%22%5D%2C%22sizeChartRowList%22%3A%5B%7B%22paramName%22%3A%22%E5%B0%BA%E7%A0%81%22%2C%22paramType%22%3A%22single%22%2C%22paramValueList%22%3A%5B1%2C2%5D%7D%5D%7D%7D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"sizeChartId\": 1\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756727163654}},{"action":"open.item.size.chart.template.get","title":"查询尺码模板","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.size.chart.template.get&version=1","sha256":"2ca05f53a11b7ddbf3ac70abd583a67b597e804d71403b1a96127904b878fb53","bytes":5886},"official":{"id":0,"name":"open.item.size.chart.template.get","cnName":"查询尺码模板","method":1,"version":1,"description":"查询尺码模板","needPermission":true,"permissionScope":"merchant_item_basic,merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7605141,"paramName":"sizeChartId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"尺码表模板ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7605142,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7605144,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7605142,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7605143,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7605144,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7605145,"paramName":"data","paramType":"SizeChartTemplateRes","structureId":584557,"example":"{\n\"sizeChart\":{}\n}","required":false,"description":"尺码表模板查询返回数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSizeChartTemplateGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSizeChartTemplateGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSizeChartTemplateGetRequest request = new OpenItemSizeChartTemplateGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setSizeChartId(1);\n\n        OpenItemSizeChartTemplateGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/size/chart/template/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.size.chart.template.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1755746616917' \\\n-d 'param=%7B%22sizeChartId%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"sizeChart\": {\n      \"sizeChartId\": 1,\n      \"templateTypePropValueId\": 1,\n      \"groupId\": 1,\n      \"sizeChartNote\": \"备注\",\n      \"sizeChartTable\": {\n        \"headerParam\": [\n          \"尺码\",\n          \"身高\"\n        ],\n        \"sizeChartRow\": [\n          {\n            \"sizeChartUnit\": [\n              {\n                \"paramName\": \"尺码\",\n                \"paramUnit\": \"cm\",\n                \"paramType\": \"single\",\n                \"paramTypeDesc\": \"单值\",\n                \"paramValueList\": [\n                  \"1\"\n                ]\n              }\n            ]\n          }\n        ]\n      },\n      \"imageWidth\": 800,\n      \"imageHeight\": 800,\n      \"imageUrl\": \"\\\"\\\"\"\n    }\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756727197091}},{"action":"open.item.size.chart.template.list.get","title":"同一尺码模板类型下的尺码模板列表获取","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.size.chart.template.list.get&version=1","sha256":"90f8409769c87093997a191500dcf3536ba39a6e3828c1422960c00b7cbafe76","bytes":6517},"official":{"id":0,"name":"open.item.size.chart.template.list.get","cnName":"同一尺码模板类型下的尺码模板列表获取","method":1,"version":1,"description":"同一尺码模板类型下的尺码模板列表获取","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7605196,"paramName":"templateTypePropValueId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"尺码表模板类型ID"},{"id":7605197,"paramName":"pageNum","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"页码"},{"id":7605198,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"页大小"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7605199,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7605201,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7605199,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7605200,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7605201,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7605202,"paramName":"data","paramType":"SizeChartTemplateListRes","structureId":584865,"example":"{}","required":false,"description":"尺码表模板列表"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSizeChartTemplateListGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSizeChartTemplateListGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSizeChartTemplateListGetRequest request = new OpenItemSizeChartTemplateListGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setTemplateTypePropValueId(1);\n        request.setPageNum(1);\n        request.setPageSize(10);\n\n        OpenItemSizeChartTemplateListGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/size/chart/template/list/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.size.chart.template.list.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1754814946642' \\\n-d 'param=%7B%22templateTypePropValueId%22%3A1%2C%22pageNum%22%3A1%2C%22pageSize%22%3A10%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"sizeChartList\": [\n      {\n        \"sizeChartId\": 1,\n        \"name\": \"上衣尺码模板\",\n        \"templateTypePropValueId\": 1,\n        \"groupId\": 1,\n        \"sizeChartNote\": \"备注\",\n        \"sizeChartTable\": {\n          \"headerParam\": [\n            \"尺码\",\n            \"身高\"\n          ],\n          \"sizeChartRow\": [\n            {\n              \"sizeChartUnit\": [\n                {\n                  \"paramName\": \"尺码\",\n                  \"paramUnit\": \"cm\",\n                  \"paramType\": \"single\",\n                  \"paramTypeDesc\": \"单值\",\n                  \"paramValueList\": [\n                    \"1\"\n                  ]\n                }\n              ]\n            }\n          ]\n        },\n        \"imageWidth\": 800,\n        \"imageHeight\": 800,\n        \"imageUrl\": \"\\\"\\\"\"\n      }\n    ],\n    \"total\": 10\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756726995024}},{"action":"open.item.size.chart.template.meta.get","title":"获取尺码元数据模板","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.size.chart.template.meta.get&version=1","sha256":"071053b1bbc8ce6e802268ec910f376991759da50a8671578180be1a31fa4365","bytes":5541},"official":{"id":0,"name":"open.item.size.chart.template.meta.get","cnName":"获取尺码元数据模板","method":1,"version":1,"description":"获取尺码元数据模板","needPermission":true,"permissionScope":"merchant_item_basic,merchant_item","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7605067,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"类目ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7605068,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7605068,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7605069,"paramName":"error_message","paramType":"String","structureId":0,"example":"成功","required":false,"description":"返回描述,成功"},{"id":7605070,"paramName":"data","paramType":"SizeChartTemplateMetaDTO","structureId":584064,"example":"{}","required":false,"description":"尺码模板元数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSizeChartTemplateMetaGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSizeChartTemplateMetaGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSizeChartTemplateMetaGetRequest request = new OpenItemSizeChartTemplateMetaGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCategoryId(1);\n\n        OpenItemSizeChartTemplateMetaGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/size/chart/template/meta/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.size.chart.template.meta.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1755746325000' \\\n-d 'param=%7B%22categoryId%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_message\": \"成功\",\n  \"data\": {\n    \"isSupportTemplateMetaData\": true,\n    \"templateTypePropValueName\": \"\\\"\\\"\",\n    \"sizeChartParam\": [\n      {\n        \"unit\": \"cm\",\n        \"minParamScope\": 50,\n        \"maxParamScore\": 240,\n        \"isRequired\": false,\n        \"sortSeq\": 1,\n        \"paramName\": \"身高\",\n        \"inputFormat\": {\n          \"minLength\": 50,\n          \"mergedPatten\": \"\\\"^([1-9][0-9]*(\\\\\\\\.[0-9]+)?|0\\\\\\\\.[0-9]*[1-9][0-9]*)$\\\"\",\n          \"useFloat\": true,\n          \"userLimit\": true,\n          \"message\": \"\\\"\\\"\",\n          \"maxLength\": 50\n        },\n        \"paramId\": 1\n      }\n    ],\n    \"isSupportSizeChart\": true,\n    \"templateTypePropValueId\": 1\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756727271253}},{"action":"open.item.sku.goods.relation.add","title":"新增sku货品关联关系","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.sku.goods.relation.add&version=1","sha256":"ff94f4336923562608fadeaf1ed09f261ea37c3ee3db1066a5594e0abdd8aed9","bytes":6218},"official":{"id":0,"name":"open.item.sku.goods.relation.add","cnName":"新增sku货品关联关系","method":2,"version":1,"description":"新增sku与货品关联关系","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165470,"paramName":"itemId","paramType":"Long","structureId":0,"example":"113986943059","required":true,"description":"商品ID"},{"id":7165471,"paramName":"skuGoodsRelation","paramType":"SkuGoodsRelationParam[]","structureId":8437,"example":"[{}]","required":true,"description":"sku与货品关联信息"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165472,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165473,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165472,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165473,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":2072,"type":"业务错误","description":"您选择的商品类目需要补充资质","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置」维护资质"},{"code":2073,"type":"业务错误","description":"您选择的商品类目需要补充资质","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置」维护资质"},{"code":2074,"type":"业务错误","description":"类目不存在","solution":"请重新调整类目"},{"code":2802,"type":"业务错误","description":"当前所选货品已被锁定","solution":"当前所选货品已被锁定,请稍后重试"},{"code":2805,"type":"业务错误","description":"该商品存在预留库存,不允许切换库存模式","solution":"请先释放预留库存"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSkuGoodsRelationAddRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSkuGoodsRelationAddResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSkuGoodsRelationAddRequest request = new OpenItemSkuGoodsRelationAddRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(113986943059);\n        SkuGoodsRelationParam[] array1 = new SkuGoodsRelationParam[1];\n        SkuGoodsRelationParam obj1 = new SkuGoodsRelationParam();\n        obj1.setGoodsId(\"M10410000\");\n        obj1.setSkuId(113986944059);\n        array1[0] = obj1;\n        request.setSkuGoodsRelation(array1);\n\n        OpenItemSkuGoodsRelationAddResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/sku/goods/relation/add' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.sku.goods.relation.add' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1632469722843' \\\n-d 'param=%7B%22itemId%22%3A113986943059%2C%22skuGoodsRelation%22%3A%5B%7B%22goodsId%22%3A%22M10410000%22%2C%22skuId%22%3A113986944059%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411311387}},{"action":"open.item.sku.goods.relation.delete","title":"删除sku货品关联关系","category":"商品API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.sku.goods.relation.delete&version=1","sha256":"2928fd681b794c3f3dacb95cca5bcb609b419e8066d984c89dda52daad08cc75","bytes":5712},"official":{"id":0,"name":"open.item.sku.goods.relation.delete","cnName":"删除sku货品关联关系","method":2,"version":1,"description":"删除sku与货品关联关系","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165474,"paramName":"itemId","paramType":"Long","structureId":0,"example":"113986943059","required":true,"description":"商品ID"},{"id":7165475,"paramName":"skuGoodsRelation","paramType":"SkuGoodsRelationParam[]","structureId":8437,"example":"[{}]","required":true,"description":"sku与货品关联信息"},{"id":7165476,"paramName":"updateItemStockModel","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否将库存模式切换到商品库存模式"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165477,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165478,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165477,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165478,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSkuGoodsRelationDeleteRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSkuGoodsRelationDeleteResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSkuGoodsRelationDeleteRequest request = new OpenItemSkuGoodsRelationDeleteRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(113986943059);\n        SkuGoodsRelationParam[] array1 = new SkuGoodsRelationParam[1];\n        SkuGoodsRelationParam obj1 = new SkuGoodsRelationParam();\n        obj1.setGoodsId(\"M10410000\");\n        obj1.setSkuId(113986944059);\n        array1[0] = obj1;\n        request.setSkuGoodsRelation(array1);\n        request.setUpdateItemStockModel(false);\n\n        OpenItemSkuGoodsRelationDeleteResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/sku/goods/relation/delete' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.sku.goods.relation.delete' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1660543713374' \\\n-d 'param=%7B%22itemId%22%3A113986943059%2C%22skuGoodsRelation%22%3A%5B%7B%22goodsId%22%3A%22M10410000%22%2C%22skuId%22%3A113986944059%7D%5D%2C%22updateItemStockModel%22%3Afalse%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411393822}},{"action":"open.item.sku.goods.relation.get","title":"获取sku货品关联关系","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.sku.goods.relation.get&version=1","sha256":"995917934b2f4326dfe8609a62ab10073a651fae594b53a18e45e63a2e4e1206","bytes":5303},"official":{"id":0,"name":"open.item.sku.goods.relation.get","cnName":"获取sku货品关联关系","method":1,"version":1,"description":"根据skuId获取sku与货品关联关系","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165479,"paramName":"skuId","paramType":"Long[]","structureId":0,"example":"[]","required":true,"description":"skuId"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165480,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165481,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165480,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165481,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7165482,"paramName":"data","paramType":"SkuGoodsRelationDTO[]","structureId":8444,"example":"[]","required":false,"description":"sku货品关联信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":500,"type":"系统错误","description":"服务端异常","solution":"服务端异常,请重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSkuGoodsRelationGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSkuGoodsRelationGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSkuGoodsRelationGetRequest request = new OpenItemSkuGoodsRelationGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        Long[] array1 = new Long[1];\n        request.setSkuId(array1);\n\n        OpenItemSkuGoodsRelationGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/sku/goods/relation/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.sku.goods.relation.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1660543941010' \\\n-d 'param=%7B%22skuId%22%3A%5B%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"itemId\": 113986943059,\n      \"skuId\": 113986944059,\n      \"goodsId\": \"M88888888\",\n      \"goodsCode\": \"XXXXXX\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411364738}},{"action":"open.item.sku.goods.relation.update","title":"更新sku货品关联关系","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.sku.goods.relation.update&version=1","sha256":"9423e8693fcf8376cfe6b92ffe2e60b478354893404699c63027b60b6c2eabf4","bytes":5926},"official":{"id":0,"name":"open.item.sku.goods.relation.update","cnName":"更新sku货品关联关系","method":2,"version":1,"description":"更新sku与货品关联关系","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165483,"paramName":"itemId","paramType":"Long","structureId":0,"example":"113986943059","required":true,"description":"商品ID"},{"id":7165484,"paramName":"skuGoodsRelation","paramType":"SkuGoodsRelationParam[]","structureId":8437,"example":"[{}]","required":true,"description":"sku与货品关联信息"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165485,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165486,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165485,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165486,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":2073,"type":"业务错误","description":"您选择的商品类目需要补充资质","solution":"请前往电脑端登录「网页版快手小店-店铺管理-店铺信息设置」维护资质"},{"code":2074,"type":"业务错误","description":"货品未与商家建立供货关系","solution":"货品未与商家建立供货关系"},{"code":2802,"type":"业务错误","description":"当前所选货品已被锁定","solution":"当前所选货品已被锁定,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSkuGoodsRelationUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSkuGoodsRelationUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSkuGoodsRelationUpdateRequest request = new OpenItemSkuGoodsRelationUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(113986943059);\n        SkuGoodsRelationParam[] array1 = new SkuGoodsRelationParam[1];\n        SkuGoodsRelationParam obj1 = new SkuGoodsRelationParam();\n        obj1.setGoodsId(\"M10410000\");\n        obj1.setSkuId(113986944059);\n        array1[0] = obj1;\n        request.setSkuGoodsRelation(array1);\n\n        OpenItemSkuGoodsRelationUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/sku/goods/relation/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.sku.goods.relation.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1632469776808' \\\n-d 'param=%7B%22itemId%22%3A113986943059%2C%22skuGoodsRelation%22%3A%5B%7B%22goodsId%22%3A%22M10410000%22%2C%22skuId%22%3A113986944059%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411489447}},{"action":"open.item.sku.list.get","title":"查询商品sku列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.sku.list.get&version=1","sha256":"9ca91d4e88e37db9180ed393f69d6680151b3c18635b9d3fc55f0407d0cbf194","bytes":6816},"official":{"id":0,"name":"open.item.sku.list.get","cnName":"查询商品sku列表","method":1,"version":1,"description":"根据商品id查询商家的商品sku列表全量信息","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165487,"paramName":"kwaiItemId","paramType":"Long","structureId":0,"example":"402129219906","required":true,"description":"快手商品id"},{"id":7165488,"paramName":"relSkuId","paramType":"Number","structureId":0,"example":"308307802906","required":false,"description":"外部sku id"},{"id":7165489,"paramName":"skuStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"状态,1,正常(仅支持状态1)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165490,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165491,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"成功","required":false,"description":"子返回信息"},{"id":7165490,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":7165491,"paramName":"error_msg","paramType":"String","structureId":0,"example":"成功","required":false,"description":"错误信息"},{"id":7165492,"paramName":"data","paramType":"GetSkuListResponseParam","structureId":172,"example":"{}","required":false,"description":"返回值data"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":400,"type":"参数非法","description":"请求参数非法","solution":"请求参数非法,请检查"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSkuListGetRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSkuListGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSkuListGetRequest request = new OpenItemSkuListGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setKwaiItemId(402129219906);\n        request.setRelSkuId(308307802906);\n        request.setSkuStatus(1);\n\n        OpenItemSkuListGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/sku/list/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.sku.list.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1639730371505' \\\n-d 'param=%7B%22kwaiItemId%22%3A402129219906%2C%22relSkuId%22%3A308307802906%2C%22skuStatus%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"成功\",\n  \"data\": {\n    \"skuCount\": 100,\n    \"skuList\": [\n      {\n        \"kwaiSkuId\": 307744885906,\n        \"relSkuId\": 307744885906,\n        \"skuStock\": 100,\n        \"imageUrl\": \"https://...\",\n        \"skuSalePrice\": 1000,\n        \"volume\": 10,\n        \"isValid\": 1,\n        \"createTime\": 1560000000000,\n        \"updateTime\": 1560000000000,\n        \"specification\": \"白色-L\",\n        \"appkey\": \"123abc\",\n        \"skuNick\": \"12345\",\n        \"skuProp\": [\n          {\n            \"skuPropId\": 4596904,\n            \"propId\": 4596903,\n            \"propName\": \"颜色\",\n            \"propValueId\": 4596907,\n            \"propValueName\": \"黑色\",\n            \"itemId\": 401957455906,\n            \"skuId\": 307744885906,\n            \"imageUrl\": \"http://...\",\n            \"isValid\": 1,\n            \"createTime\": 1636469261660,\n            \"updateTime\": 1636469261660,\n            \"propSortNum\": 1,\n            \"propValueSortNum\": 1,\n            \"propValueRemarks\": \"备注\",\n            \"propValueGroupId\": 2132131112,\n            \"isMainProp\": 0,\n            \"propVersion\": 1\n          }\n        ],\n        \"kwaiItemId\": 307744885911,\n        \"gtinCode\": \"12345670\"\n      }\n    ]\n  }\n}"}],"viewNum":554,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411516273}},{"action":"open.item.sku.price.update","title":"更新在线商品价格","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.sku.price.update&version=1","sha256":"fe138c9dd1b44f095cae9f111342a2cf488c1b2d43d59c04bf88399162cb19b2","bytes":6102},"official":{"id":0,"name":"open.item.sku.price.update","cnName":"更新在线商品价格","method":2,"version":1,"description":"price为long","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165493,"paramName":"itemId","paramType":"Long","structureId":0,"example":"89878666786","required":true,"description":"商品ID"},{"id":7165494,"paramName":"price","paramType":"Long","structureId":0,"example":"10000","required":true,"description":"价格"},{"id":7165495,"paramName":"skuId","paramType":"Long","structureId":0,"example":"98786767686","required":true,"description":"skuId"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165496,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165497,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165496,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码1成功"},{"id":7165497,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"error_msg"}],"errorCodes":[{"code":21,"type":"业务错误","description":"定向人不能为空","solution":"请补充定向人信息"},{"code":400,"type":"参数非法","description":"请求参数非法","solution":"请求参数非法,请检查"},{"code":2053,"type":"业务错误","description":"商品锁定目前不支持修改","solution":"商品锁定目前不支持修改"},{"code":9003,"type":"系统错误","description":"查询类目特征属性异常","solution":"查询类目特征属性异常,请稍后重试"},{"code":20038,"type":"业务错误","description":"商品ID和skuid关系不合规","solution":"商品ID和skuid关系不合规,不允许修改库存和价格"},{"code":100002,"type":"参数非法","description":"商品不存在","solution":"商品不存在,请确认参数是否正确"},{"code":100003,"type":"参数非法","description":"商品id不合法","solution":"商品id不合法,请确认参数是否正确"},{"code":100042,"type":"参数非法","description":"skuId不合法","solution":"skuId不合法,请确认参数是否正确"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSkuPriceUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSkuPriceUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSkuPriceUpdateRequest request = new OpenItemSkuPriceUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setItemId(89878666786);\n        request.setPrice(10000);\n        request.setSkuId(98786767686);\n\n        OpenItemSkuPriceUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/sku/price/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.sku.price.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1639557901953' \\\n-d 'param=%7B%22itemId%22%3A89878666786%2C%22price%22%3A10000%2C%22skuId%22%3A98786767686%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":379,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411878134}},{"action":"open.item.sku.stock.update","title":"更新在线商品库存","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.sku.stock.update&version=1","sha256":"74e6e68a30a0923ae9d42a7eb21903dcf3c555b8bd0862e491bc956ce42f29d8","bytes":6758},"official":{"id":0,"name":"open.item.sku.stock.update","cnName":"更新在线商品库存","method":2,"version":1,"description":"1.更新逻辑为增量更新,在原有的库存数量上进行增减\na.如原有库存为10,要更新库存为18,skuChangeStock值为8,changeType为1(增加库存);\nb.如原有库存为10,要更新库存为7,skuChangeStock值为3,changeType为2(减少库存);","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165498,"paramName":"kwaiItemId","paramType":"Number","structureId":0,"example":"402129219906","required":true,"description":"快手商品id"},{"id":7165499,"paramName":"skuId","paramType":"Number","structureId":0,"example":"308307804906","required":true,"description":"快手skuId"},{"id":7165500,"paramName":"skuChangeStock","paramType":"Number","structureId":0,"example":"200","required":true,"description":"库存变更数量(取值范围:大于 0 小于 9999999,且当前库存+ skuChangeStock 不能大于 9999999)"},{"id":7165501,"paramName":"changeType","paramType":"Number","structureId":0,"example":"1","required":true,"description":"变更类型,1-增加   2-减少"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165502,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165503,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165502,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":7165503,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"}],"errorCodes":[{"code":11,"type":"系统错误","description":"服务端错误","solution":"服务端错误,请稍后重试"},{"code":6102,"type":"业务错误","description":"可售库存不足","solution":"可售库存不足,请调整"},{"code":20038,"type":"业务错误","description":"商品ID和skuid关系不合规","solution":"商品ID和skuid关系不合规,不允许修改库存和价格"},{"code":100002,"type":"参数非法","description":"商品不存在","solution":"商品不存在,请确认参数是否正确"},{"code":100003,"type":"参数非法","description":"商品id不合法","solution":"商品id不合法,请确认参数是否正确"},{"code":100019,"type":"参数非法","description":"sku库存信息不合法","solution":"sku库存信息不合法,请调整"},{"code":100042,"type":"参数非法","description":"skuId不合法","solution":"skuId不合法,请确认参数是否正确"},{"code":100086,"type":"参数非法","description":"暂不支持该操作","solution":"暂不支持该操作,请重新调整参数"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemSkuStockUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemSkuStockUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemSkuStockUpdateRequest request = new OpenItemSkuStockUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setKwaiItemId(402129219906);\n        request.setSkuId(308307804906);\n        request.setSkuChangeStock(200);\n        request.setChangeType(1);\n\n        OpenItemSkuStockUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/sku/stock/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.sku.stock.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1639558057941' \\\n-d 'param=%7B%22kwaiItemId%22%3A402129219906%2C%22skuId%22%3A308307804906%2C%22skuChangeStock%22%3A200%2C%22changeType%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":680,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411857129}},{"action":"open.item.standard.apply","title":"申报标品","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.standard.apply&version=1","sha256":"bdfc04c78ed04725fe8e1314f83a90e143cd4d0ee5c4155fef9c5662324ca63c","bytes":9677},"official":{"id":0,"name":"open.item.standard.apply","cnName":"申报标品","method":2,"version":1,"description":"1、用途:该接口主要用来进行标品申报,提交请求后等待运营审核即可,审核通过的标品可以用来进行标品的发布\n2、接口调用说明:\n  用户需要传入类目ID、关键属性、补充属性(SPU属性)以及标品图片(可不填,如果配置了标品图片必填那就必须填写)这四部分信息即可完成标品的申报\n3、参数说明\n  3.1 categoryId:类目ID,该类目必须是标品管控类目(强、弱管控均可)\n  3.2 keyPropList:关键属性信息(必填)\n  3.3 spuPropList:补充属性信息\n  3.4 standardImages:标品图片(图片必须是快手图片,见Tips3)\nTips:\n  1、获取属性信息(关键、补充属性)以及填写规则:open.item.category.prop.standard.get\n  2、属性值信息:open.item.category.prop.value.search \n  3、转化为快手图片:open.item.image.upload","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165555,"paramName":"keyPropList","paramType":"List<KeyPropOpenApiDTO>","structureId":298506,"example":"[]","required":true,"description":"关键属性信息"},{"id":7165556,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"叶子类目ID(类目ID必填)"},{"id":7165557,"paramName":"spuPropList","paramType":"List<SPUPropOpenApiDTO>","structureId":298505,"example":"[]","required":false,"description":"SPU属性信息"},{"id":7165558,"paramName":"standardImages","paramType":"List<String>","structureId":0,"example":"[\n \"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg?bp=10180\"\n]","required":false,"description":"标品图片:最多上传上传9张,有的标品不支持标品图片上传,这个需要根据查询标品模版确认\n注意:标品图片必须是快手图片!"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165559,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165560,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165559,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165560,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7165561,"paramName":"applyResult","paramType":"String","structureId":0,"example":"申请新建标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。","required":false,"description":"最终的申报结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemStandardApplyRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemStandardApplyResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemStandardApplyRequest request = new OpenItemStandardApplyRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<KeyPropOpenApiDTO> list1 = new ArrayList<>();\n        KeyPropOpenApiDTO obj1 = new KeyPropOpenApiDTO();\n        obj1.setPropName(\"测试属性名\");\n        obj1.setUnitPropValueId(6789);\n        obj1.setPropId(1234);\n        obj1.setUnitPropValueName(\"rmb_yuan\");\n        obj1.setInputType(\"RADIO\");\n        PropValueOpenApiDTO obj2 = new PropValueOpenApiDTO();\n        obj2.setPropValueId(213);\n        obj2.setPropValue(\"\\\"黄色\\\"\");\n        obj1.setPropValue(obj2);\n        obj1.setPropType(\"KEY_BRAND\");\n        list1.add(obj1);\n        request.setKeyPropList(list1);\n        request.setCategoryId(1);\n        List<SPUPropOpenApiDTO> list3 = new ArrayList<>();\n        SPUPropOpenApiDTO obj3 = new SPUPropOpenApiDTO();\n        obj3.setUnitPropValueId(1);\n        PropValueOpenApiDTO obj4 = new PropValueOpenApiDTO();\n        obj4.setPropValueId(213);\n        obj4.setPropValue(\"\\\"黄色\\\"\");\n        obj3.setRadioPropValue(obj4);\n        obj3.setPropId(1);\n        obj3.setInputType(\"RADIO\");\n        obj3.setPropType(\"ITEM\");\n        obj3.setPropName(\"\\\"颜色\\\"\");\n        obj3.setTextPropValue(\"\\\"文本信息 示例值\\\"\");\n        List<PropValueOpenApiDTO> list2 = new ArrayList<>();\n        PropValueOpenApiDTO obj5 = new PropValueOpenApiDTO();\n        obj5.setPropValueId(213);\n        obj5.setPropValue(\"\\\"黄色\\\"\");\n        list2.add(obj5);\n        obj3.setCheckboxPropValue(list2);\n        obj3.setUnitPropValueName(\"1\");\n        list3.add(obj3);\n        request.setSpuPropList(list3);\n        List<String> list4 = new ArrayList<>();\n        list4.add(\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg?bp=10180\");\n        request.setStandardImages(list4);\n\n        OpenItemStandardApplyResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/standard/apply' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.standard.apply' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1700725060986' \\\n-d 'param=%7B%22keyPropList%22%3A%5B%7B%22propName%22%3A%22%E6%B5%8B%E8%AF%95%E5%B1%9E%E6%80%A7%E5%90%8D%22%2C%22unitPropValueId%22%3A6789%2C%22propId%22%3A1234%2C%22unitPropValueName%22%3A%22rmb%5Fyuan%22%2C%22inputType%22%3A%22RADIO%22%2C%22propValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22propType%22%3A%22KEY%5FBRAND%22%7D%5D%2C%22categoryId%22%3A1%2C%22spuPropList%22%3A%5B%7B%22unitPropValueId%22%3A1%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22propId%22%3A1%2C%22inputType%22%3A%22RADIO%22%2C%22propType%22%3A%22ITEM%22%2C%22propName%22%3A%22%5C%22%E9%A2%9C%E8%89%B2%5C%22%22%2C%22textPropValue%22%3A%22%5C%22%E6%96%87%E6%9C%AC%E4%BF%A1%E6%81%AF+%E7%A4%BA%E4%BE%8B%E5%80%BC%5C%22%22%2C%22checkboxPropValue%22%3A%5B%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%5D%2C%22unitPropValueName%22%3A%221%22%7D%5D%2C%22standardImages%22%3A%5B%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Ddda4ca2144b94ac6b8d5e5c96154b8dd%2Ejpg%3Fbp%3D10180%22%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"applyResult\": \"申请新建标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411816487}},{"action":"open.item.standard.apply.query","title":"搜索标品申报列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.standard.apply.query&version=1","sha256":"3a38f15cfab81090a2c7f62c0b4ec42b465f90df84d922fb3c7ecc2e78c73cdb","bytes":8365},"official":{"id":0,"name":"open.item.standard.apply.query","cnName":"搜索标品申报列表","method":1,"version":1,"description":"1、用途:该接口用来查询商家自己申报以及纠错的标品信息(关键、绑定属性、标品图片、类目路径等),审核通过的标品可以用来发品\n2、接口调用:输入类目ID、以及其他的相关条件即可分页批量查询用户自己申报纠错的标品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7280439,"paramName":"categoryId","paramType":"List<Long>","structureId":0,"example":"[23402,23403]","required":false,"description":"叶子类目id列表"},{"id":7280440,"paramName":"standardStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"标品状态(-1: 全部,1: 启用,2: 禁用)"},{"id":7280441,"paramName":"standardName","paramType":"String","structureId":0,"example":"华为","required":false,"description":"标品名称"},{"id":7280442,"paramName":"applyType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"申报类型(-1: 全部,1: 申报记录,2: 纠错记录)"},{"id":7280443,"paramName":"standardAuditStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"标品审核状态(-1: 全部,1: 审核中,2: 审核通过,3: 审核驳回)"},{"id":7280444,"paramName":"limit","paramType":"Integer","structureId":0,"example":"10","required":false,"description":"分页使用,一页数据量"},{"id":7280445,"paramName":"cursor","paramType":"Integer","structureId":0,"example":"0","required":false,"description":"分页使用,开始位置"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7280446,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7280447,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7280446,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7280447,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7280448,"paramName":"standardApplyInfoOpenApi","paramType":"List<StandardApplyInfoForOpenApi>","structureId":307352,"example":"[{}]","required":false,"description":"标品申报信息 json格式"},{"id":7280449,"paramName":"cursor","paramType":"Integer","structureId":0,"example":"0","required":false,"description":"分页信息"},{"id":7280450,"paramName":"total","paramType":"Integer","structureId":0,"example":"15","required":false,"description":"数据总量"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemProductStandardApplySearchRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemProductStandardApplySearchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://gw-merchant-staging.test.gifshow.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemProductStandardApplySearchRequest request = new OpenItemProductStandardApplySearchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setUserId(123456789);\n        List<Long> list1 = new ArrayList<>();\n        list1.add(23402);\n        request.setCategoryId(list1);\n        request.setStandardStatus(1);\n        request.setStandardName(\"测试\");\n        request.setApplyType(1);\n        request.setStandardAuditStatus(1);\n        request.setLimit(0);\n        request.setCursor(10);\n\n        OpenItemProductStandardApplySearchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://gw-merchant-staging.test.gifshow.com/open/item/product/standard/apply/search' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.product.standard.apply.search' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1697429342241' \\\n-d 'param=%7B%22userId%22%3A123456789%2C%22categoryId%22%3A%5B23402%2C23403%5D%2C%22standardStatus%22%3A1%2C%22standardName%22%3A%22%E6%B5%8B%E8%AF%95%22%2C%22applyType%22%3A1%2C%22standardAuditStatus%22%3A1%2C%22limit%22%3A0%2C%22cursor%22%3A10%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"standardApplyInfoOpenApi\": [\n    {\n      \"standardId\": 1,\n      \"categoryId\": 1,\n      \"categoryPath\": [\n        {\n          \"categoryId\": 1,\n          \"categoryName\": \"name\"\n        }\n      ],\n      \"standardName\": \"1\",\n      \"standardMd5\": \"1\",\n      \"standardStatus\": 1,\n      \"keyProps\": [\n        {\n          \"propName\": \"1\",\n          \"unitPropValueId\": 1,\n          \"propId\": 1,\n          \"propValue\": \"1\",\n          \"templatePropType\": 1,\n          \"sortNum\": 1,\n          \"unitPropValueName\": \"1\",\n          \"inputType\": \"1\",\n          \"propAlias\": \"1\",\n          \"propType\": \"1\",\n          \"propDesc\": \"1\"\n        }\n      ],\n      \"spuProps\": [\n        {\n          \"propName\": \"1\",\n          \"unitPropValueId\": 1,\n          \"propId\": 1,\n          \"propValue\": \"1\",\n          \"templatePropType\": 1,\n          \"sortNum\": 1,\n          \"unitPropValueName\": \"1\",\n          \"inputType\": \"1\",\n          \"propAlias\": \"1\",\n          \"propType\": \"1\",\n          \"propDesc\": \"1\"\n        }\n      ],\n      \"standardImages\": []\n    }\n  ],\n  \"cursor\": 0,\n  \"total\": 15\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411796383}},{"action":"open.item.standard.apply.query.spu","title":"搜索标品申报列表(新)","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.standard.apply.query.spu&version=1","sha256":"6eedce73d0ec55db742e2eb68ab6ed5268405f1ea464eed68246f5f92d50aba0","bytes":9124},"official":{"id":0,"name":"open.item.standard.apply.query.spu","cnName":"搜索标品申报列表(新)","method":1,"version":1,"description":"1、用途:该接口用来查询商家自己申报以及纠错的标品信息(关键、绑定属性、标品图片、类目路径等),审核通过的标品可以用来发品\n2、接口调用:输入类目ID、以及其他的相关条件即可分页批量查询用户自己申报纠错的标品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7280679,"paramName":"cursor","paramType":"Integer","structureId":0,"example":"0","required":false,"description":"分页查询使用"},{"id":7280680,"paramName":"categoryId","paramType":"List<Long>","structureId":0,"example":"[23402,23403]","required":false,"description":"叶子类目id列表"},{"id":7280681,"paramName":"userId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"商家id"},{"id":7280682,"paramName":"standardStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"标品状态(-1: 全部,1: 启用,2: 禁用)"},{"id":7280683,"paramName":"standardAuditStatus","paramType":"Integer","structureId":0,"example":"2","required":false,"description":"标品审核状态(-1: 全部,1: 审核中,2: 审核通过,3: 审核驳回)"},{"id":7280684,"paramName":"limit","paramType":"Integer","structureId":0,"example":"10","required":false,"description":"分页使用,一页数据量"},{"id":7280685,"paramName":"standardName","paramType":"String","structureId":0,"example":"华为","required":false,"description":"标品名称"},{"id":7280686,"paramName":"applyType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"申报类型(-1: 全部,1: 申报记录,2: 纠错记录)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7280691,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7280692,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7280687,"paramName":"cursor","paramType":"Integer","structureId":0,"example":"0","required":false,"description":"分页查询使用"},{"id":7280688,"paramName":"baseRespInfo","paramType":"ProductCommonResponseInfo","structureId":31786,"example":"{}","required":false,"description":"rpc调用是否成功"},{"id":7280689,"paramName":"total","paramType":"Long","structureId":0,"example":"10","required":false,"description":"数据总数"},{"id":7280690,"paramName":"standardApplyInfoOpenApi","paramType":"List<StandardInfoForOpenApiDTO>","structureId":289488,"example":"[{}]","required":false,"description":"申报信息"},{"id":7280691,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7280692,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemStandardApplyQuerySpuRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemStandardApplyQuerySpuResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemStandardApplyQuerySpuRequest request = new OpenItemStandardApplyQuerySpuRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCursor(0);\n        List<Long> list1 = new ArrayList<>();\n        list1.add(23402);\n        request.setCategoryId(list1);\n        request.setUserId(1);\n        request.setStandardStatus(1);\n        request.setStandardAuditStatus(2);\n        request.setLimit(10);\n        request.setStandardName(\"华为\");\n        request.setApplyType(1);\n\n        OpenItemStandardApplyQuerySpuResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/standard/apply/query/spu' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.standard.apply.query.spu' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1744278132147' \\\n-d 'param=%7B%22cursor%22%3A0%2C%22categoryId%22%3A%5B23402%2C23403%5D%2C%22userId%22%3A1%2C%22standardStatus%22%3A1%2C%22standardAuditStatus%22%3A2%2C%22limit%22%3A10%2C%22standardName%22%3A%22%E5%8D%8E%E4%B8%BA%22%2C%22applyType%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"cursor\": 0,\n  \"baseRespInfo\": {\n    \"msg\": \"成功\",\n    \"code\": 1\n  },\n  \"total\": 10,\n  \"standardApplyInfoOpenApi\": [\n    {\n      \"standardId\": 1,\n      \"auditSource\": 1,\n      \"keyPropDto\": [\n        {\n          \"valueSourceType\": \"1\",\n          \"unitPropValueId\": 1,\n          \"propId\": 1,\n          \"inputType\": \"1\",\n          \"propAlias\": \"1\",\n          \"propType\": \"1\",\n          \"propName\": \"1\",\n          \"propValue\": \"1\",\n          \"templatePropType\": 1,\n          \"sortNum\": 1,\n          \"unitPropValueName\": \"1\",\n          \"preFillType\": \"1\",\n          \"propDesc\": \"1\"\n        }\n      ],\n      \"categoryName\": [],\n      \"standardApplySource\": 1,\n      \"standardOtherImages\": \"1\",\n      \"applyTime\": 1,\n      \"auditPerson\": \"1\",\n      \"auditStatus\": 1,\n      \"rejectReason\": \"1\",\n      \"standardMd5\": \"1\",\n      \"auditTime\": 1,\n      \"categoryId\": 1,\n      \"standardStatus\": 1,\n      \"categoryPath\": [\n        {\n          \"categoryName\": \"1\",\n          \"categoryId\": 1\n        }\n      ],\n      \"spuPropDto\": [\n        {\n          \"valueSourceType\": \"1\",\n          \"unitPropValueId\": 1,\n          \"propId\": 1,\n          \"inputType\": \"1\",\n          \"propAlias\": \"1\",\n          \"propType\": \"1\",\n          \"propName\": \"1\",\n          \"propValue\": \"1\",\n          \"templatePropType\": 1,\n          \"sortNum\": 1,\n          \"unitPropValueName\": \"1\",\n          \"preFillType\": \"1\",\n          \"propDesc\": \"1\"\n        }\n      ],\n      \"standardImages\": [],\n      \"standardApplyId\": 1,\n      \"standardName\": \"1\",\n      \"applyType\": 1\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411751939}},{"action":"open.item.standard.apply.spu","title":"申报标品(新)","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.standard.apply.spu&version=1","sha256":"4b91338e6aa798f5d719acf47bb31c035963ab8b43f45a0426eb006b50e3acc5","bytes":12102},"official":{"id":0,"name":"open.item.standard.apply.spu","cnName":"申报标品(新)","method":2,"version":1,"description":"1、用途:该接口主要用来进行标品申报,提交请求后等待运营审核即可,审核通过的标品可以用来进行标品的发布\n2、接口调用说明:\n  用户需要传入类目ID、关键属性、补充属性(SPU属性)以及标品图片(可不填,如果配置了标品图片必填那就必须填写)这四部分信息即可完成标品的申报\n3、参数说明\n  3.1 categoryId:类目ID,该类目必须是标品管控类目(强、弱管控均可)\n  3.2 keyPropList:关键属性信息(必填)\n  3.3 spuPropList:补充属性信息\n  3.4 standardImages:标品图片(图片必须是快手图片,见Tips3)\nTips:\n  1、获取属性信息(关键、补充属性)以及填写规则:open.item.category.prop.standard.get\n  2、属性值信息:open.item.category.prop.value.search \n  3、转化为快手图片:open.item.image.upload","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7281034,"paramName":"keyPropDto","paramType":"List<KeyPropOpenApiDTO>","structureId":298506,"example":"[]","required":true,"description":"关键属性"},{"id":7281035,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"1","required":true,"description":"类目ID"},{"id":7281036,"paramName":"spuPropDto","paramType":"List<SPUPropOpenApiDTO>","structureId":298505,"example":"[]","required":false,"description":"spu属性"},{"id":7281037,"paramName":"standardImage","paramType":"List<String>","structureId":0,"example":"[\n \"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg?bp=10180\"\n]","required":false,"description":"标品图片:最多上传上传9张,有的标品不支持标品图片上传,这个需要根据查询标品模版确认\n注意:标品图片必须是快手图片!"},{"id":7281038,"paramName":"standardOtherImages","paramType":"String","structureId":0,"example":"\"{\\\"copyright\\\":[\\\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-ea91cc22cace43f2994f34b469a49b62.jpg?bp=10180&kwai-not-alloc=19\\\"],\\\"label\\\":[\\\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-ea91cc22cace43f2994f34b469a49b62.jpg?bp=10180&kwai-not-alloc=19\\\"]}\"","required":false,"description":"其他图片\n注意:图片必须是快手图片!"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7281039,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7281041,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7281039,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":7281040,"paramName":"baseRespInfo","paramType":"ProductCommonResponseInfo","structureId":31786,"example":"{}","required":false,"description":"rpc调用结果"},{"id":7281041,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7281042,"paramName":"applyResult","paramType":"String","structureId":0,"example":"申请新建标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。","required":false,"description":"最终的申报结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemStandardApplySpuRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemStandardApplySpuResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemStandardApplySpuRequest request = new OpenItemStandardApplySpuRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<KeyPropOpenApiDTO> list1 = new ArrayList<>();\n        KeyPropOpenApiDTO obj1 = new KeyPropOpenApiDTO();\n        obj1.setPropName(\"测试属性名\");\n        obj1.setUnitPropValueId(6789);\n        obj1.setPropId(1234);\n        PropValueOpenApiDTO obj2 = new PropValueOpenApiDTO();\n        obj2.setPropValueId(213);\n        obj2.setPropValue(\"\\\"黄色\\\"\");\n        obj1.setPropValue(obj2);\n        obj1.setTemplatePropType(1);\n        obj1.setSortNum(1);\n        obj1.setUnitPropValueName(\"rmb_yuan\");\n        obj1.setInputType(\"RADIO\");\n        obj1.setPropAlias(\"测试属性名字\");\n        obj1.setPropType(\"KEY_BRAND\");\n        obj1.setPropDesc(\"描述\");\n        list1.add(obj1);\n        request.setKeyPropDto(list1);\n        request.setCategoryId(1);\n        List<SPUPropOpenApiDTO> list3 = new ArrayList<>();\n        SPUPropOpenApiDTO obj3 = new SPUPropOpenApiDTO();\n        obj3.setUnitPropValueId(1);\n        PropValueOpenApiDTO obj4 = new PropValueOpenApiDTO();\n        obj4.setPropValueId(213);\n        obj4.setPropValue(\"\\\"黄色\\\"\");\n        obj3.setRadioPropValue(obj4);\n        obj3.setPropId(1);\n        obj3.setInputType(\"RADIO\");\n        obj3.setPropAlias(\"\\\"颜色\\\"\");\n        obj3.setPropType(\"ITEM\");\n        obj3.setPropName(\"\\\"颜色\\\"\");\n        obj3.setTextPropValue(\"\\\"文本信息 示例值\\\"\");\n        List<PropValueOpenApiDTO> list2 = new ArrayList<>();\n        PropValueOpenApiDTO obj5 = new PropValueOpenApiDTO();\n        obj5.setPropValueId(213);\n        obj5.setPropValue(\"\\\"黄色\\\"\");\n        list2.add(obj5);\n        obj3.setCheckboxPropValue(list2);\n        obj3.setTemplatePropType(1);\n        obj3.setSortNum(1);\n        obj3.setUnitPropValueName(\"1\");\n        obj3.setPropDesc(\"描述信息\");\n        list3.add(obj3);\n        request.setSpuPropDto(list3);\n        List<String> list4 = new ArrayList<>();\n        list4.add(\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg?bp=10180\");\n        request.setStandardImage(list4);\n        request.setStandardOtherImages(\"\\\"{\\\\\\\"copyright\\\\\\\":[\\\\\\\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-ea91cc22cace43f2994f34b469a49b62.jpg?bp=10180&kwai-not-alloc=19\\\\\\\"],\\\\\\\"label\\\\\\\":[\\\\\\\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-ea91cc22cace43f2994f34b469a49b62.jpg?bp=10180&kwai-not-alloc=19\\\\\\\"]}\\\"\\n\");\n\n        OpenItemStandardApplySpuResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/standard/apply/spu' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.standard.apply.spu' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1744293251421' \\\n-d 'param=%7B%22keyPropDto%22%3A%5B%7B%22propName%22%3A%22%E6%B5%8B%E8%AF%95%E5%B1%9E%E6%80%A7%E5%90%8D%22%2C%22unitPropValueId%22%3A6789%2C%22propId%22%3A1234%2C%22propValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22templatePropType%22%3A1%2C%22sortNum%22%3A1%2C%22unitPropValueName%22%3A%22rmb%5Fyuan%22%2C%22inputType%22%3A%22RADIO%22%2C%22propAlias%22%3A%22%E6%B5%8B%E8%AF%95%E5%B1%9E%E6%80%A7%E5%90%8D%E5%AD%97%22%2C%22propType%22%3A%22KEY%5FBRAND%22%2C%22propDesc%22%3A%22%E6%8F%8F%E8%BF%B0%22%7D%5D%2C%22categoryId%22%3A1%2C%22spuPropDto%22%3A%5B%7B%22unitPropValueId%22%3A1%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22propId%22%3A1%2C%22inputType%22%3A%22RADIO%22%2C%22propAlias%22%3A%22%5C%22%E9%A2%9C%E8%89%B2%5C%22%22%2C%22propType%22%3A%22ITEM%22%2C%22propName%22%3A%22%5C%22%E9%A2%9C%E8%89%B2%5C%22%22%2C%22textPropValue%22%3A%22%5C%22%E6%96%87%E6%9C%AC%E4%BF%A1%E6%81%AF+%E7%A4%BA%E4%BE%8B%E5%80%BC%5C%22%22%2C%22checkboxPropValue%22%3A%5B%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%5D%2C%22templatePropType%22%3A1%2C%22sortNum%22%3A1%2C%22unitPropValueName%22%3A%221%22%2C%22propDesc%22%3A%22%E6%8F%8F%E8%BF%B0%E4%BF%A1%E6%81%AF%22%7D%5D%2C%22standardImage%22%3A%5B%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Ddda4ca2144b94ac6b8d5e5c96154b8dd%2Ejpg%3Fbp%3D10180%22%5D%2C%22standardOtherImages%22%3A%22%5C%22%7B%5C%5C%5C%22copyright%5C%5C%5C%22%3A%5B%5C%5C%5C%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Dea91cc22cace43f2994f34b469a49b62%2Ejpg%3Fbp%3D10180%26kwai%2Dnot%2Dalloc%3D19%5C%5C%5C%22%5D%2C%5C%5C%5C%22label%5C%5C%5C%22%3A%5B%5C%5C%5C%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Dea91cc22cace43f2994f34b469a49b62%2Ejpg%3Fbp%3D10180%26kwai%2Dnot%2Dalloc%3D19%5C%5C%5C%22%5D%7D%5C%22%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"baseRespInfo\": {\n    \"msg\": \"成功\",\n    \"code\": 1\n  },\n  \"error_msg\": \"success\",\n  \"applyResult\": \"申请新建标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411717414}},{"action":"open.item.standard.correct","title":"纠错标品","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.standard.correct&version=1","sha256":"abc58d5673957593f954c0e13483481e995c7d6380267cfcd60a22fa078d21d7","bytes":9840},"official":{"id":0,"name":"open.item.standard.correct","cnName":"纠错标品","method":2,"version":1,"description":"纠错标品","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7165736,"paramName":"keyPropList","paramType":"List<KeyPropOpenApiDTO>","structureId":298506,"example":"[]","required":false,"description":"关键属性信息"},{"id":7165737,"paramName":"categoryId","paramType":"Long","structureId":0,"example":"2345","required":true,"description":"类目ID 必填"},{"id":7165738,"paramName":"spuPropList","paramType":"List<SPUPropOpenApiDTO>","structureId":298505,"example":"[]","required":false,"description":"SPU属性信息"},{"id":7165739,"paramName":"standardId","paramType":"Long","structureId":0,"example":"23405","required":true,"description":"要纠错的标品ID 必填"},{"id":7165740,"paramName":"modifyReason","paramType":"String","structureId":0,"example":"1","required":true,"description":"纠错原因"},{"id":7165741,"paramName":"modifyImageUrl","paramType":"String","structureId":0,"example":"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg","required":false,"description":"纠错图片(注意:标品图片必须是快手图片!)"},{"id":7165742,"paramName":"standardImages","paramType":"List<String>","structureId":0,"example":"[\n \"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg\"\n]","required":false,"description":"标品图片:最多上传上传9张,有的标品不支持标品图片上传,这个需要根据查询标品模版确认\n注意:标品图片必须是快手图片!"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7165743,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7165744,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7165743,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7165744,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7165745,"paramName":"correctResult","paramType":"String","structureId":0,"example":"申请纠错标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。","required":false,"description":"纠错结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemStandardCorrectRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemStandardCorrectResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemStandardCorrectRequest request = new OpenItemStandardCorrectRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<KeyPropOpenApiDTO> list1 = new ArrayList<>();\n        KeyPropOpenApiDTO obj1 = new KeyPropOpenApiDTO();\n        obj1.setPropName(\"测试属性名\");\n        obj1.setUnitPropValueId(6789);\n        obj1.setPropId(1234);\n        obj1.setUnitPropValueName(\"rmb_yuan\");\n        obj1.setInputType(\"RADIO\");\n        PropValueOpenApiDTO obj2 = new PropValueOpenApiDTO();\n        obj2.setPropValueId(213);\n        obj2.setPropValue(\"\\\"黄色\\\"\");\n        obj1.setPropValue(obj2);\n        obj1.setPropType(\"KEY_BRAND\");\n        list1.add(obj1);\n        request.setKeyPropList(list1);\n        request.setCategoryId(2345);\n        List<SPUPropOpenApiDTO> list3 = new ArrayList<>();\n        SPUPropOpenApiDTO obj3 = new SPUPropOpenApiDTO();\n        obj3.setUnitPropValueId(1);\n        PropValueOpenApiDTO obj4 = new PropValueOpenApiDTO();\n        obj4.setPropValueId(213);\n        obj4.setPropValue(\"\\\"黄色\\\"\");\n        obj3.setRadioPropValue(obj4);\n        obj3.setPropId(1);\n        obj3.setInputType(\"RADIO\");\n        obj3.setPropType(\"ITEM\");\n        obj3.setPropName(\"\\\"颜色\\\"\");\n        obj3.setTextPropValue(\"\\\"文本信息 示例值\\\"\");\n        List<PropValueOpenApiDTO> list2 = new ArrayList<>();\n        PropValueOpenApiDTO obj5 = new PropValueOpenApiDTO();\n        obj5.setPropValueId(213);\n        obj5.setPropValue(\"\\\"黄色\\\"\");\n        list2.add(obj5);\n        obj3.setCheckboxPropValue(list2);\n        obj3.setUnitPropValueName(\"1\");\n        list3.add(obj3);\n        request.setSpuPropList(list3);\n        request.setStandardId(23405);\n        request.setModifyReason(\"1\");\n        request.setModifyImageUrl(\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg\");\n        List<String> list4 = new ArrayList<>();\n        list4.add(\"https://kcdn.staging.kuaishou.com/bs2/image-kwaishop-product/STANDARD_IMAGE-88888888-dda4ca2144b94ac6b8d5e5c96154b8dd.jpg\");\n        request.setStandardImages(list4);\n\n        OpenItemStandardCorrectResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/standard/correct' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.standard.correct' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1700725108901' \\\n-d 'param=%7B%22keyPropList%22%3A%5B%7B%22propName%22%3A%22%E6%B5%8B%E8%AF%95%E5%B1%9E%E6%80%A7%E5%90%8D%22%2C%22unitPropValueId%22%3A6789%2C%22propId%22%3A1234%2C%22unitPropValueName%22%3A%22rmb%5Fyuan%22%2C%22inputType%22%3A%22RADIO%22%2C%22propValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22propType%22%3A%22KEY%5FBRAND%22%7D%5D%2C%22categoryId%22%3A2345%2C%22spuPropList%22%3A%5B%7B%22unitPropValueId%22%3A1%2C%22radioPropValue%22%3A%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%2C%22propId%22%3A1%2C%22inputType%22%3A%22RADIO%22%2C%22propType%22%3A%22ITEM%22%2C%22propName%22%3A%22%5C%22%E9%A2%9C%E8%89%B2%5C%22%22%2C%22textPropValue%22%3A%22%5C%22%E6%96%87%E6%9C%AC%E4%BF%A1%E6%81%AF+%E7%A4%BA%E4%BE%8B%E5%80%BC%5C%22%22%2C%22checkboxPropValue%22%3A%5B%7B%22propValueId%22%3A213%2C%22propValue%22%3A%22%5C%22%E9%BB%84%E8%89%B2%5C%22%22%7D%5D%2C%22unitPropValueName%22%3A%221%22%7D%5D%2C%22standardId%22%3A23405%2C%22modifyReason%22%3A%221%22%2C%22modifyImageUrl%22%3A%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Ddda4ca2144b94ac6b8d5e5c96154b8dd%2Ejpg%22%2C%22standardImages%22%3A%5B%22https%3A%2F%2Fkcdn%2Estaging%2Ekuaishou%2Ecom%2Fbs2%2Fimage%2Dkwaishop%2Dproduct%2FSTANDARD%5FIMAGE%2D88888888%2Ddda4ca2144b94ac6b8d5e5c96154b8dd%2Ejpg%22%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"correctResult\": \"申请纠错标品提交成功,可在「快手小店PC端-商品管理-标品管理」查看审核进度。\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750411695656}},{"action":"open.item.video.caption.edit","title":"修改商品视频标题","category":"商品API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.video.caption.edit&version=1","sha256":"fabf8396f4d31e5a445aa416faa0a3b51b5e245b6733b0548f75f4851983051d","bytes":4403},"official":{"id":0,"name":"open.item.video.caption.edit","cnName":"修改商品视频标题","method":2,"version":1,"description":"修改商品视频标题","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7700552,"paramName":"videoId","paramType":"String","structureId":0,"example":"15b789a67c05fb5a","required":true,"description":"视频 ID"},{"id":7700553,"paramName":"videoType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"视频类型,1-本地上传视频 2-快手短视频。只在 videoType=1时传入有效。"},{"id":7700554,"paramName":"caption","paramType":"String","structureId":0,"example":"透镜雾灯灯光效果视频LED大灯效果.mp4","required":true,"description":"视频标题"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7700555,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7700556,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7700555,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7700556,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7700557,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"}],"errorCodes":[{"code":1010167,"type":"参数错误","description":"视频ID不能为空","solution":"检查入参 videoId 是否正确"},{"code":1010164,"type":"参数错误","description":"视频文件名不能为空","solution":"检查入参 caption 是否正确"},{"code":1010304,"type":"参数错误","description":"修改视频标题当前仅支持本地上传视频","solution":"检查入参 videoType 是否正确"},{"code":1140002,"type":"业务错误","description":"操作频繁,请等待3s后重试","solution":"稍后重试"},{"code":2110042,"type":"系统错误","description":"视频记录查询异常","solution":"稍后重试"},{"code":1010307,"type":"业务错误","description":"视频 ID 不存在","solution":"传入正确的 videoId"},{"code":1010171,"type":"参数错误","description":"视频文件名不能大于 200 个字符","solution":"检查入参 fileName 字符串是否太长"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"// 待补充"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756974274568}},{"action":"open.item.video.count","title":"查询商家视频总数","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.video.count&version=1","sha256":"9be59aea8a8cedff625c1671994d821b3d56407af8133a012bf16fd8d844da97","bytes":6959},"official":{"id":0,"name":"open.item.video.count","cnName":"查询商家视频总数","method":2,"version":1,"description":"查询商家视频总数","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7700428,"paramName":"videoType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"视频类型,1-本地上传视频 2-快手短视频"},{"id":7700429,"paramName":"aspectRatio","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"视频比例,只在 videoType=1时传入有效。0-全部 1-1:1比例 2-4:3比例 3-9:16比例 4-16:9比例 6-4:3比例"},{"id":7700430,"paramName":"auditStatus","paramType":"Integer","structureId":0,"example":"2","required":false,"description":"审核状态,只在 videoType=1时传入有效。0-全部 1-审核中 2-审核通过 3-审核拒绝;"},{"id":7700431,"paramName":"createTimeStart","paramType":"Long","structureId":0,"example":"1748217642000","required":false,"description":"视频上传时间范围(起始时间戳)"},{"id":7700432,"paramName":"createTimeEnd","paramType":"Long","structureId":0,"example":"1748390442683","required":false,"description":"视频上传时间范围(结束时间戳)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7700433,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7700434,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7700433,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7700434,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7700435,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7700436,"paramName":"data","paramType":"VideoCountProto","structureId":547730,"example":"{}","required":false,"description":"视频总数信息"}],"errorCodes":[{"code":1010179,"type":"参数错误","description":"视频类型非法","solution":"检查入参 videoType 是否正确"},{"code":1010190,"type":"参数错误","description":"审核状态查询参数非法","solution":"检查入参 auditStatus 是否正确"},{"code":1010191,"type":"参数错误","description":"视频比例查询参数非法","solution":"检查入参 aspectRatio 是否正确"},{"code":1010193,"type":"参数错误","description":"查询结束时间不能小于开始时间","solution":"检查入参 createTimeEnd 是否正确"},{"code":2110042,"type":"系统错误","description":"视频记录查询异常","solution":"稍后重试"},{"code":2110098,"type":"系统错误","description":"查询视频播放链接异常","solution":"稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemVideoCountRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemVideoCountResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemVideoCountRequest request = new OpenItemVideoCountRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setVideoType(1);\n        request.setAspectRatio(1);\n        request.setAuditStatus(2);\n        request.setCreateTimeStart(1748217642000);\n        request.setCreateTimeEnd(1748390442683);\n\n        OpenItemVideoCountResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/video/count' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.video.count' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1749179040159' \\\n-d 'param=%7B%22videoType%22%3A1%2C%22aspectRatio%22%3A1%2C%22auditStatus%22%3A2%2C%22createTimeStart%22%3A1748217642000%2C%22createTimeEnd%22%3A1748390442683%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": {\n    \"total\": 452\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756974241159}},{"action":"open.item.video.delete","title":"商家视频删除","category":"商品API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.video.delete&version=1","sha256":"b8fc2ab1a0e06d8ed325d400455a0acaa67cf9ec67fe113652909df320d218df","bytes":6007},"official":{"id":0,"name":"open.item.video.delete","cnName":"商家视频删除","method":2,"version":1,"description":"商家视频删除","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7280208,"paramName":"videoType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"视频类型,1-本地上传视频 2-快手短视频。只在 videoType=1时传入有效。"},{"id":7280209,"paramName":"videoId","paramType":"List<String>","structureId":0,"example":"[\"15b789a67c05fb5a\"]","required":true,"description":"视频 ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7280210,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7280212,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7280210,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7280211,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7280212,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7280213,"paramName":"data","paramType":"VideoDeleteResult","structureId":547738,"example":"{}","required":false,"description":"视频删除结果"}],"errorCodes":[{"code":1010305,"type":"参数错误","description":"删除商家视频当前仅支持本地上传视频","solution":"检查入参 videoType 是否正确"},{"code":1010306,"type":"参数错误","description":"一次最多删除50个视频","solution":"检查入参 videoId 是否超过 50 个视频 ID"},{"code":1010309,"type":"参数错误","description":"待删除视频为空","solution":"检查入参 videoId 是否为空"},{"code":2110042,"type":"系统错误","description":"视频删除异常","solution":"稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemVideoDeleteRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemVideoDeleteResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemVideoDeleteRequest request = new OpenItemVideoDeleteRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setVideoType(1);\n        List<String> list1 = new ArrayList<>();\n        list1.add(\"15b789a67c05fb5a\");\n        request.setVideoId(list1);\n\n        OpenItemVideoDeleteResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/video/delete' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.video.delete' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1748921771864' \\\n-d 'param=%7B%22videoType%22%3A1%2C%22videoId%22%3A%5B%2215b789a67c05fb5a%22%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": {\n    \"successCount\": 6,\n    \"failVideoId\": [\n      \"15b789a67c05fb5a\"\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750412451254}},{"action":"open.item.video.info","title":"查询商品视频详情","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.video.info&version=1","sha256":"9f992f0bbb2acbbe73039ffd3673cdc1c74f335a16aa4531106feebe396611c2","bytes":6409},"official":{"id":0,"name":"open.item.video.info","cnName":"查询商品视频详情","method":1,"version":1,"description":"查询商品视频详情","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7280309,"paramName":"videoId","paramType":"String","structureId":0,"example":"15b789a67c05fb5a","required":true,"description":"视频 ID"},{"id":7280310,"paramName":"videoType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"视频类型,1-本地上传视频 2-快手短视频"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7280311,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7280312,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7280311,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7280312,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7280313,"paramName":"data","paramType":"VideoInfoProto","structureId":545832,"example":"{}","required":false,"description":"视频信息"}],"errorCodes":[{"code":1010007,"type":"参数错误","description":"用户ID必须大于0","solution":"检查登录状态"},{"code":1010167,"type":"参数错误","description":"视频ID不能为空","solution":"检查入参videoId是否正确"},{"code":1010179,"type":"参数错误","description":"视频类型非法","solution":"检查入参 videoType 是否正确"},{"code":1010303,"type":"业务错误","description":"无权限查询其他用户视频","solution":"检查登陆账号是否正确"},{"code":1240059,"type":"参数错误","description":"商品关联的短视频id不合法","solution":"检查传入的短视频 ID(字段 videoId)是否正确"},{"code":2110042,"type":"系统错误","description":"查询视频上传记录异常","solution":"稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemVideoInfoRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemVideoInfoResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemVideoInfoRequest request = new OpenItemVideoInfoRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setVideoId(\"15b789a67c05fb5a\");\n        request.setVideoType(1);\n\n        OpenItemVideoInfoResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/item/video/info' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.video.info' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1749177333809' \\\n-d 'param=%7B%22videoId%22%3A%2215b789a67c05fb5a%22%2C%22videoType%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"bizInfo\": {\n      \"caption\": \"透镜雾灯灯光效果视频LED大灯效果.mp4\",\n      \"videoType\": 1,\n      \"videoTypeDesc\": \"本地上传视频\",\n      \"hasMerchant\": true,\n      \"uploaderId\": 11318492,\n      \"uploadTime\": 1748393017044\n    },\n    \"metaInfo\": {\n      \"duration\": 5.4,\n      \"storageSize\": 2127465,\n      \"width\": 600,\n      \"height\": 600,\n      \"aspectRatio\": \"1:1\",\n      \"frameRate\": 30.2,\n      \"format\": \"mp4\"\n    },\n    \"thumbnailUrl\": \"1\",\n    \"mainUrl\": \"1\",\n    \"videoId\": \"1\"\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1750412248709}},{"action":"open.item.video.list","title":"查询商家视频列表","category":"商品API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.item.video.list&version=1","sha256":"1f181469fa22b62e66e23ed419d63bf8509df0705a6e824d6d992c8fad871528","bytes":8503},"official":{"id":0,"name":"open.item.video.list","cnName":"查询商家视频列表","method":2,"version":1,"description":"查询商家视频列表","needPermission":true,"permissionScope":"merchant_item,merchant_item_basic","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7700486,"paramName":"videoType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"视频类型,1-本地上传视频 2-快手短视频"},{"id":7700487,"paramName":"aspectRatio","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"视频比例,只在 videoType=1时传入有效。0-全部 1-1:1比例 2-4:3比例 3-9:16比例 4-16:9比例 6-3:4比例"},{"id":7700488,"paramName":"auditStatus","paramType":"Integer","structureId":0,"example":"2","required":false,"description":"审核状态,只在 videoType=1时传入有效。0-全部 1-审核中 2-审核通过 3-审核拒绝;"},{"id":7700489,"paramName":"createTimeStart","paramType":"Long","structureId":0,"example":"1748217642000","required":false,"description":"视频上传时间范围(起始时间戳)"},{"id":7700490,"paramName":"createTimeEnd","paramType":"Long","structureId":0,"example":"1748390442683","required":false,"description":"视频上传时间范围(结束时间戳)"},{"id":7700491,"paramName":"pageIndex","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"查询页号"},{"id":7700492,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"一页查询数量(最多 50)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7700493,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7700494,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7700493,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7700494,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7700495,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7700496,"paramName":"data","paramType":"VideoListResult","structureId":547735,"example":"{}","required":false,"description":"视频列表数据"}],"errorCodes":[{"code":1010179,"type":"参数错误","description":"视频类型非法","solution":"检查入参 videoType 是否正确"},{"code":1010190,"type":"参数错误","description":"审核状态查询参数非法","solution":"检查入参 auditStatus 是否正确"},{"code":1010191,"type":"参数错误","description":"视频比例查询参数非法","solution":"检查入参 aspectRatio 是否正确"},{"code":1010193,"type":"参数错误","description":"查询结束时间不能小于开始时间","solution":"检查入参 createTimeEnd 是否正确"},{"code":1010187,"type":"参数错误","description":"视频列表查询页号不能小于0","solution":"检查入参 pageIndex 是否正确"},{"code":1010188,"type":"参数错误","description":"视频列表查询数量不能小于0","solution":"检查入参 pageSize 是否小于 0"},{"code":1010189,"type":"参数错误","description":"视频列表一页查询数量不能超过50个","solution":"检查入参 pageSize 是否大于 50"},{"code":2110042,"type":"系统错误","description":"视频记录查询异常","solution":"稍后重试"},{"code":2110098,"type":"系统错误","description":"查询视频播放链接异常","solution":"稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.item.OpenItemVideoListRequest;\nimport com.kuaishou.merchant.open.api.response.item.OpenItemVideoListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenItemVideoListRequest request = new OpenItemVideoListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setVideoType(1);\n        request.setAspectRatio(1);\n        request.setAuditStatus(2);\n        request.setCreateTimeStart(1748217642000);\n        request.setCreateTimeEnd(1748390442683);\n        request.setPageIndex(1);\n        request.setPageSize(10);\n\n        OpenItemVideoListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/item/video/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.item.video.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1749180189577' \\\n-d 'param=%7B%22videoType%22%3A1%2C%22aspectRatio%22%3A1%2C%22auditStatus%22%3A2%2C%22createTimeStart%22%3A1748217642000%2C%22createTimeEnd%22%3A1748390442683%2C%22pageIndex%22%3A1%2C%22pageSize%22%3A10%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": {\n    \"total\": 542,\n    \"videoInfo\": [\n      {\n        \"bizInfo\": {\n          \"caption\": \"透镜雾灯灯光效果视频LED大灯效果.mp4\",\n          \"videoType\": 1,\n          \"videoTypeDesc\": \"本地上传视频\",\n          \"hasMerchant\": true,\n          \"uploaderId\": 11318492,\n          \"uploadTime\": 1748393017044\n        },\n        \"metaInfo\": {\n          \"duration\": 5.4,\n          \"storageSize\": 2127465,\n          \"width\": 600,\n          \"height\": 600,\n          \"aspectRatio\": \"1:1\",\n          \"frameRate\": 30.2,\n          \"format\": \"mp4\"\n        },\n        \"thumbnailUrl\": \"1\",\n        \"mainUrl\": \"1\",\n        \"videoId\": \"1\"\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_item","desc":"电商商品信息权限","categoryList":["商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]},{"scope":"merchant_item_basic","desc":"商品权限(不包含发品)","categoryList":["商品管理-其他商品工具"]}],"updateTime":1756974328769}},{"action":"open.logistics.express.template.add","title":"新增运费模板","category":"物流API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.express.template.add&version=1","sha256":"a9733eb8e0b79ff9d7de6a6f94f2d9efa3f6d86ece755512dec60e6f9f02c3bf","bytes":9549},"official":{"id":0,"name":"open.logistics.express.template.add","cnName":"新增运费模板","method":2,"version":1,"description":"新增运费模板,非偏远地区必须包邮,偏远地区建议包邮,使用详见《[【运费模板】使用教程@https://university.kwaixiaodian.com/kwaishop/newKnowledge/588820420804636766/581287827683016715]》","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2271902,"paramName":"sendProvinceName","paramType":"String","structureId":0,"example":"浙江省","required":true,"description":"省份名称"},{"id":2271905,"paramName":"sendDistrictCode","paramType":"Long","structureId":0,"example":"110001","required":true,"description":"区域编码(6位)"},{"id":2271907,"paramName":"sendTime","paramType":"Integer","structureId":0,"example":"0","required":true,"description":"【已废弃】承诺发货时间,传0即可"},{"id":2271904,"paramName":"sendCityName","paramType":"String","structureId":0,"example":"杭州市","required":true,"description":"城市名称"},{"id":2271900,"paramName":"calType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"计费类型:1-按件计费;2-按重量计费"},{"id":2271899,"paramName":"name","paramType":"String","structureId":0,"example":"江浙沪包邮运费模板","required":true,"description":"运费模板名称"},{"id":2271908,"paramName":"sourceType","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"来源:10-Android;  20-iOS;  30-PCWEB;  40-SYSTEM"},{"id":2271901,"paramName":"sendProvinceCode","paramType":"Long","structureId":0,"example":"31","required":true,"description":"省份编码(2位)"},{"id":2271903,"paramName":"sendCityCode","paramType":"Long","structureId":0,"example":"1100","required":true,"description":"城市编码(4位)"},{"id":2271909,"paramName":"config","paramType":"String","structureId":0,"example":"{\"type\":1,\"content\":{\"includeProvinces\":[12,14,15,21,22,23,31,32,33,34,35,36,37,41,42,43,44,45,46,50,51,52,53,61,62,63,64],\"excludeProvinces\":[{\"code\":null,\"codeList\":[65,540522],\"reasonCode\":2}],\"provinceFees\":[{\"type\":1,\"code\":null,\"codeList\":[13,110113],\"baseCount\":1,\"baseFee\":900,\"perAddCount\":1,\"perAddFee\":100,\"includeCount\":10,\"includeUnit\":\"count\"}]}}","required":true,"description":"type:目前只有1一种;includeProvinces:包邮省(只能为省code);excludeProvinces:不配送地区,历史数据有code(只能为省code),已迁移到codeList(支持省市区多级code),若有codeList字段,将以codeList计算运费; reasonCode:不配送原因(1-台风,2-距离,3-重量,4-国家会议,5-合作快递不配送该区域,6-合作快递该区域服务差,7-其他); provinceFees:运费规则,历史数据有code(只能为省code),已迁移到codeList(支持省市区多级code),若有codeList字段,将以codeList计算运费; baseCount:起步件数; baseFee:起步运费(分) ;perAddCount:递增件数; perAddFee:递增运费金额(分); includeCount:满N件包邮 ;includeFee:满N包邮(分); includeUnit:count代表件,price代表钱"},{"id":2271906,"paramName":"sendDistrictName","paramType":"String","structureId":0,"example":"西湖区","required":true,"description":"区域名称"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2271910,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2271911,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2271910,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":2271911,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"},{"id":2271912,"paramName":"data","paramType":"CreateExpressTemplateVO","structureId":238,"example":"{}","required":false,"description":"创建结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsExpressTemplateAddRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsExpressTemplateAddResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsExpressTemplateAddRequest request = new OpenLogisticsExpressTemplateAddRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setName(\"江浙沪包邮运费模板\");\n        request.setCalType(1);\n        request.setSendProvinceCode(31);\n        request.setSendProvinceName(\"浙江省\");\n        request.setSendCityCode(1100);\n        request.setSendCityName(\"杭州市\");\n        request.setSendDistrictCode(110001);\n        request.setSendDistrictName(\"西湖区\");\n        request.setSendTime(0);\n        request.setSourceType(10);\n        request.setConfig(\"{\\\"type\\\":1,\\\"content\\\":{\\\"includeProvinces\\\":[11,12],\\\"excludeProvinces\\\":[{\\\"code\\\":62,\\\"codeList\\\":null,\\\"reasonCode\\\":7}],\\\"provinceFees\\\":[{\\\"code\\\":61,\\\"codeList\\\":[31],\\\"baseCount\\\":1,\\\"baseFee\\\":2,\\\"perAddCount\\\":3,\\\"perAddFee\\\":10,\\\"includeCount\\\":1,\\\"includeUnit\\\":\\\"块\\\",\\\"type\\\":1}]}}\");\n\n        OpenLogisticsExpressTemplateAddResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/logistics/express/template/add' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.express.template.add' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135235556' \\\n-d 'param=%7B%22name%22%3A%22%E6%B1%9F%E6%B5%99%E6%B2%AA%E5%8C%85%E9%82%AE%E8%BF%90%E8%B4%B9%E6%A8%A1%E6%9D%BF%22%2C%22calType%22%3A1%2C%22sendProvinceCode%22%3A31%2C%22sendProvinceName%22%3A%22%E6%B5%99%E6%B1%9F%E7%9C%81%22%2C%22sendCityCode%22%3A1100%2C%22sendCityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22sendDistrictCode%22%3A110001%2C%22sendDistrictName%22%3A%22%E8%A5%BF%E6%B9%96%E5%8C%BA%22%2C%22sendTime%22%3A0%2C%22sourceType%22%3A10%2C%22config%22%3A%22%7B%5C%22type%5C%22%3A1%2C%5C%22content%5C%22%3A%7B%5C%22includeProvinces%5C%22%3A%5B11%2C12%5D%2C%5C%22excludeProvinces%5C%22%3A%5B%7B%5C%22code%5C%22%3A62%2C%5C%22codeList%5C%22%3Anull%2C%5C%22reasonCode%5C%22%3A7%7D%5D%2C%5C%22provinceFees%5C%22%3A%5B%7B%5C%22code%5C%22%3A61%2C%5C%22codeList%5C%22%3A%5B31%5D%2C%5C%22baseCount%5C%22%3A1%2C%5C%22baseFee%5C%22%3A2%2C%5C%22perAddCount%5C%22%3A3%2C%5C%22perAddFee%5C%22%3A10%2C%5C%22includeCount%5C%22%3A1%2C%5C%22includeUnit%5C%22%3A%5C%22%E5%9D%97%5C%22%2C%5C%22type%5C%22%3A1%7D%5D%7D%7D%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"id\": 1170192\n  }\n}"}],"viewNum":324,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1720679384312}},{"action":"open.logistics.express.template.detail","title":"查询运费模板详情","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.express.template.detail&version=1","sha256":"e775eba65e5129d78b5856484aa6a3dbec32bdf4a611ba1f0dc4ccfe7019fee9","bytes":5805},"official":{"id":0,"name":"open.logistics.express.template.detail","cnName":"查询运费模板详情","method":1,"version":1,"description":"根据运费模板id查询运费模板,结合快手行政区划库接口open.address.district.list进行查询","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":5379368,"paramName":"id","paramType":"Long","structureId":0,"example":"1167592","required":true,"description":"运费模板id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":5379369,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":5379370,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":5379369,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":5379370,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"},{"id":5379371,"paramName":"data","paramType":"ExpressTemplateDetailVO","structureId":229,"example":"{}","required":false,"description":"返回数据"}],"errorCodes":[{"code":21,"type":"业务错误","description":"无权限","solution":"请联系相关工作人员获得相应权限"},{"code":3710,"type":"业务错误","description":"运费模板不存在","solution":"运费模板不存在"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsExpressTemplateDetailRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsExpressTemplateDetailResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsExpressTemplateDetailRequest request = new OpenLogisticsExpressTemplateDetailRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setId(1167592);\n\n        OpenLogisticsExpressTemplateDetailResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/logistics/express/template/detail' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.express.template.detail' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135235697' \\\n-d 'param=%7B%22id%22%3A1167592%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"success\",\"data\":{\"id\":1167592,\"name\":\"测试运费模板名\",\"sellerId\":1551969592,\"calType\":1,\"sendProvinceCode\":31,\"sendProvinceName\":\"浙江省\",\"sendCityCode\":1001,\"sendCityName\":\"杭州市\",\"sendDistrictCode\":310000,\"sendDistrictName\":\"西湖区\",\"sendTime\":0,\"used\":false,\"status\":1,\"sourceType\":10,\"deleteTime\":0,\"createTime\":1599550515644,\"updateTime\":1599550515644,\"config\":\"{\\\"type\\\":1,\\\"content\\\":{\\\"includeProvinces\\\":[11,12],\\\"excludeProvinces\\\":[{\\\"code\\\":62,\\\"codeList\\\":null,\\\"reasonCode\\\":7}],\\\"provinceFees\\\":[{\\\"type\\\":1,\\\"code\\\":61,\\\"codeList\\\":[31],\\\"baseCount\\\":1,\\\"baseFee\\\":2,\\\"perAddCount\\\":3,\\\"perAddFee\\\":10,\\\"includeCount\\\":1,\\\"includeUnit\\\":\\\"块\\\"}]}}\"}}"}],"viewNum":236,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1721101263378}},{"action":"open.logistics.express.template.list","title":"批量查询运费模板","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.express.template.list&version=1","sha256":"8527560a1ca22f9c026c8ba01d476239ef6847142cbf56264c21f2f6601dbed7","bytes":6214},"official":{"id":0,"name":"open.logistics.express.template.list","cnName":"批量查询运费模板","method":1,"version":1,"description":"根据偏移量、查询结果数、是否被使用 批量查询运费模板","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2373861,"paramName":"offset","paramType":"Long","structureId":0,"example":"1","required":true,"description":"偏移量。按照模板的创建时间倒序排列,最新创建的模板offset=0,次新的offset=1,以此类推"},{"id":2373862,"paramName":"limit","paramType":"Long","structureId":0,"example":"5","required":true,"description":"返回的结果中的运费模板的个数"},{"id":2373863,"paramName":"searchUsed","paramType":"Boolean","structureId":0,"example":"true","required":true,"description":"false表示不查询运费模板的是否使用状态。所以当该值为false时,接口返回结果中的所有模板的used字段恒定为false"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2373864,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2373865,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2373864,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":2373865,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"},{"id":2373866,"paramName":"data","paramType":"ExpressTemplateListVO","structureId":230,"example":"{}","required":false,"description":"返回数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsExpressTemplateListRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsExpressTemplateListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsExpressTemplateListRequest request = new OpenLogisticsExpressTemplateListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOffset(1);\n        request.setLimit(5);\n        request.setSearchUsed(true);\n\n        OpenLogisticsExpressTemplateListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/logistics/express/template/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.express.template.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135235529' \\\n-d 'param=%7B%22offset%22%3A1%2C%22limit%22%3A5%2C%22searchUsed%22%3Atrue%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"success\",\"data\":{\"expressTemplateDetailVOS\":[{\"id\":1167592,\"name\":\"测试运费模板名\",\"sellerId\":1551969592,\"calType\":1,\"sendProvinceCode\":31,\"sendProvinceName\":\"浙江省\",\"sendCityCode\":1001,\"sendCityName\":\"杭州市\",\"sendDistrictCode\":310000,\"sendDistrictName\":\"西湖区\",\"sendTime\":0,\"used\":false,\"status\":1,\"sourceType\":10,\"deleteTime\":0,\"createTime\":1599550515644,\"updateTime\":1599550515644,\"config\":\"{\\\"type\\\":1,\\\"content\\\":{\\\"includeProvinces\\\":[11,12],\\\"excludeProvinces\\\":[{\\\"code\\\":62,\\\"codeList\\\":null,\\\"reasonCode\\\":7}],\\\"provinceFees\\\":[{\\\"type\\\":1,\\\"code\\\":61,\\\"codeList\\\":[31],\\\"baseCount\\\":1,\\\"baseFee\\\":2,\\\"perAddCount\\\":3,\\\"perAddFee\\\":10,\\\"includeCount\\\":1,\\\"includeUnit\\\":\\\"块\\\"}]}}\"}],\"total\":7}}"}],"viewNum":195,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1729068692149}},{"action":"open.logistics.express.template.sale.limit","title":"查询商家所有运费模板限售信息","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.express.template.sale.limit&version=1","sha256":"e610d431e6e2af233c7438f67b1913e5339b8e62bf097c90011d01988973687d","bytes":5093},"official":{"id":0,"name":"open.logistics.express.template.sale.limit","cnName":"查询商家所有运费模板限售信息","method":1,"version":1,"description":"查询商家所有运费模板限售信息","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7107174,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7107175,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7107173,"paramName":"data","paramType":"TemplateSaleLimitInfo","structureId":544780,"example":"{}","required":false,"description":"响应数据"},{"id":7107174,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7107175,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7107176,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-3333","required":false,"description":"错误码"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsExpressTemplateSaleLimitRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsExpressTemplateSaleLimitResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsExpressTemplateSaleLimitRequest request = new OpenLogisticsExpressTemplateSaleLimitRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenLogisticsExpressTemplateSaleLimitResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/logistics/express/template/sale/limit' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.express.template.sale.limit' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1747831255280' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"data\": {\n    \"totalHoldTimes\": 10,\n    \"saleLimitArea\": {\n      \"normal\": [\n        {\n          \"code\": 11,\n          \"name\": \"北京市\"\n        }\n      ],\n      \"far\": [\n        {\n          \"code\": 11,\n          \"name\": \"北京市\"\n        }\n      ]\n    },\n    \"totalHoldLostAmount\": 100\n  },\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-3333\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1749109834573}},{"action":"open.logistics.express.template.sale.limit.remove","title":"一键解除全部模板限售","category":"物流API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.express.template.sale.limit.remove&version=1","sha256":"5990699d48447a5976bae3393f09fdc0f50c04401e34843dd1ec853029f9b344","bytes":5880},"official":{"id":0,"name":"open.logistics.express.template.sale.limit.remove","cnName":"一键解除全部模板限售","method":2,"version":1,"description":"一键解除全部模板限售","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7113202,"paramName":"feeShipConfig","paramType":"String","structureId":0,"example":"\n [ {\n    \"codeList\": [11],\n    \"baseCount\":3,\n    \"baseFee\":2,\n    \"perAddCount\":1,\n    \"perAddFee\":10,\n    \"includeCount\":1,\n    \"includeUnit\":\"count\", \n    \"type\":1,  \n     \"freeShipping\": 1\n   }]\n","required":true,"description":"   // ${baseCount}件内 ${baseFee} 元,每增加${perAddCount}件,加${perAddFee}元\n   // 指定条件包邮:满 ${includeCount}   ${includeUnit}  包邮"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7107264,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7107266,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7107264,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7107265,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7107266,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsExpressTemplateSaleLimitRemoveRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsExpressTemplateSaleLimitRemoveResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsExpressTemplateSaleLimitRemoveRequest request = new OpenLogisticsExpressTemplateSaleLimitRemoveRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setFeeShipConfig(\"\\n [ {\\n    \\\"codeList\\\": [11],\\n    \\\"baseCount\\\":3,\\n    \\\"baseFee\\\":2,\\n    \\\"perAddCount\\\":1,\\n    \\\"perAddFee\\\":10,\\n    \\\"includeCount\\\":1,\\n    \\\"includeUnit\\\":\\\"count\\\", \\n    \\\"type\\\":1,  \\n     \\\"freeShipping\\\": 1\\n   }]\\n\");\n\n        OpenLogisticsExpressTemplateSaleLimitRemoveResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/logistics/express/template/sale/limit/remove' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.express.template.sale.limit.remove' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1747921037800' \\\n-d 'param=%7B%22feeShipConfig%22%3A%22%5B+%7B%5Cn++++%5C%22codeList%5C%22%3A+%5B11%5D%2C%5Cn++++%5C%22baseCount%5C%22%3A3%2C%5Cn++++%5C%22baseFee%5C%22%3A2%2C%5Cn++++%5C%22perAddCount%5C%22%3A1%2C%5Cn++++%5C%22perAddFee%5C%22%3A10%2C%5Cn++++%5C%22includeCount%5C%22%3A1%2C%5Cn++++%5C%22includeUnit%5C%22%3A%5C%22count%5C%22%2C+%5Cn++++%5C%22type%5C%22%3A1%2C++%5Cn+++++%5C%22freeShipping%5C%22%3A+1%5Cn+++%7D%5D%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1749109796412}},{"action":"open.logistics.express.template.update","title":"更新运费模板","category":"物流API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.express.template.update&version=1","sha256":"d446c0daa6f307d59377e96d284b0ad255cdaf1a6e05e5df89b200440bb5d704","bytes":9446},"official":{"id":0,"name":"open.logistics.express.template.update","cnName":"更新运费模板","method":2,"version":1,"description":"更新运费模板,非偏远地区必须包邮,偏远地区建议包邮,使用详见《[【运费模板】使用教程@https://university.kwaixiaodian.com/kwaishop/newKnowledge/588820420804636766/581287827683016715]》","needPermission":true,"permissionScope":"merchant_logistics","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2272027,"paramName":"sendDistrictCode","paramType":"Long","structureId":0,"example":"110001","required":true,"description":"区域编码(6位)"},{"id":2272026,"paramName":"sendCityName","paramType":"String","structureId":0,"example":"杭州市","required":true,"description":"城市名称"},{"id":2272022,"paramName":"calType","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"计费类型:1-按件计费;2-按重量计费"},{"id":2272030,"paramName":"sourceType","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"传0即可;10-Android;  20-iOS;  30-PCWEB;  40-SYSTEM"},{"id":2272023,"paramName":"sendProvinceCode","paramType":"Long","structureId":0,"example":"31","required":true,"description":"省份编码(2位)"},{"id":2272025,"paramName":"sendCityCode","paramType":"Long","structureId":0,"example":"1100","required":true,"description":"城市编码(4位)"},{"id":2272028,"paramName":"sendDistrictName","paramType":"String","structureId":0,"example":"西湖区","required":true,"description":"区域名称"},{"id":2272024,"paramName":"sendProvinceName","paramType":"String","structureId":0,"example":"浙江省","required":true,"description":"省份名称"},{"id":2272029,"paramName":"sendTime","paramType":"Integer","structureId":0,"example":"0","required":true,"description":"【已废弃】承诺发货时间,传0即可"},{"id":2272021,"paramName":"name","paramType":"String","structureId":0,"example":"江浙沪包邮运费模板","required":true,"description":"运费模板名称"},{"id":2272020,"paramName":"id","paramType":"Long","structureId":0,"example":"12","required":true,"description":"运费模板id"},{"id":2272031,"paramName":"config","paramType":"String","structureId":0,"example":"{\"type\":1,\"content\":{\"includeProvinces\":[11,12],\"excludeProvinces\":[{\"code\":62,\"codeList\":null,\"reasonCode\":7}],\"provinceFees\":[{\"code\":61,\"codeList\":[31],\"baseCount\":1,\"baseFee\":2,\"perAddCount\":3,\"perAddFee\":10,\"includeCount\":1,\"includeUnit\":\"块\",\"type\":1}]}}","required":true,"description":"type:目前只有1一种;includeProvinces:包邮省(只能为省code);excludeProvinces:不配送地区,历史数据有code(只能为省code),已迁移到codeList(支持省市区多级code),若有codeList字段,将以codeList计算运费; reasonCode:不配送原因(1-台风,2-距离,3-重量,4-国家会议,5-合作快递不配送该区域,6-合作快递该区域服务差,7-其他); provinceFees:运费规则,历史数据有code(只能为省code),已迁移到codeList(支持省市区多级code),若有codeList字段,将以codeList计算运费; baseCount:起步件数; baseFee:起步运费(分) ;perAddCount:递增件数; perAddFee:递增运费金额(分); includeCount:满N件包邮 ;includeFee:满N包邮(分); includeUnit:count代表件,price代表钱"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2272032,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2272033,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2272032,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":2272033,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"返回码描述"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsExpressTemplateUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsExpressTemplateUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsExpressTemplateUpdateRequest request = new OpenLogisticsExpressTemplateUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setId(12);\n        request.setName(\"江浙沪包邮运费模板\");\n        request.setCalType(1);\n        request.setSendProvinceCode(31);\n        request.setSendProvinceName(\"浙江省\");\n        request.setSendCityCode(1100);\n        request.setSendCityName(\"杭州市\");\n        request.setSendDistrictCode(110001);\n        request.setSendDistrictName(\"西湖区\");\n        request.setSendTime(0);\n        request.setSourceType(10);\n        request.setConfig(\"{\\\"type\\\":1,\\\"content\\\":{\\\"includeProvinces\\\":[11,12],\\\"excludeProvinces\\\":[{\\\"code\\\":62,\\\"codeList\\\":null,\\\"reasonCode\\\":7}],\\\"provinceFees\\\":[{\\\"code\\\":61,\\\"codeList\\\":[31],\\\"baseCount\\\":1,\\\"baseFee\\\":2,\\\"perAddCount\\\":3,\\\"perAddFee\\\":10,\\\"includeCount\\\":1,\\\"includeUnit\\\":\\\"块\\\",\\\"type\\\":1}]}}\");\n\n        OpenLogisticsExpressTemplateUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/logistics/express/template/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.express.template.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135235574' \\\n-d 'param=%7B%22id%22%3A12%2C%22name%22%3A%22%E6%B1%9F%E6%B5%99%E6%B2%AA%E5%8C%85%E9%82%AE%E8%BF%90%E8%B4%B9%E6%A8%A1%E6%9D%BF%22%2C%22calType%22%3A1%2C%22sendProvinceCode%22%3A31%2C%22sendProvinceName%22%3A%22%E6%B5%99%E6%B1%9F%E7%9C%81%22%2C%22sendCityCode%22%3A1100%2C%22sendCityName%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22sendDistrictCode%22%3A110001%2C%22sendDistrictName%22%3A%22%E8%A5%BF%E6%B9%96%E5%8C%BA%22%2C%22sendTime%22%3A0%2C%22sourceType%22%3A10%2C%22config%22%3A%22%7B%5C%22type%5C%22%3A1%2C%5C%22content%5C%22%3A%7B%5C%22includeProvinces%5C%22%3A%5B11%2C12%5D%2C%5C%22excludeProvinces%5C%22%3A%5B%7B%5C%22code%5C%22%3A62%2C%5C%22codeList%5C%22%3Anull%2C%5C%22reasonCode%5C%22%3A7%7D%5D%2C%5C%22provinceFees%5C%22%3A%5B%7B%5C%22code%5C%22%3A61%2C%5C%22codeList%5C%22%3A%5B31%5D%2C%5C%22baseCount%5C%22%3A1%2C%5C%22baseFee%5C%22%3A2%2C%5C%22perAddCount%5C%22%3A3%2C%5C%22perAddFee%5C%22%3A10%2C%5C%22includeCount%5C%22%3A1%2C%5C%22includeUnit%5C%22%3A%5C%22%E5%9D%97%5C%22%2C%5C%22type%5C%22%3A1%7D%5D%7D%7D%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"success\"}"}],"viewNum":130,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1720679375983}},{"action":"open.logistics.recommend.express.query","title":"订单快递推荐","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.recommend.express.query&version=1","sha256":"917909cb3fb2fe557e08d4a43021b6cf858c3a48ddf43d8cda34a3e0e731cfff","bytes":8283},"official":{"id":0,"name":"open.logistics.recommend.express.query","cnName":"订单快递推荐","method":2,"version":1,"description":"用于打单发货场景的订单快递推荐查询","needPermission":false,"permissionScope":"merchant_logistics","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":8374682,"paramName":"sendAddress","paramType":"SendAddressDTO","structureId":601255,"example":"{}","required":false,"description":"地址信息"},{"id":8374683,"paramName":"companyKey","paramType":"List<Integer>","structureId":0,"example":"[]","required":false,"description":"可用快递范围(非必填,尽量不要填)"},{"id":8374684,"paramName":"orderId","paramType":"List<Long>","structureId":0,"example":"[]","required":true,"description":"订单id数组"},{"id":8374685,"paramName":"sellerId","paramType":"Long","structureId":0,"example":"12345","required":true,"description":"商家ID"},{"id":8374686,"paramName":"includeNotSubscribeCompany","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否需要推荐电子面单未合作快递"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8374687,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8374688,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8374687,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":8374688,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8374689,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":8374690,"paramName":"data","paramType":"List<OrderRecommendResult>","structureId":618473,"example":"[]","required":false,"description":"数据体"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsRecommendExpressQueryRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsRecommendExpressQueryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsRecommendExpressQueryRequest request = new OpenLogisticsRecommendExpressQueryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        SendAddressDTO obj1 = new SendAddressDTO();\n        obj1.setSendDistrict(\"余杭区\");\n        obj1.setDetailAddress(\"欧美金融城T6\");\n        obj1.setSendProvince(\"浙江省\");\n        obj1.setSendCity(\"杭州市\");\n        obj1.setSendTown(\"仓前街道\");\n        request.setSendAddress(obj1);\n        List<Integer> list1 = new ArrayList<>();\n        request.setCompanyKey(list1);\n        List<Long> list2 = new ArrayList<>();\n        request.setOrderId(list2);\n        request.setSellerId(12345);\n        request.setIncludeNotSubscribeCompany(false);\n\n        OpenLogisticsRecommendExpressQueryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/logistics/recommend/express/query' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.recommend.express.query' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1767065738106' \\\n-d 'param=%7B%22sendAddress%22%3A%7B%22sendDistrict%22%3A%22%E4%BD%99%E6%9D%AD%E5%8C%BA%22%2C%22detailAddress%22%3A%22%E6%AC%A7%E7%BE%8E%E9%87%91%E8%9E%8D%E5%9F%8ET6%22%2C%22sendProvince%22%3A%22%E6%B5%99%E6%B1%9F%E7%9C%81%22%2C%22sendCity%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22sendTown%22%3A%22%E4%BB%93%E5%89%8D%E8%A1%97%E9%81%93%22%7D%2C%22companyKey%22%3A%5B%5D%2C%22orderId%22%3A%5B%5D%2C%22sellerId%22%3A12345%2C%22includeNotSubscribeCompany%22%3Afalse%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": [\n    {\n      \"banExpress\": {\n        \"platformForce\": false,\n        \"expressInfo\": [\n          {\n            \"subscribeEBill\": true,\n            \"companyName\": \"中通快递\",\n            \"companyKey\": 9,\n            \"companyCode\": \"ZTO\",\n            \"recommendSceneCode\": 10,\n            \"recommendRank\": 1,\n            \"recommendReason\": \"用户时效敏感,该快递综合时效最优\",\n            \"reachable\": true,\n            \"logisticsIndicator\": [\n              {\n                \"indicatorCode\": \"clt_sign_dur\",\n                \"indicatorName\": \"揽签时长\",\n                \"indicatorValue\": 50\n              }\n            ]\n          }\n        ]\n      },\n      \"privilegeInfo\": [\n        {\n          \"reason\": \"用户对发货时效敏感\",\n          \"code\": \"priority_delivery\",\n          \"label\": \"优先发货\"\n        }\n      ],\n      \"recommendExpress\": {\n        \"platformForce\": false,\n        \"expressInfo\": [\n          {\n            \"subscribeEBill\": true,\n            \"companyName\": \"中通快递\",\n            \"companyKey\": 9,\n            \"companyCode\": \"ZTO\",\n            \"recommendSceneCode\": 10,\n            \"recommendRank\": 1,\n            \"recommendReason\": \"用户时效敏感,该快递综合时效最优\",\n            \"reachable\": true,\n            \"logisticsIndicator\": [\n              {\n                \"indicatorCode\": \"clt_sign_dur\",\n                \"indicatorName\": \"揽签时长\",\n                \"indicatorValue\": 50\n              }\n            ]\n          }\n        ]\n      },\n      \"orderId\": 12341234\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1767075859994}},{"action":"open.logistics.trouble.net.site.page.query","title":"差网点分页查询","category":"物流API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.logistics.trouble.net.site.page.query&version=1","sha256":"faeaffe1d572a0a65df0a984b0f68309da376ff6259143ec1e67215152d95bd4","bytes":6616},"official":{"id":0,"name":"open.logistics.trouble.net.site.page.query","cnName":"差网点分页查询","method":1,"version":1,"description":"分页查询差网点管控信息","needPermission":false,"permissionScope":"merchant_logistics","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":6116306,"paramName":"cityCode","paramType":"List<Long>","structureId":0,"example":"[3301]","required":false,"description":"城市code"},{"id":6116307,"paramName":"expressCompanyCode","paramType":"String","structureId":0,"example":"YTO","required":true,"description":"物流商编码"},{"id":6116308,"paramName":"provinceCode","paramType":"List<Long>","structureId":0,"example":"[33]","required":false,"description":"省code"},{"id":6116309,"paramName":"controlStatus","paramType":"Integer","structureId":0,"example":"4","required":true,"description":"管控状态,1:不管控,2:预警中,3:暂停签约,4:冻结中"},{"id":6116310,"paramName":"pageNo","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"页码"},{"id":6116311,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"分页大小"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":6116312,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":6116313,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":6116312,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":6116313,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":6116314,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":6116315,"paramName":"data","paramType":"TroubleNetSitePageResult","structureId":455744,"example":"{}","required":false,"description":"差网点分页结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.logistics.OpenLogisticsTroubleNetSitePageQueryRequest;\nimport com.kuaishou.merchant.open.api.response.logistics.OpenLogisticsTroubleNetSitePageQueryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenLogisticsTroubleNetSitePageQueryRequest request = new OpenLogisticsTroubleNetSitePageQueryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<Long> list1 = new ArrayList<>();\n        list1.add(3301);\n        request.setCityCode(list1);\n        request.setExpressCompanyCode(\"YTO\");\n        List<Long> list2 = new ArrayList<>();\n        list2.add(33);\n        request.setProvinceCode(list2);\n        request.setControlStatus(4);\n        request.setPageNo(1);\n        request.setPageSize(10);\n\n        OpenLogisticsTroubleNetSitePageQueryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/logistics/trouble/net/site/page/query' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.logistics.trouble.net.site.page.query' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1731309667207' \\\n-d 'param=%7B%22cityCode%22%3A%5B3301%5D%2C%22expressCompanyCode%22%3A%22YTO%22%2C%22provinceCode%22%3A%5B33%5D%2C%22controlStatus%22%3A4%2C%22pageNo%22%3A1%2C%22pageSize%22%3A10%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": {\n    \"troubleNetSiteList\": [\n      {\n        \"netSiteCode\": \"1234\",\n        \"netSiteArea\": \"北京市/北京市/东城区\",\n        \"netSiteName\": \"xx网点\",\n        \"id\": 10001,\n        \"controlStatus\": {\n          \"text\": \"冻结中\",\n          \"value\": 4\n        },\n        \"effectStartTime\": 1730304000000,\n        \"effectEndTime\": 1730476799999\n      }\n    ],\n    \"total\": 10\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_logistics","desc":"电商物流信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","营销管理-主图水印","营销管理-分销管理","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1731314212518}},{"action":"open.member.batch.update.basic","title":"【会员通商家】批量更新会员基础信息","category":"电商商家运营赋能-商家服务API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.member.batch.update.basic&version=1","sha256":"9e8c45b2e2a5a09cbe8c9f127bef5eb9b3b0ca90c6221e4be2af426a6594e9d2","bytes":5785},"official":{"id":0,"name":"open.member.batch.update.basic","cnName":"【会员通商家】批量更新会员基础信息","method":2,"version":1,"description":"【会员通商家】批量更新会员基础信息","needPermission":true,"permissionScope":"merchant_shop,user_info,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":8146263,"paramName":"basicChangeInfo","paramType":"List<UpdateBasicChange>","structureId":637706,"example":"[]","required":true,"description":"会员基础信息变更请求对象"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":8146264,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":8146266,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":8146264,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":8146265,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":8146266,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":8146267,"paramName":"data","paramType":"List<UpdateResult>","structureId":637674,"example":"[]","required":false,"description":"会员基础信息更新结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.kwaishop_merchant_platfrom.OpenMemberBatchUpdateBasicRequest;\nimport com.kuaishou.merchant.open.api.response.kwaishop_merchant_platfrom.OpenMemberBatchUpdateBasicResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenMemberBatchUpdateBasicRequest request = new OpenMemberBatchUpdateBasicRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<UpdateBasicChange> list1 = new ArrayList<>();\n        UpdateBasicChange obj1 = new UpdateBasicChange();\n        obj1.setOpenId(\"f1787938274893gfuyiiwrtfghghj\\t\");\n        obj1.setBindStatus(1);\n        list1.add(obj1);\n        request.setBasicChangeInfo(list1);\n\n        OpenMemberBatchUpdateBasicResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/member/batch/update/basic' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.member.batch.update.basic' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1763367915056' \\\n-d 'param=%7B%22basicChangeInfo%22%3A%5B%7B%22openId%22%3A%22f1787938274893gfuyiiwrtfghghj%22%2C%22bindStatus%22%3A1%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"openId\": \"f1787938274893gfuyiiwrtfghghj\",\n      \"result\": true\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1785413411711}},{"action":"open.member.batch.update.level","title":"【会员通商家】批量更新会员等级","category":"电商商家运营赋能-商家服务API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.member.batch.update.level&version=1","sha256":"970c34c6ab6bd12849f26a020e3ddb83cc0a8d59768f3beed6b722a112e07d45","bytes":5831},"official":{"id":0,"name":"open.member.batch.update.level","cnName":"【会员通商家】批量更新会员等级","method":2,"version":1,"description":"【会员通商家】批量更新会员等级","needPermission":true,"permissionScope":"merchant_shop,user_info,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9520552,"paramName":"levelChangeInfo","paramType":"List<MemberLevelChange>","structureId":637697,"example":"[]","required":true,"description":"会员等级变更请求对象"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9520553,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9520555,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9520553,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9520554,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":9520555,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9520556,"paramName":"updateResultList","paramType":"List<UpdateResult>","structureId":637674,"example":"[]","required":false,"description":"会员等级更新结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.kwaishop_merchant_platfrom.OpenMemberBatchUpdateLevelRequest;\nimport com.kuaishou.merchant.open.api.response.kwaishop_merchant_platfrom.OpenMemberBatchUpdateLevelResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenMemberBatchUpdateLevelRequest request = new OpenMemberBatchUpdateLevelRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<MemberLevelChange> list1 = new ArrayList<>();\n        MemberLevelChange obj1 = new MemberLevelChange();\n        obj1.setOpenId(\"f1787938274893gfuyiiwrtfghghj\");\n        obj1.setLevel(1);\n        obj1.setVersion(103282);\n        list1.add(obj1);\n        request.setLevelChangeInfo(list1);\n\n        OpenMemberBatchUpdateLevelResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/member/batch/update/level' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.member.batch.update.level' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1763367042720' \\\n-d 'param=%7B%22levelChangeInfo%22%3A%5B%7B%22openId%22%3A%22f1787938274893gfuyiiwrtfghghj%22%2C%22level%22%3A1%2C%22version%22%3A103282%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"updateResultList\": [\n    {\n      \"openId\": \"f1787938274893gfuyiiwrtfghghj\",\n      \"result\": true\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1785305393150}},{"action":"open.member.batch.update.point","title":"【会员通商家】批量更新会员积分","category":"电商商家运营赋能-商家服务API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.member.batch.update.point&version=1","sha256":"1e9486813b99c8c1d274f98ec13681081dcb5ea60b2d607bafdd410d4c8987cf","bytes":5997},"official":{"id":0,"name":"open.member.batch.update.point","cnName":"【会员通商家】批量更新会员积分","method":2,"version":1,"description":"【会员通商家】批量更新快手会员总积分","needPermission":true,"permissionScope":"merchant_shop,merchant_user,user_info","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9534907,"paramName":"pointChangeInfo","paramType":"List<MemberPointChange>","structureId":637678,"example":"[]","required":false,"description":"会员积分变更请求对象"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9534908,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9534910,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9534908,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9534909,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":9534910,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9534911,"paramName":"data","paramType":"List<UpdateResult>","structureId":637674,"example":"[]","required":false,"description":"会员积分更新结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.kwaishop_merchant_platfrom.OpenMemberBatchUpdatePointRequest;\nimport com.kuaishou.merchant.open.api.response.kwaishop_merchant_platfrom.OpenMemberBatchUpdatePointResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenMemberBatchUpdatePointRequest request = new OpenMemberBatchUpdatePointRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<MemberPointChange> list1 = new ArrayList<>();\n        MemberPointChange obj1 = new MemberPointChange();\n        obj1.setOpenId(\"f1787938274893gfuyiiwrtfghghj\");\n        obj1.setAmount(100);\n        obj1.setPointCent(10000);\n        obj1.setPointChangeLog(\"做xxx任务\");\n        obj1.setVersion(103892);\n        list1.add(obj1);\n        request.setPointChangeInfo(list1);\n\n        OpenMemberBatchUpdatePointResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/member/batch/update/point' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.member.batch.update.point' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1763366376171' \\\n-d 'param=%7B%22pointChangeInfo%22%3A%5B%7B%22openId%22%3A%22f1787938274893gfuyiiwrtfghghj%22%2C%22amount%22%3A100%2C%22pointCent%22%3A10000%2C%22pointChangeLog%22%3A%22%E5%81%9Axxx%E4%BB%BB%E5%8A%A1%22%2C%22version%22%3A103892%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"openId\": \"f1787938274893gfuyiiwrtfghghj\",\n      \"result\": true\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1790156958015}},{"action":"open.merchant.member.batch.update.basic","title":"更新会员基础信息","category":"商家会员API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.merchant.member.batch.update.basic&version=1","sha256":"558a60724fa4e31bd56e68dbddb2cfce970f7f58da6e08e394c834ea9e9921dc","bytes":6187},"official":{"id":0,"name":"open.merchant.member.batch.update.basic","cnName":"更新会员基础信息","method":2,"version":1,"description":"更新会员基础信息","needPermission":true,"permissionScope":"merchant_shop,user_info,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9534606,"paramName":"memberChangeInfo","paramType":"List<MerchantMemberInfo>","structureId":648269,"example":"[]","required":false,"description":"更新会员信息入参"},{"id":9534607,"paramName":"sellerId","paramType":"Long","structureId":0,"example":"23834923834","required":false,"description":"商家id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9534608,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9534609,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9534608,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9534609,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9534610,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":9534611,"paramName":"data","paramType":"List<UpdateResultInfo>","structureId":648277,"example":"[]","required":false,"description":"更新结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.merchant_member.OpenMerchantMemberBatchUpdateBasicRequest;\nimport com.kuaishou.merchant.open.api.response.merchant_member.OpenMerchantMemberBatchUpdateBasicResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenMerchantMemberBatchUpdateBasicRequest request = new OpenMerchantMemberBatchUpdateBasicRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<MerchantMemberInfo> list1 = new ArrayList<>();\n        MerchantMemberInfo obj1 = new MerchantMemberInfo();\n        obj1.setBindStatus(1);\n        obj1.setOpenId(\"171045765\");\n        obj1.setLevel(1);\n        obj1.setPointCent(100);\n        obj1.setCurrentVersion(1);\n        obj1.setPhoneNum(\"18776754432\");\n        list1.add(obj1);\n        request.setMemberChangeInfo(list1);\n        request.setSellerId(23834923834);\n\n        OpenMerchantMemberBatchUpdateBasicResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/merchant/member/batch/update/basic' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.merchant.member.batch.update.basic' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1765247557205' \\\n-d 'param=%7B%22memberChangeInfo%22%3A%5B%7B%22bindStatus%22%3A1%2C%22openId%22%3A%22171045765%22%2C%22level%22%3A1%2C%22pointCent%22%3A100%2C%22currentVersion%22%3A1%2C%22phoneNum%22%3A%2218776754432%22%7D%5D%2C%22sellerId%22%3A23834923834%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": [\n    {\n      \"result\": true,\n      \"openId\": \"1902493\",\n      \"failReason\": \"失败\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1785413382310}},{"action":"open.merchant.member.batch.update.level","title":"更新会员等级","category":"商家会员API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.merchant.member.batch.update.level&version=1","sha256":"594cd26ef7554f302501948a358feb81691eab2f3eeac5c69616f4291e701c18","bytes":5971},"official":{"id":0,"name":"open.merchant.member.batch.update.level","cnName":"更新会员等级","method":2,"version":1,"description":"更新会员等级","needPermission":true,"permissionScope":"merchant_shop,user_info,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9534626,"paramName":"levelChangeInfo","paramType":"List<MemberLevelChangeInfo>","structureId":648322,"example":"[]","required":false,"description":"更新等级请求入参"},{"id":9534627,"paramName":"sellerId","paramType":"Long","structureId":0,"example":"39390378489","required":false,"description":"商家id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9534628,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9534629,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9534628,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9534629,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9534630,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":9534631,"paramName":"data","paramType":"List<UpdateResultInfo>","structureId":648277,"example":"[]","required":false,"description":"更新结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.merchant_member.OpenMerchantMemberBatchUpdateLevelRequest;\nimport com.kuaishou.merchant.open.api.response.merchant_member.OpenMerchantMemberBatchUpdateLevelResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenMerchantMemberBatchUpdateLevelRequest request = new OpenMerchantMemberBatchUpdateLevelRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<MemberLevelChangeInfo> list1 = new ArrayList<>();\n        MemberLevelChangeInfo obj1 = new MemberLevelChangeInfo();\n        obj1.setUserId(39237329);\n        obj1.setLevel(2);\n        obj1.setVersion(1000);\n        list1.add(obj1);\n        request.setLevelChangeInfo(list1);\n        request.setSellerId(39390378489);\n\n        OpenMerchantMemberBatchUpdateLevelResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/merchant/member/batch/update/level' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.merchant.member.batch.update.level' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1765247907157' \\\n-d 'param=%7B%22levelChangeInfo%22%3A%5B%7B%22userId%22%3A39237329%2C%22level%22%3A2%2C%22version%22%3A1000%7D%5D%2C%22sellerId%22%3A39390378489%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": [\n    {\n      \"result\": true,\n      \"openId\": \"1902493\",\n      \"failReason\": \"失败\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1785413572769}},{"action":"open.merchant.member.batch.update.point","title":"更新会员积分","category":"商家会员API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.merchant.member.batch.update.point&version=1","sha256":"a5ddd8e29a4e0e87f437828ae91adffd6012bd0248136393f0b0c2ff1b7ca2c3","bytes":6090},"official":{"id":0,"name":"open.merchant.member.batch.update.point","cnName":"更新会员积分","method":2,"version":1,"description":"更新会员积分","needPermission":true,"permissionScope":"merchant_shop,user_info,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9534885,"paramName":"pointChangeInfo","paramType":"List<MemberPointChangeInfo>","structureId":648278,"example":"[]","required":false,"description":"积分更新入参"},{"id":9534886,"paramName":"sellerId","paramType":"Long","structureId":0,"example":"93829354","required":false,"description":"商家id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9534887,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9534888,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9534887,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9534888,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9534889,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":9534890,"paramName":"data","paramType":"List<UpdateResultInfo>","structureId":648277,"example":"[]","required":false,"description":"更新结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.merchant_member.OpenMerchantMemberBatchUpdatePointRequest;\nimport com.kuaishou.merchant.open.api.response.merchant_member.OpenMerchantMemberBatchUpdatePointResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenMerchantMemberBatchUpdatePointRequest request = new OpenMerchantMemberBatchUpdatePointRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<MemberPointChangeInfo> list1 = new ArrayList<>();\n        MemberPointChangeInfo obj1 = new MemberPointChangeInfo();\n        obj1.setAmount(10);\n        obj1.setPointChangeType(1);\n        obj1.setOpenId(\"2920390\");\n        obj1.setPointCent(100);\n        obj1.setVersion(1000);\n        list1.add(obj1);\n        request.setPointChangeInfo(list1);\n        request.setSellerId(93829354);\n\n        OpenMerchantMemberBatchUpdatePointResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/merchant/member/batch/update/point' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.merchant.member.batch.update.point' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1765203339897' \\\n-d 'param=%7B%22pointChangeInfo%22%3A%5B%7B%22amount%22%3A10%2C%22pointChangeType%22%3A1%2C%22openId%22%3A%222920390%22%2C%22pointCent%22%3A100%2C%22version%22%3A1000%7D%5D%2C%22sellerId%22%3A93829354%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": [\n    {\n      \"result\": true,\n      \"openId\": \"1902493\",\n      \"failReason\": \"失败\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1785413598627}},{"action":"open.merchant.member.get.member.info","title":"获取会员信息","category":"商家会员API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.merchant.member.get.member.info&version=1","sha256":"1f917d403819ee379f86cded18f13997e0ae77acb519ca990749775a3962c4b5","bytes":5999},"official":{"id":0,"name":"open.merchant.member.get.member.info","cnName":"获取会员信息","method":1,"version":1,"description":"获取会员信息","needPermission":true,"permissionScope":"user_info,merchant_user,merchant_shop","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9010208,"paramName":"sellerId","paramType":"Long","structureId":0,"example":"23394030","required":false,"description":"商家id"},{"id":9010209,"paramName":"getMemberConnectionInfo","paramType":"List<GetMerchantMemberConnectionInfo>","structureId":648270,"example":"[]","required":false,"description":"获取的会员入参列表"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9010210,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9010212,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9010210,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9010211,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":9010212,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9010213,"paramName":"data","paramType":"List<MerchantMemberInfo>","structureId":648269,"example":"[]","required":false,"description":"会员信息列表"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.merchant_member.OpenMerchantMemberGetMemberInfoRequest;\nimport com.kuaishou.merchant.open.api.response.merchant_member.OpenMerchantMemberGetMemberInfoResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenMerchantMemberGetMemberInfoRequest request = new OpenMerchantMemberGetMemberInfoRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<GetMemberConnectionInfo> list1 = new ArrayList<>();\n        GetMemberConnectionInfo obj1 = new GetMemberConnectionInfo();\n        obj1.setOpenId(\"skdls-sdnsdl\");\n        list1.add(obj1);\n        request.setGetMemberConnectionInfo(list1);\n        request.setSellerId(23394030);\n\n        OpenMerchantMemberGetMemberInfoResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/merchant/member/get/member/info' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.merchant.member.get.member.info' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1765202676762' \\\n-d 'param=%7B%22getMemberConnectionInfo%22%3A%5B%7B%22openId%22%3A%22skdls%2Dsdnsdl%22%7D%5D%2C%22sellerId%22%3A23394030%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"code\": \"S-2197110-1234\",\n  \"data\": [\n    {\n      \"bindStatus\": 1,\n      \"openId\": \"skdskdll-dskdn\",\n      \"level\": 1,\n      \"pointCent\": 100,\n      \"currentVersion\": 1000,\n      \"phoneNum\": \"182*****09\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1778224649284}},{"action":"open.order.address.audit.approve","title":"商家同意买家修改地址申请","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.address.audit.approve&version=1","sha256":"ccc327c0dc196fd67046ce2415f9159078d50fb27cffb6d1c8106c9787ad12e0","bytes":5529},"official":{"id":0,"name":"open.order.address.audit.approve","cnName":"商家同意买家修改地址申请","method":1,"version":1,"description":"1.订单已支付后&发货前买家可申请修改收货地址,买家6小时内申请由平台自动审核,买家6小时后申请由商家审核。不支持定金预售订单\n2.操作此API前,需要先从订单详情API中获取地址审核状态,[已审核的订单请勿重复操作@red]\n3.仅允许[主品订单id@red]操作\n4.订单收货地址变更场景见[《订单解决方案》@https://open.kwaixiaodian.com/solution/detail?pageSign=be565dfc5ca82ebb4683bc208f7929051642600363280#section-10]","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1978102,"paramName":"oid","paramType":"Long","structureId":0,"example":"202110987654321","required":true,"description":"订单id,仅允许主品订单id,即orderBaseInfo.oid字段"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1978103,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1978104,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1978103,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1978104,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":2001,"type":"业务错误","description":"买家修改地址申请已经完成审核,不需要重复审核","solution":"调用此API前先通过订单详情API获取addressAfterUpdate.auditStatus审批状态。若状态为审批中,再进行审核,[已审核的情况下请勿重复操作@red]"},{"code":5001,"type":"系统错误","description":"抱歉,系统异常,请稍后重试","solution":"系统异常,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderAddressAuditApproveRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderAddressAuditApproveResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderAddressAuditApproveRequest request = new OpenOrderAddressAuditApproveRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOid(202110987654321);\n\n        OpenOrderAddressAuditApproveResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/order/address/audit/approve' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.address.audit.approve' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1666701235764' \\\n-d 'param=%7B%22oid%22%3A202110987654321%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1710320641649}},{"action":"open.order.address.audit.reject","title":"商家拒绝买家修改地址申请","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.address.audit.reject&version=1","sha256":"f60b8b774bf8bcfba8b3db14eabdad3251efb73f27e703e29948b648a8007663","bytes":5291},"official":{"id":0,"name":"open.order.address.audit.reject","cnName":"商家拒绝买家修改地址申请","method":1,"version":1,"description":"1.订单已支付后&发货前买家可申请修改收货地址,买家6小时内申请由平台自动审核,买家6小时后申请由商家审核。不支持定金预售订单\n2.操作此API前,需要先从订单详情API中获取地址审核状态,[已审核的订单请勿重复操作@red]\n3.订单收货地址变更场景见[《订单解决方案》@https://open.kwaixiaodian.com/solution/detail?pageSign=be565dfc5ca82ebb4683bc208f7929051642600363280#section-10]","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1978106,"paramName":"oid","paramType":"Long","structureId":0,"example":"202110987654321","required":true,"description":"订单id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1978107,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1978108,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1978107,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1978108,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":2001,"type":"业务错误","description":"买家修改地址申请已经完成审核,不需要重复审核","solution":"调用此API前先通过订单详情API获取addressAfterUpdate.auditStatus审批状态。若状态为审批中,再进行审核,[已审核的情况下请勿重复操作@red]"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderAddressAuditRejectRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderAddressAuditRejectResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderAddressAuditRejectRequest request = new OpenOrderAddressAuditRejectRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOid(202110987654321);\n\n        OpenOrderAddressAuditRejectResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/order/address/audit/reject' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.address.audit.reject' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1666700479094' \\\n-d 'param=%7B%22oid%22%3A202110987654321%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698823164391}},{"action":"open.order.address.update","title":"商家更改订单收货地址","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.address.update&version=1","sha256":"cfb7859c48ba234a6b1cac657d14a82958cb9efac717de86c2b608a5ad210236","bytes":9297},"official":{"id":0,"name":"open.order.address.update","cnName":"商家更改订单收货地址","method":2,"version":1,"description":"1.支持商家修改待发货状态的订单收货地址,支持增量更新和全量更新;不支持其他状态的订单以及定金预售订单修改地址;\n2.全量更新时所有字段都必传,增量更新时可以只传有更新的字段;\n3.收货地址为级联关系,因此若收货地址的任何一级有更新,收货地址的省市区和详细地址字段都必传\n4.若商家变更了收货地址,必须通过此API回传新地址给平台,否则将被发货拦截,订单收货地址变更场景见[《订单解决方案》@https://open.kwaixiaodian.com/solution/detail?pageSign=be565dfc5ca82ebb4683bc208f7929051642600363280#section-10]","needPermission":true,"permissionScope":"merchant_order","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":4461192,"paramName":"consignee","paramType":"String","structureId":0,"example":"张三","required":false,"description":"收货人名称,全量更新必传,增量更新时若不更改收货人人姓名可不传"},{"id":4461193,"paramName":"mobile","paramType":"String","structureId":0,"example":"13333333333","required":false,"description":"收货人手机号,全量更新必传,增量更新时若不更改收货人手机号可不传"},{"id":4461194,"paramName":"provinceCode","paramType":"Long","structureId":0,"example":"11","required":false,"description":"省份code,增量更新时若地址有更新必传,查询[快手行政区划库API@https://open.kwaixiaodian.com/docs/api?apiName=open.address.district.list&version=1]获取code"},{"id":4461195,"paramName":"province","paramType":"String","structureId":0,"example":"浙江省","required":false,"description":"收货省份,增量更新时若地址有更新必传"},{"id":4461196,"paramName":"cityCode","paramType":"Long","structureId":0,"example":"1101","required":false,"description":"收货城市code,增量更新时若地址有更新必传,查询[快手行政区划库API@https://open.kwaixiaodian.com/docs/api?apiName=open.address.district.list&version=1]获取code"},{"id":4461197,"paramName":"city","paramType":"String","structureId":0,"example":"杭州市","required":false,"description":"收货城市,增量更新时若地址有更新必传"},{"id":4461198,"paramName":"districtCode","paramType":"Long","structureId":0,"example":"110101","required":false,"description":"收货区code,增量更新时若地址有更新必传,查询[快手行政区划库API@https://open.kwaixiaodian.com/docs/api?apiName=open.address.district.list&version=1]获取code"},{"id":4461199,"paramName":"district","paramType":"String","structureId":0,"example":"西湖区","required":false,"description":"收货区,增量更新时若地址有更新必传"},{"id":4461200,"paramName":"address","paramType":"String","structureId":0,"example":"法云弄888号","required":false,"description":"收货详细地址,增量更新时若地址有更新必传,若收货地址任何一级有更新,则省市区和详细地址字段都必传"},{"id":4461201,"paramName":"orderId","paramType":"Long","structureId":0,"example":"2202100000002001","required":true,"description":"订单id"},{"id":4461202,"paramName":"isPartialUpdate","paramType":"Boolean","structureId":0,"example":"false","required":false,"description":"是否部分更新,false-全量更新,true-增量更新"},{"id":4461205,"paramName":"town","paramType":"String","structureId":0,"example":"某个街道","required":false,"description":"收货街道,增量更新时若地址有更新必传"},{"id":4461206,"paramName":"townCode","paramType":"Long","structureId":0,"example":"11010101","required":false,"description":"收货街道code,增量更新时若地址有更新必传,查询[快手行政区划库API@https://open.kwaixiaodian.com/docs/api?apiName=open.address.district.list&version=1]获取code"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4461203,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4461204,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":4461203,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":4461204,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":2,"type":"业务错误","description":"修改订单地址失败","solution":"id无权限或者订单不支持修改"},{"code":2001,"type":"业务错误","description":"手机号填写错误","solution":"请输入正确的手机号"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderAddressUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderAddressUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderAddressUpdateRequest request = new OpenOrderAddressUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setConsignee(\"张三\");\n        request.setMobile(\"13333333333\");\n        request.setProvinceCode(11);\n        request.setProvince(\"浙江省\");\n        request.setCityCode(1101);\n        request.setCity(\"杭州市\");\n        request.setDistrictCode(110101);\n        request.setDistrict(\"西湖区\");\n        request.setAddress(\"法云弄888号\");\n        request.setOrderId(2202100000002001);\n        request.setIsPartialUpdate(false);\n        request.setTown(\"某个街道\");\n        request.setTownCode(11010101);\n\n        OpenOrderAddressUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/order/address/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.address.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1702615732701' \\\n-d 'param=%7B%22consignee%22%3A%22%E5%BC%A0%E4%B8%89%22%2C%22mobile%22%3A%2213333333333%22%2C%22provinceCode%22%3A11%2C%22province%22%3A%22%E6%B5%99%E6%B1%9F%E7%9C%81%22%2C%22cityCode%22%3A1101%2C%22city%22%3A%22%E6%9D%AD%E5%B7%9E%E5%B8%82%22%2C%22districtCode%22%3A110101%2C%22district%22%3A%22%E8%A5%BF%E6%B9%96%E5%8C%BA%22%2C%22address%22%3A%22%E6%B3%95%E4%BA%91%E5%BC%84888%E5%8F%B7%22%2C%22orderId%22%3A2202100000002001%2C%22isPartialUpdate%22%3Afalse%2C%22town%22%3A%22%E6%9F%90%E4%B8%AA%E8%A1%97%E9%81%93%22%2C%22townCode%22%3A11010101%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1704786986878}},{"action":"open.order.buyer.order.list","title":"筛选买家在店铺的订单列表","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.buyer.order.list&version=1","sha256":"ff143aa980e0b21f9a618bc60e106fc48c196df8062d2a6e4b33874f0de5eccb","bytes":7310},"official":{"id":0,"name":"open.order.buyer.order.list","cnName":"筛选买家在店铺的订单列表","method":1,"version":1,"description":"通过买家openId获取其在当前店铺的所有订单信息","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1202674,"paramName":"buyerOpenId","paramType":"String","structureId":0,"example":"5b748d88e7d24413c0656638e87d8322","required":true,"description":"加密后的买家id"},{"id":1202675,"paramName":"cursor","paramType":"String","structureId":0,"example":"\"0\"","required":true,"description":"游标"},{"id":1202676,"paramName":"limit","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"请求条数"},{"id":1202677,"paramName":"orderStatus","paramType":"List<Integer>","structureId":0,"example":"[0,10,30,40,50,70,80]","required":false,"description":"订单状态,不填代表全部"},{"id":1202678,"paramName":"orderSourceType","paramType":"List<Integer>","structureId":0,"example":"[98,99,101]","required":false,"description":"订单来源,自建订单包括(98,99,101),不传代表查询全部"},{"id":1202679,"paramName":"startTime","paramType":"Long","structureId":0,"example":"1654655723292","required":false,"description":"订单创建的开始时间"},{"id":1202680,"paramName":"endTime","paramType":"Long","structureId":0,"example":"1654655723292","required":false,"description":"订单创建的结束时间"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1202681,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1202682,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1202681,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1202682,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":1202683,"paramName":"data","paramType":"BuyerOrderListData","structureId":88910,"example":"{}","required":false,"description":"订单列表"}],"errorCodes":[{"code":2001,"type":"参数非法","description":"入参非法,参数不合法","solution":"查看文档,输入正确的参数、范围"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderBuyerOrderListRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderBuyerOrderListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderBuyerOrderListRequest request = new OpenOrderBuyerOrderListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setBuyerOpenId(\"5b748d88e7d24413c0656638e87d8322\");\n        request.setCursor(\"\\\"0\\\"\");\n        request.setLimit(10);\n        List<Integer> list1 = new ArrayList<>();\n        list1.add(0);\n        request.setOrderStatus(list1);\n        List<Integer> list2 = new ArrayList<>();\n        list2.add(98);\n        request.setOrderSourceType(list2);\n        request.setStartTime(1654655723292);\n        request.setEndTime(1654655723292);\n\n        OpenOrderBuyerOrderListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/order/buyer/order/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.buyer.order.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1654741000048' \\\n-d 'param=%7B%22buyerOpenId%22%3A%225b748d88e7d24413c0656638e87d8322%22%2C%22cursor%22%3A%22%5C%220%5C%22%22%2C%22limit%22%3A10%2C%22orderStatus%22%3A%5B0%2C10%2C30%2C40%2C50%2C70%2C80%5D%2C%22orderSourceType%22%3A%5B98%2C99%2C101%5D%2C%22startTime%22%3A1654655723292%2C%22endTime%22%3A1654655723292%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"cursor\": \"1\",\n    \"buyerOrderList\": [\n      {\n        \"buyerOrderBaseInfo\": {\n          \"oid\": 20210987654327,\n          \"status\": 10,\n          \"createTime\": 1543843735000,\n          \"remark\": \"买家留言\",\n          \"totalFee\": 1200,\n          \"buyerOpenId\": \"1234567\"\n        },\n        \"buyerOrderItemInfo\": {\n          \"skuId\": 120987654,\n          \"relSkuId\": 1209876543,\n          \"skuDesc\": \"水果\",\n          \"skuNick\": \"12098765\",\n          \"itemId\": 10987654,\n          \"relItemId\": 120987766,\n          \"itemTitle\": \"西瓜\",\n          \"itemLinkUrl\": \"https://...\",\n          \"itemPicUrl\": \"https://...\",\n          \"num\": 1\n        }\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698732951494}},{"action":"open.order.cursor.list","title":"获取订单列表","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.cursor.list&version=1","sha256":"ef93cdf8b10173f19cffc504828befe59454484336a748d257abf993134f9d55","bytes":18924},"official":{"id":0,"name":"open.order.cursor.list","cnName":"获取订单列表","method":1,"version":1,"description":"1.获取商家视角的订单列表信息\n2.只允许获取90天内的订单数据\n3.若调用超时,请减少筛选条件,并将orderViewStatus值设置为1后重试","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9754344,"paramName":"orderViewStatus","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"订单状态,0未知 1 全部 2 待付款 3 待发货 4 待收货(已发货)5 已收货 6 交易成功订单 7 已关闭订单。若此API返回超时,请传入1后重试"},{"id":9754345,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"每页请求数量  最多一页50条"},{"id":9754346,"paramName":"sort","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"1时间降序 2时间升序  默认降序"},{"id":9754347,"paramName":"queryType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"1按创建时间查找  2按更新时间查找 ;默认创建时间,值为1时只允许获取创建时间90天内的订单数据,值为2时仅允许获取更新时间90天内且创建时间240天内的订单数据"},{"id":9754348,"paramName":"beginTime","paramType":"Long","structureId":0,"example":"1543817629000","required":true,"description":"订单生成时间的开始时间,单位毫秒, 不能小于90天前,且需要小于结束时间"},{"id":9754349,"paramName":"endTime","paramType":"Long","structureId":0,"example":"1543817629000","required":true,"description":"订单生成时间的截止时间,单位毫秒,与开始时间的时间范围不大于7天"},{"id":9754350,"paramName":"cpsType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"分销类型 0-全部 1-普通订单 2-分销订单"},{"id":9754351,"paramName":"cursor","paramType":"String","structureId":0,"example":"157356441188_2021345676543","required":true,"description":"游标内容  第一次传空串,之后传上一次的cursor返回值,若返回“nomore”则标识到底"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9754352,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9754353,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9754352,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9754353,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9754354,"paramName":"data","paramType":"OrderListData","structureId":10683,"example":"{}","required":false,"description":"订单列表"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderCursorListRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderCursorListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderCursorListRequest request = new OpenOrderCursorListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderViewStatus(1);\n        request.setPageSize(10);\n        request.setSort(1);\n        request.setQueryType(1);\n        request.setBeginTime(1543817629000);\n        request.setEndTime(1543817629000);\n        request.setCpsType(1);\n        request.setCursor(\"157356441188_2021345676543\");\n\n        OpenOrderCursorListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/order/cursor/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.cursor.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1750747460141' \\\n-d 'param=%7B%22orderViewStatus%22%3A1%2C%22pageSize%22%3A10%2C%22sort%22%3A1%2C%22queryType%22%3A1%2C%22beginTime%22%3A1543817629000%2C%22endTime%22%3A1543817629000%2C%22cpsType%22%3A1%2C%22cursor%22%3A%22157356441188%5F2021345676543%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"pageSize\": 10,\n    \"beginTime\": 1630987654322,\n    \"endTime\": 1634567890000,\n    \"cursor\": \"157356441188_202109654321\",\n    \"orderList\": [\n      {\n        \"orderBaseInfo\": {\n          \"oid\": 20210987654327,\n          \"payTime\": 1543843735000,\n          \"buyerImage\": \"https://tx2.a.yximgs.com/uhead/AB/2019/10/28/17/B13123213123.jpg\",\n          \"buyerOpenId\": \"1234567\",\n          \"buyerNick\": \"赵四\",\n          \"sellerOpenId\": \"12098765\",\n          \"sellerNick\": \"张三\",\n          \"expressFee\": 10,\n          \"discountFee\": 200,\n          \"totalFee\": 1200,\n          \"status\": 10,\n          \"sendTime\": 1543843735000,\n          \"refundTime\": 1543843735000,\n          \"createTime\": 1543843735000,\n          \"updateTime\": 1543843735000,\n          \"remark\": \"买家留言\",\n          \"theDayOfDeliverGoodsTime\": 0,\n          \"promiseTimeStampOfDelivery\": 1543843735000,\n          \"activityType\": 1,\n          \"cpsType\": 1,\n          \"validPromiseShipmentTimeStamp\": 1543843735000,\n          \"preSale\": 0,\n          \"recvTime\": 1543843735000,\n          \"coType\": 0,\n          \"commentStatus\": 1,\n          \"payType\": 1,\n          \"riskCode\": 0,\n          \"payChannel\": \"1\",\n          \"sellerDelayPromiseTimeStamp\": 1643843735000,\n          \"priorityDelivery\": true,\n          \"remindShipmentSign\": 3,\n          \"remindShipmentTime\": 1643843735000,\n          \"orderSellerRoleInfo\": {\n            \"roleType\": 1,\n            \"roleId\": 256787899,\n            \"roleName\": \"小明\"\n          },\n          \"disableDeliveryReasonCode\": [\n            1,\n            2\n          ],\n          \"multiplePiecesNo\": 20210987654327,\n          \"allActivityType\": [\n            16,\n            17\n          ],\n          \"orderLabels\": [\n            1\n          ],\n          \"enableSplitDeliveryOrder\": false,\n          \"allowanceExpressFee\": 0,\n          \"payChannelDiscount\": 0,\n          \"tradeInPayAfterPromoAmount\": 0,\n          \"governmentDiscount\": 0,\n          \"govIndustryPromoInfo\": {\n            \"areaName\": \"1\",\n            \"activityCode\": \"1\",\n            \"supplierId\": \"1\",\n            \"supplierName\": \"1\"\n          },\n          \"channel\": \"分销\",\n          \"expressCode\": \"1\"\n        },\n        \"orderItemInfo\": {\n          \"skuId\": 120987654,\n          \"relSkuId\": 1209876543,\n          \"skuDesc\": \"水果\",\n          \"skuNick\": \"12098765\",\n          \"itemId\": 10987654,\n          \"relItemId\": 120987766,\n          \"itemTitle\": \"西瓜\",\n          \"itemLinkUrl\": \"https://...\",\n          \"itemPicUrl\": \"https://...\",\n          \"num\": 1,\n          \"originalPrice\": 1209,\n          \"discountFee\": 100,\n          \"price\": 1109,\n          \"itemType\": 1,\n          \"itemPrevInfo\": {\n            \"skuId\": 10987654,\n            \"relSkuId\": 110987654,\n            \"skuDesc\": \"水果\",\n            \"skuNick\": \"12098765\"\n          },\n          \"goodsCode\": \"123\",\n          \"warehouseCode\": \"111\",\n          \"orderItemId\": 123,\n          \"goodStoreCode\": 13211212321,\n          \"serviceInfo\": {\n            \"serviceRule\": \"{}\",\n            \"freight\": true,\n            \"freightProviderType\": 1,\n            \"firstOrderGuarantee\": true,\n            \"instantDelivery\": 1,\n            \"instantRefund\": true,\n            \"compensateFake\": {\n              \"times\": 9,\n              \"desc\": \"1\",\n              \"link\": \"1\"\n            },\n            \"serviceRuleInfo\": {\n              \"depositRule\": \"1\",\n              \"refundRule\": \"1\",\n              \"deliverGoodsIntervalTime\": 48000,\n              \"theDayOfDeliverGoodsTime\": 30,\n              \"saleFlag\": true,\n              \"promiseDeliveryTime\": 12,\n              \"deliveryMethod\": \"logistics\",\n              \"supportVerification\": 1,\n              \"certMerchantCode\": \"ks\",\n              \"certExpireType\": 11,\n              \"certStartTime\": 1543843735000,\n              \"certEndTime\": 1543843735000,\n              \"certExpDays\": 3\n            }\n          },\n          \"itemExtra\": {\n            \"categoryInfo\": {\n              \"itemCid\": 1678,\n              \"categoryName\": \"鞋靴\",\n              \"govCategory\": \"家电\",\n              \"govCategoryCode\": \"01\"\n            },\n            \"energyLevel\": \"gradeOne\",\n            \"productNo\": \"1\",\n            \"brandName\": \"华为\"\n          }\n        },\n        \"orderRefundList\": [\n          {\n            \"refundId\": 10987654,\n            \"refundStatus\": 10,\n            \"handlingWay\": 1,\n            \"specialRefundType\": 1\n          }\n        ],\n        \"orderLogisticsInfo\": [\n          {\n            \"expressNo\": \"SF10987654321\",\n            \"expressCode\": 1234098765,\n            \"logisticsId\": 1433\n          }\n        ],\n        \"orderNote\": {\n          \"sellerNote\": [],\n          \"orderNoteInfo\": [\n            {\n              \"createTime\": 1543843735000,\n              \"note\": \"注意尽快发货\",\n              \"flagTagCode\": \"grey_flag_tag_order\",\n              \"operatorName\": \"客服小鱼\"\n            }\n          ]\n        },\n        \"orderAddress\": {\n          \"encryptedConsignee\": \"abcdef\",\n          \"desensitiseConsignee\": \"里*\",\n          \"encryptedMobile\": \"abcdef\",\n          \"desensitiseMobile\": \"1********36\",\n          \"provinceCode\": 123455,\n          \"province\": \"北京\",\n          \"cityCode\": 120987,\n          \"city\": \"北京\",\n          \"districtCode\": 10000,\n          \"district\": \"上地\",\n          \"townCode\": 0,\n          \"town\": \"西北旺镇\",\n          \"encryptedAddress\": \"abcdef\",\n          \"desensitiseAddress\": \"快*\",\n          \"rechargeAccount\": {\n            \"account\": \"13455443333\",\n            \"accountType\": 1,\n            \"accountTypeDesc\": \"手机号\",\n            \"desensitiseAccount\": \"123****456\",\n            \"encryptedAccount\": \"qixzosnegybvs\",\n            \"accountExt\": [\n              {\n                \"rechargeAccount\": \"小明\",\n                \"rechargeAccountType\": 11,\n                \"rechargeAccountTypeDesc\": \"姓名\",\n                \"desensitiseRechargeAccount\": \"小*\",\n                \"encryptedRechargeAccount\": \"密文\"\n              }\n            ]\n          },\n          \"coordinateInfo\": {\n            \"longitude\": \"1.1\",\n            \"latitude\": \"1.1\"\n          }\n        },\n        \"orderStepInfo\": {\n          \"orderPaymentStatus\": {\n            \"payStepType\": 1,\n            \"orderPayStatus\": 1130230\n          },\n          \"orderPaymentSteps\": [\n            {\n              \"id\": 222222,\n              \"payStepType\": 1,\n              \"payStepNo\": 1,\n              \"payStepName\": \"定金\",\n              \"payStepStatus\": 10,\n              \"stepPrice\": 100,\n              \"skuNum\": 1,\n              \"stepTotalPrice\": 1000,\n              \"discountFee\": 100,\n              \"expressFee\": 100,\n              \"paymentFee\": 100,\n              \"payTime\": 1652935234000,\n              \"payChannelDesc\": \"支付宝\",\n              \"startPayTime\": 1652935234000,\n              \"endPayTime\": 1652935234000\n            }\n          ]\n        },\n        \"orderCpsInfo\": {\n          \"distributorId\": 2789928980,\n          \"distributorName\": \"达人小红\",\n          \"activityUserId\": 3432345612,\n          \"activityUserNickName\": \"团长\",\n          \"kwaiMoneyUserId\": 3212453245,\n          \"kwaiMoneyUserNickName\": \"快赚客\"\n        },\n        \"orderDeliveryInfo\": {\n          \"maxPackageNum\": 10,\n          \"enableAppendPackage\": true,\n          \"totalPackageNum\": 1,\n          \"deliveryNum\": 1,\n          \"packageNum\": 1,\n          \"serialNumberInfo\": {\n            \"serialType\": [\n              2\n            ],\n            \"serialNumberList\": [\n              \"1111\",\n              \"222\"\n            ],\n            \"imeiList\": [\n              \"1111\",\n              \"222\"\n            ],\n            \"serialRequireQuantity\": [\n              0,\n              1\n            ]\n          },\n          \"splitDeliveryOrder\": false,\n          \"deliveryStatus\": 10,\n          \"mergeDeliveryType\": 1,\n          \"openAddressId\": \"1\"\n        },\n        \"subOrderInfo\": [\n          {\n            \"subOrderBaseInfo\": {\n              \"oid\": 1,\n              \"status\": 10,\n              \"sendTime\": 1543843735000,\n              \"updateTime\": 1543843735000,\n              \"recvTime\": 1543843735000\n            },\n            \"subOrderItemInfo\": {\n              \"skuId\": 120987654,\n              \"relSkuId\": 1209876543,\n              \"skuDesc\": \"水果\",\n              \"skuNick\": \"12098765\",\n              \"itemId\": 10987654,\n              \"relItemId\": 120987766,\n              \"itemTitle\": \"西瓜\",\n              \"itemLinkUrl\": \"https://...\",\n              \"itemPicUrl\": \"https://...\",\n              \"num\": 1,\n              \"originalPrice\": 1209,\n              \"discountFee\": 100,\n              \"price\": 1109,\n              \"itemType\": 1,\n              \"itemPrevInfo\": {\n                \"skuId\": 10987654,\n                \"relSkuId\": 110987654,\n                \"skuDesc\": \"水果\",\n                \"skuNick\": \"12098765\"\n              },\n              \"goodsCode\": \"123\",\n              \"warehouseCode\": \"111\",\n              \"serviceInfo\": {\n                \"serviceRule\": \"{}\",\n                \"freight\": true,\n                \"freightProviderType\": 1,\n                \"firstOrderGuarantee\": true,\n                \"instantDelivery\": 1,\n                \"instantRefund\": true,\n                \"compensateFake\": {\n                  \"times\": 9,\n                  \"desc\": \"1\",\n                  \"link\": \"1\"\n                },\n                \"serviceRuleInfo\": {\n                  \"depositRule\": \"1\",\n                  \"refundRule\": \"1\",\n                  \"deliverGoodsIntervalTime\": 48000,\n                  \"theDayOfDeliverGoodsTime\": 30,\n                  \"saleFlag\": true,\n                  \"promiseDeliveryTime\": 12,\n                  \"deliveryMethod\": \"logistics\",\n                  \"supportVerification\": 1,\n                  \"certMerchantCode\": \"ks\",\n                  \"certExpireType\": 11,\n                  \"certStartTime\": 1543843735000,\n                  \"certEndTime\": 1543843735000,\n                  \"certExpDays\": 3\n                }\n              },\n              \"itemExtra\": {\n                \"categoryInfo\": {\n                  \"itemCid\": 1678,\n                  \"categoryName\": \"鞋靴\",\n                  \"govCategory\": \"家电\",\n                  \"govCategoryCode\": \"01\"\n                },\n                \"energyLevel\": \"gradeOne\",\n                \"productNo\": \"1\",\n                \"brandName\": \"华为\"\n              }\n            },\n            \"subOrderLogisticsInfo\": [\n              {\n                \"expressNo\": \"SF10987654321\",\n                \"expressCode\": 1234098765,\n                \"logisticsId\": 1433\n              }\n            ],\n            \"subOrderDeliveryInfo\": {\n              \"deliveryNum\": 1,\n              \"packageNum\": 1,\n              \"splitDeliveryOrder\": false,\n              \"deliveryStatus\": 10\n            },\n            \"subOrderType\": 0\n          }\n        ]\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1789374719651}},{"action":"open.order.decrypt.batch","title":"批量解密订单","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.decrypt.batch&version=1","sha256":"3e5d668f5946c80c50f2f25c671a554c0e375bf94ded7019b766f7e7927b268f","bytes":7830},"official":{"id":0,"name":"open.order.decrypt.batch","cnName":"批量解密订单","method":2,"version":1,"description":"1.仅用于解密实物发货订单的密文数据为明文\n2.解密额度在商家维度,商家在小店PC端、APP端和API上共享解密额度\n3.商家侧详细解密规则查看[【官方公告】快手升级消费者隐私信息加密公告@https://edu.kwaixiaodian.com/bbs/web/article?id=16556&layoutType=4]\n4.ISV侧解密常见问题查看[FAQ -开放平台-数据安全@https://open.kwaixiaodian.com/faq/list?cateId=41406]","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":4265580,"paramName":"batchDecryptList","paramType":"List<DecryptBaseMetaInfo>","structureId":11760,"example":"[]","required":true,"description":"批量解密list,每次请求,报文条数不超过100条。"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4265581,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4265582,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":4265581,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":4265582,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":4265583,"paramName":"batchDecryptResultList","paramType":"List<DecryptResultMetaInfo>","structureId":11759,"example":"[]","required":false,"description":"解密信息"}],"errorCodes":[{"code":1001,"type":"请求参数","description":"参数不合法","solution":"检查请求参数,确保密文参数是地址、姓名或电话号码的正确密文信息"},{"code":700003,"type":"请求参数","description":"解密失败","solution":"检查请求是否合法,检查请求参数是否是订单API中获取的密文信息"},{"code":700006,"type":"报文长度","description":"报文长度过长","solution":"减少一次请求中,解密报文的个数,分多次请求"},{"code":70011,"type":"业务错误","description":"商家解密额度超过限制,不允许解密","solution":"商家当天解密额度已超限,请商家至快手小店后台提交解密额度申请,待申请通过后,再进行重试"},{"code":70012,"type":"业务错误","description":"订单已关闭或订单已完成,不允许解密","solution":"订单状态不符合解密要求,不允许重试"},{"code":70013,"type":"业务错误","description":"订单风控校验不通过,不允许解密","solution":"订单未通过风控校验,不建议重试,L0及以下商家不允许通过接口解密"},{"code":70014,"type":"业务错误","description":"订单状态未知或查询不到订单","solution":"请检查传入的订单号是否正确,检查无误后,再进行重试"},{"code":70015,"type":"业务错误","description":"当前商家无权解密请求的订单信息,请检查订单是否属于当前商家","solution":"只允许解密商家所属的订单,请检查请求订单信息参数是否属于当前商家"},{"code":1002,"type":"请求参数","description":"数据不存在","solution":"检查请求参数密文参数,确保密文参数已传,确保密文格式正确,确保密文内容正确,密文为订单API中返回的加密字段"},{"code":1034,"type":"请求方式","description":"请求方式不合法","solution":"当前API请求为POST请求,不可使用其他请求方式,请求参数必须放在body体,请求header请参考示例文档JAVA和CURL示例"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderDecryptBatchRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderDecryptBatchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderDecryptBatchRequest request = new OpenOrderDecryptBatchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<DecryptBaseMetaInfo> list1 = new ArrayList<>();\n        DecryptBaseMetaInfo obj1 = new DecryptBaseMetaInfo();\n        obj1.setEncryptedData(\"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\");\n        obj1.setBizId(\"123\");\n        list1.add(obj1);\n        request.setBatchDecryptList(list1);\n\n        OpenOrderDecryptBatchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/order/decrypt/batch' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.decrypt.batch' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1633779121304' \\\n-d 'param=%7B%22batchDecryptList%22%3A%5B%7B%22encryptedData%22%3A%22%7EnkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ%7E%22%2C%22bizId%22%3A%22123%22%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"batchDecryptResultList\": [\n    {\n      \"decryptedData\": \"15629052381\",\n      \"encryptedData\": \"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\",\n      \"bizId\": \"123\",\n      \"errorCode\": 1,\n      \"errorMsg\": \"success\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698306638811}},{"action":"open.order.deliver.merge.check","title":"订单合并发货检查","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.deliver.merge.check&version=1","sha256":"828e5eb821493d4840306d22829a704e6531182cb67d5f8d1d5987e6e2088ca0","bytes":5726},"official":{"id":0,"name":"open.order.deliver.merge.check","cnName":"订单合并发货检查","method":1,"version":1,"description":"用于判断一批订单是否可以使用同一收件人信息合并发货:\n1. 批处理上限为 100 条订单\n2. 优先通过 open_address_id 判断:一致的订单可直接合单。若不一致,则可通过 open_buyer_id 或 open_buyer_id + 脱敏信息判断是否可能合单,如存在可能性,再调用合单校验接口进行确认。\n3. 本接口仅判断订单收货地址是否一致,不会执行实际合并操作","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":7562280,"paramName":"mergeList","paramType":"List<OpenOrderMergeDeliveryInfo>","structureId":553090,"example":"[{\"oid\":123}]","required":true,"description":"合并发货信息列表"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":7562281,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":7562283,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":7562281,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":7562282,"paramName":"code","paramType":"String","structureId":0,"example":"S-2197110-1234","required":false,"description":"业务错误码"},{"id":7562283,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":7562284,"paramName":"enableMergeList","paramType":"List<EnableMergeDeliveryData>","structureId":553093,"example":"[{\"oid\":123}]","required":false,"description":"合并发货校验结果"}],"errorCodes":[{"code":21,"type":"业务错误","description":"参数异常","solution":"检查参数"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderDeliverMergeCheckRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderDeliverMergeCheckResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderDeliverMergeCheckRequest request = new OpenOrderDeliverMergeCheckRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<OpenOrderMergeDeliveryInfo> list1 = new ArrayList<>();\n        OpenOrderMergeDeliveryInfo obj1 = new OpenOrderMergeDeliveryInfo();\n        obj1.setOid(123);\n        list1.add(obj1);\n        request.setMergeList(list1);\n\n        OpenOrderDeliverMergeCheckResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/order/deliver/merge/check' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.deliver.merge.check' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1749468748526' \\\n-d 'param=%7B%22mergeList%22%3A%5B%7B%22oid%22%3A123%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"code\": \"S-2197110-1234\",\n  \"error_msg\": \"success\",\n  \"enableMergeList\": [\n    {\n      \"oid\": 123\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1755140163941}},{"action":"open.order.desensitise.batch","title":"批量脱敏订单","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.desensitise.batch&version=1","sha256":"18442371a68d7461ee80ddb1f03c010747393754e2e2eed443b19d12bfd4b7f4","bytes":5906},"official":{"id":0,"name":"open.order.desensitise.batch","cnName":"批量脱敏订单","method":2,"version":1,"description":"根据订单密文信息返回订单脱敏信息,用于脱敏信息展示","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":140176,"paramName":"batchDesensitiseList","paramType":"List<DesensitiseBaseMetaInfo>","structureId":11756,"example":"[]","required":true,"description":"批量脱敏list,每次请求,报文条数不超过100条。"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":140177,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":140178,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":140177,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":140178,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":140179,"paramName":"batchDesensitiseResultList","paramType":"List<DesensitiseResultMetaInfo>","structureId":11755,"example":"[]","required":false,"description":"脱敏结果"}],"errorCodes":[{"code":1001,"type":"参数非法","description":"参数不合法","solution":"请检查请求参数,保证是地址、姓名或电话号码"},{"code":700002,"type":"参数非法","description":"脱敏失败","solution":"请检查请求是否合法"},{"code":700006,"type":"参数非法","description":"报文长度过长","solution":"请减少一次请求中,脱敏报文的个数"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderDesensitiseBatchRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderDesensitiseBatchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderDesensitiseBatchRequest request = new OpenOrderDesensitiseBatchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<DesensitiseBaseMetaInfo> list1 = new ArrayList<>();\n        DesensitiseBaseMetaInfo obj1 = new DesensitiseBaseMetaInfo();\n        obj1.setEncryptedData(\"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\");\n        obj1.setBizId(\"123\");\n        list1.add(obj1);\n        request.setBatchDesensitiseList(list1);\n\n        OpenOrderDesensitiseBatchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/order/desensitise/batch' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.desensitise.batch' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1713494856518' \\\n-d 'param=%7B%22batchDesensitiseList%22%3A%5B%7B%22encryptedData%22%3A%22%7EnkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ%7E%22%2C%22bizId%22%3A%22123%22%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"batchDesensitiseResultList\": [\n    {\n      \"encryptedData\": \"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\",\n      \"desensitisedData\": \"1********81\",\n      \"bizId\": \"123\",\n      \"errorCode\": 1,\n      \"errorMsg\": \"success\"\n    }\n  ]\n}"}],"viewNum":4,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1713494859383}},{"action":"open.order.detail","title":"获取订单详情","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.detail&version=1","sha256":"6bd24e5ed8984f93770eacca5000e34f73a065aa7a21250726fc2edf8b04af0a","bytes":17636},"official":{"id":0,"name":"open.order.detail","cnName":"获取订单详情","method":1,"version":1,"description":"1.获取商家视角的订单详情\n2.主品订单信息和附属的赠品订单信息一起返回\n3.主品订单及其赠品订单有单独的订单id和订单状态,一单一品多数量,只要发货至少一个品,即使未全部发货,状态也会流转到”已发货40“\n4.需要根据主品订单和赠品订单各自的DeliveryInfo.deliveryNum(已发货商品数)和ItemInfo.num(订单商品数)的数量情况来判断主品/赠品订单是否全部发货","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9753448,"paramName":"oid","paramType":"Long","structureId":0,"example":"202110987654321","required":true,"description":"订单id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9753449,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9753450,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9753449,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9753450,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":9753451,"paramName":"data","paramType":"OrderDetail","structureId":10632,"example":"{}","required":false,"description":"订单详情"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderDetailRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderDetailResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderDetailRequest request = new OpenOrderDetailRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOid(202110987654321);\n\n        OpenOrderDetailResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/order/detail' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.detail' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1750747302599' \\\n-d 'param=%7B%22oid%22%3A202110987654321%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"orderBaseInfo\": {\n      \"oid\": 20210987654327,\n      \"payTime\": 1543843735000,\n      \"buyerImage\": \"https://tx2.a.yximgs.com/uhead/AB/2019/10/28/17/B13123213123.jpg\",\n      \"buyerOpenId\": \"1234567\",\n      \"buyerNick\": \"赵四\",\n      \"sellerOpenId\": \"12098765\",\n      \"sellerNick\": \"张三\",\n      \"expressFee\": 10,\n      \"discountFee\": 200,\n      \"totalFee\": 1200,\n      \"status\": 10,\n      \"sendTime\": 1543843735000,\n      \"refundTime\": 1543843735000,\n      \"createTime\": 1543843735000,\n      \"updateTime\": 1543843735000,\n      \"remark\": \"买家留言\",\n      \"theDayOfDeliverGoodsTime\": 0,\n      \"promiseTimeStampOfDelivery\": 1543843735000,\n      \"activityType\": 1,\n      \"cpsType\": 1,\n      \"validPromiseShipmentTimeStamp\": 1543843735000,\n      \"preSale\": 0,\n      \"recvTime\": 1543843735000,\n      \"coType\": 0,\n      \"commentStatus\": 1,\n      \"payType\": 1,\n      \"riskCode\": 0,\n      \"orderPoiInfo\": {\n        \"poiId\": 10000000,\n        \"name\": \"某某地点\",\n        \"address\": \"某某地点的详细地址\",\n        \"verOrderPoiInfoList\": [\n          {\n            \"poiId\": 324563244,\n            \"name\": \"XXX旗舰店\",\n            \"address\": \"XXX大厦302\",\n            \"couponCode\": \"25A6B2796\",\n            \"vinCode\": \"3242231\"\n          }\n        ]\n      },\n      \"shopNewBuyer\": true,\n      \"platformNewBuyer\": true,\n      \"orderTaxInfo\": {\n        \"taxAmount\": 2200,\n        \"sellerBearAmount\": 100\n      },\n      \"payChannel\": \"1\",\n      \"sellerDelayPromiseTimeStamp\": 1643843735000,\n      \"carrierType\": 1,\n      \"carrierId\": 16789,\n      \"privacyInfoAuthStatus\": 0,\n      \"privacyInfoAuthTime\": 0,\n      \"priorityDelivery\": true,\n      \"remindShipmentSign\": 3,\n      \"remindShipmentTime\": 1643843735000,\n      \"orderSellerRoleInfo\": {\n        \"roleType\": 1,\n        \"roleId\": 256787899,\n        \"roleName\": \"小明\"\n      },\n      \"disableDeliveryReasonCode\": [\n        1,\n        2\n      ],\n      \"multiplePiecesNo\": 20210987654327,\n      \"allActivityType\": [\n        17,\n        18\n      ],\n      \"orderLabels\": [\n        1\n      ],\n      \"enableSplitDeliveryOrder\": false,\n      \"allowanceExpressFee\": 0,\n      \"payChannelDiscount\": 0,\n      \"tradeInPayAfterPromoAmount\": 0,\n      \"governmentDiscount\": 0,\n      \"govIndustryPromoInfo\": {\n        \"areaName\": \"1\",\n        \"activityCode\": \"1\",\n        \"supplierId\": \"1\",\n        \"supplierName\": \"1\"\n      },\n      \"channel\": \"分销\",\n      \"expressCode\": \"1\"\n    },\n    \"orderItemInfo\": {\n      \"skuId\": 120987654,\n      \"relSkuId\": 1209876543,\n      \"skuDesc\": \"水果\",\n      \"skuNick\": \"12098765\",\n      \"itemId\": 10987654,\n      \"relItemId\": 120987766,\n      \"itemTitle\": \"西瓜\",\n      \"itemLinkUrl\": \"https://...\",\n      \"itemPicUrl\": \"https://...\",\n      \"num\": 1,\n      \"originalPrice\": 1209,\n      \"discountFee\": 100,\n      \"price\": 1109,\n      \"itemType\": 1,\n      \"itemPrevInfo\": {\n        \"skuId\": 10987654,\n        \"relSkuId\": 110987654,\n        \"skuDesc\": \"水果\",\n        \"skuNick\": \"12098765\"\n      },\n      \"goodsCode\": \"123\",\n      \"warehouseCode\": \"111\",\n      \"orderItemId\": 123,\n      \"goodStoreCode\": 13211212321,\n      \"serviceInfo\": {\n        \"serviceRule\": \"{}\",\n        \"freight\": true,\n        \"freightProviderType\": 1,\n        \"firstOrderGuarantee\": true,\n        \"instantDelivery\": 1,\n        \"instantRefund\": true,\n        \"compensateFake\": {\n          \"times\": 9,\n          \"desc\": \"1\",\n          \"link\": \"1\"\n        },\n        \"serviceRuleInfo\": {\n          \"depositRule\": \"1\",\n          \"refundRule\": \"1\",\n          \"deliverGoodsIntervalTime\": 48000,\n          \"theDayOfDeliverGoodsTime\": 30,\n          \"saleFlag\": true,\n          \"promiseDeliveryTime\": 12,\n          \"deliveryMethod\": \"logistics\",\n          \"supportVerification\": 1,\n          \"certMerchantCode\": \"ks\",\n          \"certExpireType\": 11,\n          \"certStartTime\": 1543843735000,\n          \"certEndTime\": 1543843735000,\n          \"certExpDays\": 3\n        }\n      },\n      \"itemExtra\": {\n        \"categoryInfo\": {\n          \"itemCid\": 1678,\n          \"categoryName\": \"鞋靴\",\n          \"govCategory\": \"家电\",\n          \"govCategoryCode\": \"01\"\n        },\n        \"energyLevel\": \"gradeOne\",\n        \"productNo\": \"1\",\n        \"brandName\": \"华为\"\n      }\n    },\n    \"orderRefundList\": [\n      {\n        \"refundId\": 10987654,\n        \"refundStatus\": 10,\n        \"handlingWay\": 1,\n        \"specialRefundType\": 1\n      }\n    ],\n    \"orderLogisticsInfo\": [\n      {\n        \"expressNo\": \"SF10987654321\",\n        \"expressCode\": 1234098765,\n        \"logisticsId\": 1433\n      }\n    ],\n    \"orderNote\": {\n      \"sellerNote\": [],\n      \"orderNoteInfo\": [\n        {\n          \"createTime\": 1543843735000,\n          \"note\": \"注意尽快发货\",\n          \"flagTagCode\": \"grey_flag_tag_order\",\n          \"operatorName\": \"客服小鱼\"\n        }\n      ]\n    },\n    \"orderAddress\": {\n      \"encryptedConsignee\": \"abcdef\",\n      \"desensitiseConsignee\": \"里*\",\n      \"encryptedMobile\": \"abcdef\",\n      \"desensitiseMobile\": \"1********36\",\n      \"provinceCode\": 123455,\n      \"province\": \"北京\",\n      \"cityCode\": 120987,\n      \"city\": \"北京\",\n      \"districtCode\": 10000,\n      \"district\": \"上地\",\n      \"townCode\": 0,\n      \"town\": \"西北旺镇\",\n      \"encryptedAddress\": \"abcdef\",\n      \"desensitiseAddress\": \"快*\",\n      \"rechargeAccount\": {\n        \"account\": \"13455443333\",\n        \"accountType\": 1,\n        \"accountTypeDesc\": \"手机号\",\n        \"desensitiseAccount\": \"123****456\",\n        \"encryptedAccount\": \"qixzosnegybvs\",\n        \"accountExt\": [\n          {\n            \"rechargeAccount\": \"小明\",\n            \"rechargeAccountType\": 11,\n            \"rechargeAccountTypeDesc\": \"姓名\",\n            \"desensitiseRechargeAccount\": \"小*\",\n            \"encryptedRechargeAccount\": \"密文\"\n          }\n        ]\n      },\n      \"coordinateInfo\": {\n        \"longitude\": \"1.1\",\n        \"latitude\": \"1.1\"\n      }\n    },\n    \"orderFlag\": {\n      \"flag\": [\n        \"grey_flag_tag_order\"\n      ]\n    },\n    \"orderStepInfo\": {\n      \"orderPaymentStatus\": {\n        \"payStepType\": 1,\n        \"orderPayStatus\": 1130230\n      },\n      \"orderPaymentSteps\": [\n        {\n          \"id\": 222222,\n          \"payStepType\": 1,\n          \"payStepNo\": 1,\n          \"payStepName\": \"定金\",\n          \"payStepStatus\": 10,\n          \"stepPrice\": 100,\n          \"skuNum\": 1,\n          \"stepTotalPrice\": 1000,\n          \"discountFee\": 100,\n          \"expressFee\": 100,\n          \"paymentFee\": 100,\n          \"payTime\": 1652935234000,\n          \"payChannelDesc\": \"支付宝\",\n          \"startPayTime\": 1652935234000,\n          \"endPayTime\": 1652935234000\n        }\n      ]\n    },\n    \"orderCustomizedInfo\": {\n      \"customizedItemType\": 1,\n      \"customizedUrl\": \"https://xxxxxxxx\",\n      \"customizedCode\": \"233\"\n    },\n    \"orderCpsInfo\": {\n      \"distributorId\": 2789928980,\n      \"distributorName\": \"达人小红\",\n      \"activityUserId\": 3432345612,\n      \"activityUserNickName\": \"团长\",\n      \"kwaiMoneyUserId\": 3212453245,\n      \"kwaiMoneyUserNickName\": \"快赚客\"\n    },\n    \"addressUpdateAuditInfo\": {\n      \"addressBeforeUpdate\": {\n        \"provinceCode\": 11,\n        \"province\": \"北京市\",\n        \"cityCode\": 1101,\n        \"city\": \"北京市\",\n        \"districtCode\": 110108,\n        \"district\": \"海淀区\",\n        \"townCode\": 110108011,\n        \"town\": \"中关村街道\",\n        \"addressMetaVersion\": 0,\n        \"addressId\": 115999203458,\n        \"desensitiseAddress\": \"****\",\n        \"encryptedAddress\": \"EiB++AXhd4lnf1tAe9lMRyzwMe+fisp7r0mUWnNwk1JuvSgFMAY=\"\n      },\n      \"addressAfterUpdate\": {\n        \"provinceCode\": 11,\n        \"province\": \"北京市\",\n        \"cityCode\": 1101,\n        \"city\": \"北京市\",\n        \"districtCode\": 110108,\n        \"district\": \"海淀区\",\n        \"townCode\": 110108011,\n        \"town\": \"中关村街道\",\n        \"addressMetaVersion\": 0,\n        \"addressId\": 115999203458,\n        \"desensitiseAddress\": \"****\",\n        \"encryptedAddress\": \"EiB++AXhd4lnf1tAe9lMRyzwMe+fisp7r0mUWnNwk1JuvSgFMAY=\"\n      },\n      \"auditStatus\": 10,\n      \"timeoutOfAudit\": 1666767935059,\n      \"auditTime\": 1666767652404\n    },\n    \"orderDeliveryInfo\": {\n      \"maxPackageNum\": 10,\n      \"enableAppendPackage\": true,\n      \"totalPackageNum\": 1,\n      \"deliveryNum\": 1,\n      \"packageNum\": 1,\n      \"serialNumberInfo\": {\n        \"serialType\": [\n          2\n        ],\n        \"serialNumberList\": [\n          \"1111\",\n          \"222\"\n        ],\n        \"imeiList\": [\n          \"1111\",\n          \"222\"\n        ],\n        \"serialRequireQuantity\": [\n          0,\n          1\n        ]\n      },\n      \"splitDeliveryOrder\": false,\n      \"deliveryStatus\": 10,\n      \"mergeDeliveryType\": 1,\n      \"openAddressId\": \"1\"\n    },\n    \"subOrderInfo\": [\n      {\n        \"subOrderBaseInfo\": {\n          \"oid\": 1,\n          \"status\": 10,\n          \"sendTime\": 1543843735000,\n          \"updateTime\": 1543843735000,\n          \"recvTime\": 1543843735000\n        },\n        \"subOrderItemInfo\": {\n          \"skuId\": 120987654,\n          \"relSkuId\": 1209876543,\n          \"skuDesc\": \"水果\",\n          \"skuNick\": \"12098765\",\n          \"itemId\": 10987654,\n          \"relItemId\": 120987766,\n          \"itemTitle\": \"西瓜\",\n          \"itemLinkUrl\": \"https://...\",\n          \"itemPicUrl\": \"https://...\",\n          \"num\": 1,\n          \"originalPrice\": 1209,\n          \"discountFee\": 100,\n          \"price\": 1109,\n          \"itemType\": 1,\n          \"itemPrevInfo\": {\n            \"skuId\": 10987654,\n            \"relSkuId\": 110987654,\n            \"skuDesc\": \"水果\",\n            \"skuNick\": \"12098765\"\n          },\n          \"goodsCode\": \"123\",\n          \"warehouseCode\": \"111\",\n          \"serviceInfo\": {\n            \"serviceRule\": \"{}\",\n            \"freight\": true,\n            \"freightProviderType\": 1,\n            \"firstOrderGuarantee\": true,\n            \"instantDelivery\": 1,\n            \"instantRefund\": true,\n            \"compensateFake\": {\n              \"times\": 9,\n              \"desc\": \"1\",\n              \"link\": \"1\"\n            },\n            \"serviceRuleInfo\": {\n              \"depositRule\": \"1\",\n              \"refundRule\": \"1\",\n              \"deliverGoodsIntervalTime\": 48000,\n              \"theDayOfDeliverGoodsTime\": 30,\n              \"saleFlag\": true,\n              \"promiseDeliveryTime\": 12,\n              \"deliveryMethod\": \"logistics\",\n              \"supportVerification\": 1,\n              \"certMerchantCode\": \"ks\",\n              \"certExpireType\": 11,\n              \"certStartTime\": 1543843735000,\n              \"certEndTime\": 1543843735000,\n              \"certExpDays\": 3\n            }\n          },\n          \"itemExtra\": {\n            \"categoryInfo\": {\n              \"itemCid\": 1678,\n              \"categoryName\": \"鞋靴\",\n              \"govCategory\": \"家电\",\n              \"govCategoryCode\": \"01\"\n            },\n            \"energyLevel\": \"gradeOne\",\n            \"productNo\": \"1\",\n            \"brandName\": \"华为\"\n          }\n        },\n        \"subOrderLogisticsInfo\": [\n          {\n            \"expressNo\": \"SF10987654321\",\n            \"expressCode\": 1234098765,\n            \"logisticsId\": 1433\n          }\n        ],\n        \"subOrderDeliveryInfo\": {\n          \"deliveryNum\": 1,\n          \"packageNum\": 1,\n          \"splitDeliveryOrder\": false,\n          \"deliveryStatus\": 10\n        },\n        \"subOrderType\": 0\n      }\n    ]\n  }\n}"}],"viewNum":2,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1789374729563}},{"action":"open.order.encrypt.batch","title":"批量加密订单","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.encrypt.batch&version=1","sha256":"7e4632b86c77a2c412f2284841afe6af3294eaa58cfe8c26d1adabeca07e5250","bytes":5701},"official":{"id":0,"name":"open.order.encrypt.batch","cnName":"批量加密订单","method":2,"version":1,"description":"批量加密订单明文信息为密文","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":4859344,"paramName":"batchEncryptList","paramType":"List<EncryptBaseMetaInfo>","structureId":11764,"example":"[]","required":true,"description":"明文list,每次请求,报文条数不超过100条。"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4859346,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4859347,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":4859345,"paramName":"batchEncryptResultList","paramType":"List<EncryptResultMetaInfo>","structureId":11763,"example":"[]","required":false,"description":"加密结果"},{"id":4859346,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":4859347,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"成功"}],"errorCodes":[{"code":1001,"type":"请求参数","description":"参数不合法","solution":"检查请求参数,保证是地址、姓名或电话号码"},{"code":700004,"type":"请求参数","description":"加密失败","solution":"检查请求是否合法"},{"code":700006,"type":"报文长度","description":"报文长度过长","solution":"减少一次请求中,脱敏报文的个数"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderEncryptBatchRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderEncryptBatchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderEncryptBatchRequest request = new OpenOrderEncryptBatchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<EncryptBaseMetaInfo> list1 = new ArrayList<>();\n        EncryptBaseMetaInfo obj1 = new EncryptBaseMetaInfo();\n        obj1.setDecryptedData(\"eee\");\n        obj1.setBizId(\"123\");\n        obj1.setType(1);\n        list1.add(obj1);\n        request.setBatchEncryptList(list1);\n\n        OpenOrderEncryptBatchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/order/encrypt/batch' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.encrypt.batch' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1633779110773' \\\n-d 'param=%7B%22batchEncryptList%22%3A%5B%7B%22decryptedData%22%3A%22eee%22%2C%22bizId%22%3A%22123%22%2C%22type%22%3A1%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"batchEncryptResultList\": [\n    {\n      \"decryptedData\": \"wed\",\n      \"encryptedData\": \"~nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ~\",\n      \"bizId\": \"123\",\n      \"errorCode\": 1,\n      \"errorMsg\": \"success\"\n    }\n  ],\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1711627322119}},{"action":"open.order.goods.split.deliver","title":"订单拆单发货","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.goods.split.deliver&version=1","sha256":"7fa9757241cda1c6691e0560911a02f21d6ba7ff1467b92db740983309a7407e","bytes":7756},"official":{"id":0,"name":"open.order.goods.split.deliver","cnName":"订单拆单发货","method":2,"version":1,"description":"1.支持主品订单、支持赠品订单、支持整单发、支持拆单发,可以完全兼容发货API逻辑\n2.订单为\"待发货\"状态&&无正在执行的退款&&订单API出参disableDeliveryReasonCode和riskCode没有值时,允许操作订单拆单发货API\n3.主品/赠品订单有各自的订单状态,只要发了订单id下的至少1个商品,订单id下的状态就会推进到”已发货“,赠品订单只可以使用拆单发货接口发货","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9745973,"paramName":"deliveryItemInfoList","paramType":"List<SplitDeliveryGoodsPackageItemDTO>","structureId":312755,"example":"[]","required":true,"description":"发货信息"},{"id":9745974,"paramName":"mainOrderId","paramType":"Long","structureId":0,"example":"2954405421111","required":true,"description":"主订单id值"},{"id":9745975,"paramName":"deliveryStatus","paramType":"List<SplitDeliveryGoodsStatusRequest>","structureId":416653,"example":"[]","required":false,"description":"发货状态"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9745976,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9745977,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":9745976,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":9745977,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":10,"type":"业务错误","description":"当前发货高峰期,触发了发货接口频控限流","solution":"降低发货接口的QPS,稍后再试"},{"code":21,"type":"业务错误","description":"业务参数校验异常","solution":"检查参数"},{"code":62294117,"type":"业务错误","description":"请输入拆单发货包裹信息","solution":"检查参数"},{"code":62294116,"type":"业务错误","description":"发送快递数量到达上限,请分批次操作","solution":"检查参数"},{"code":62294118,"type":"业务错误","description":"请输入正确的快递包裹信息","solution":"检查参数"},{"code":62294119,"type":"业务错误","description":"请输入正确的货品信息","solution":"检查参数"},{"code":62294120,"type":"业务错误","description":"赠品订单发货时须传入主品订单号,发货失败","solution":"检查参数"},{"code":3608,"type":"业务错误","description":"订单鉴权失败","solution":"订单的操作权限不属于该商家"},{"code":3615,"type":"业务错误","description":"订单状态不支持发货(重复发货)或者快递公司编号不对","solution":"检查参数"},{"code":62294303,"type":"业务错误","description":"该订单暂不允许拆单发货","solution":"检查参数"},{"code":62294304,"type":"业务错误","description":"有退款中订单,不能发货","solution":"检查参数"},{"code":62294305,"type":"业务错误","description":"当前发货件数超过订单商品数,无法发货","solution":"检查参数"},{"code":62294307,"type":"业务错误","description":"订单仅待发货、部分发货状态可继续发货","solution":"检查参数"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderGoodsSplitDeliverRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderGoodsSplitDeliverResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderGoodsSplitDeliverRequest request = new OpenOrderGoodsSplitDeliverRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<SplitDeliveryGoodsPackageItemDTO> list2 = new ArrayList<>();\n        SplitDeliveryGoodsPackageItemDTO obj1 = new SplitDeliveryGoodsPackageItemDTO();\n        List<SplitDeliveryGoodsOrderItemDTO> list1 = new ArrayList<>();\n        SplitDeliveryGoodsOrderItemDTO obj2 = new SplitDeliveryGoodsOrderItemDTO();\n        obj2.setDeliveryNum(1);\n        obj2.setOid(1);\n        list1.add(obj2);\n        obj1.setDeliveryGoodsInfoList(list1);\n        obj1.setExpressCode(0);\n        obj1.setExpressNo(\"0\");\n        list2.add(obj1);\n        request.setDeliveryItemInfoList(list2);\n        request.setMainOrderId(0);\n\n        OpenOrderGoodsSplitDeliverResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/order/goods/split/deliver' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.goods.split.deliver' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1702541018431' \\\n-d 'param=%7B%22deliveryItemInfoList%22%3A%5B%7B%22deliveryGoodsInfoList%22%3A%5B%7B%22deliveryNum%22%3A1%2C%22oid%22%3A1%7D%5D%2C%22expressCode%22%3A0%2C%22expressNo%22%3A%220%22%7D%5D%2C%22mainOrderId%22%3A0%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1789375454821}},{"action":"open.order.search.index.batch","title":"批量获取密文索引串","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.search.index.batch&version=1","sha256":"fa0976db4e239f08d1f1076279d7c6144d42bd05830a022988f3c3b7d5659013","bytes":5498},"official":{"id":0,"name":"open.order.search.index.batch","cnName":"批量获取密文索引串","method":2,"version":1,"description":"根据明文信息批量获取密文索引串,可根据密文索引串进行比对合单","needPermission":false,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":140717,"paramName":"indexParamList","paramType":"List<IndexParamData>","structureId":11768,"example":"[]","required":true,"description":"批量检索参数列表,每次请求,报文条数不超过100条"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":140718,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":140719,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":140718,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":140719,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":140720,"paramName":"indexResultList","paramType":"List<IndexResultData>","structureId":11767,"example":"[]","required":false,"description":"检索结果"}],"errorCodes":[{"code":700005,"type":"系统错误","description":"获取检索信息失败","solution":"请联系快手相关人员"},{"code":700006,"type":"参数非法","description":"报文长度过长","solution":"请减少一次请求中报文个数"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderSearchIndexBatchRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderSearchIndexBatchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderSearchIndexBatchRequest request = new OpenOrderSearchIndexBatchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<IndexParamData> list1 = new ArrayList<>();\n        IndexParamData obj1 = new IndexParamData();\n        obj1.setPlainText(\"13112341234\");\n        obj1.setType(1);\n        list1.add(obj1);\n        request.setIndexParamList(list1);\n\n        OpenOrderSearchIndexBatchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/order/search/index/batch' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.search.index.batch' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1633779025215' \\\n-d 'param=%7B%22indexParamList%22%3A%5B%7B%22plainText%22%3A%2213112341234%22%2C%22type%22%3A1%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"indexResultList\": [\n    {\n      \"plainText\": \"13212411241\",\n      \"searchIndex\": \"fsfsdfa\",\n      \"errorCode\": 1,\n      \"errorMsg\": \"成功\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698733305444}},{"action":"open.order.takerate.inquiry","title":"订单费率查询","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.order.takerate.inquiry&version=1","sha256":"16ea8a63e6f2fd1cec87b3aec778a0471a4cf55a80fa42d27bfe0393ae0feefe","bytes":5530},"official":{"id":0,"name":"open.order.takerate.inquiry","cnName":"订单费率查询","method":1,"version":1,"description":"结算侧为开放平台提供计费试算查询服务,帮助商户通过开放平台可以在订单未发生前试查大概的TR收费情况。该试算接口查到的数据唯一等于下单时刻的TR费率,真实收取值还是按订单实际收取为准。","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":4518732,"paramName":"orderTime","paramType":"Long","structureId":0,"example":"1641975984788","required":true,"description":"时间戳格式"},{"id":4518733,"paramName":"params","paramType":"Map","structureId":0,"example":"{\n    \"categoryId\": \"1015\",\n    \"merchantShopType\": \"1\"\n  }","required":true,"description":"categoryId、merchantShopType\n分别为,商品类目id、店铺类型"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4518736,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4518737,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":4518734,"paramName":"trRuleValueType","paramType":"String","structureId":0,"example":"1","required":false,"description":"TakeRate费率类型"},{"id":4518735,"paramName":"ruleValue","paramType":"String","structureId":0,"example":"50","required":false,"description":"费率"},{"id":4518736,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":4518737,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenOrderTakerateInquiryRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenOrderTakerateInquiryResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenOrderTakerateInquiryRequest request = new OpenOrderTakerateInquiryRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderTime(1641975984788);\n        request.setParams({\n    \"categoryId\": \"1015\",\n    \"merchantShopType\": \"1\"\n  });\n\n        OpenOrderTakerateInquiryResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/order/takerate/inquiry' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.order.takerate.inquiry' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1703749962767' \\\n-d 'param=%7B%22orderTime%22%3A1641975984788%2C%22params%22%3A%7B%22categoryId%22%3A%221015%22%2C%22merchantShopType%22%3A%221%22%7D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"trRuleValueType\": \"1\",\n  \"ruleValue\": \"50\",\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1703750387277}},{"action":"open.promotion.crowd.create","title":"新建人群包","category":"营销API","risk":"W","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.promotion.crowd.create&version=1","sha256":"e573108170ab2508b56053f4134748a688756cc9e0c1dc5cb0029bbf10279947","bytes":5577},"official":{"id":0,"name":"open.promotion.crowd.create","cnName":"新建人群包","method":2,"version":1,"description":"新建人群包","needPermission":true,"permissionScope":"merchant_servicemarket,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2563105,"paramName":"crowdDesc","paramType":"String","structureId":0,"example":"人群包描述","required":true,"description":"人群包描述"},{"id":2563106,"paramName":"extJson","paramType":"String","structureId":0,"example":"\"\"","required":false,"description":"附加参数"},{"id":2563107,"paramName":"crowdName","paramType":"String","structureId":0,"example":"近30天购买","required":true,"description":"人群包名称"},{"id":2563108,"paramName":"tagCondition","paramType":"List<TagCondition>","structureId":154474,"example":" [\n    {\n      \"tag_name\": \"item_detail_page_pv\",\n      \"condition_operator\": \"L_BETWEEN\",\n      \"value\": [\n        1,\n        1000\n      ],\n      \"start_time\": \"20221101\",\n      \"end_time\": \"20221117\"\n    }\n  ]","required":true,"description":"标签信息"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2563109,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2563110,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2563109,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":2563110,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":2563111,"paramName":"data","paramType":"Long","structureId":0,"example":"43521213","required":false,"description":"人群包ID"}],"errorCodes":[{"code":11,"type":"系统错误","description":"创建人群包失败","solution":"创建人群包失败,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.promotion.OpenPromotionCrowdCreateRequest;\nimport com.kuaishou.merchant.open.api.response.promotion.OpenPromotionCrowdCreateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"unknown domain\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenPromotionCrowdCreateRequest request = new OpenPromotionCrowdCreateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenPromotionCrowdCreateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'unknown domain/open/promotion/crowd/create' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.promotion.crowd.create' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1668765111774' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_servicemarket","desc":"电商服务市场信息权限","categoryList":["医疗服务-互联网医院","直播服务-直播工具","直播服务-直播间装修","营销管理-促销工具","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-直播营销工具"]},{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","营销管理-主图水印","营销管理-分销管理","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1730988094976}},{"action":"open.promotion.crowd.detail","title":"获取人群包详情","category":"营销API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.promotion.crowd.detail&version=1","sha256":"27b1cfa4b1074d6fe08909daaf765aed884efb74c6538fcf541d5ea9e0062a2c","bytes":5193},"official":{"id":0,"name":"open.promotion.crowd.detail","cnName":"获取人群包详情","method":2,"version":1,"description":"获取人群包详情","needPermission":true,"permissionScope":"merchant_servicemarket,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":5152601,"paramName":"crowdId","paramType":"Long","structureId":0,"example":"1213123","required":true,"description":"人群包ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":5152602,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":5152603,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":5152602,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":5152603,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":5152604,"paramName":"data","paramType":"OpenCrowdDTO","structureId":154424,"example":"{\n  \"data\": {\n    \"id\": \"25005242\",\n    \"name\": \"KESS_RPC_测试人群包NAME-RENAME3\",\n    \"desc\": \"KESS_RPC_测试人群包DESC-RENAME3\",\n    \"type\": 2,\n    \"user_num\": \"4\",\n    \"update_time\": \"1668759018544\",\n    \"update_status\": 2,\n    \"expire\": false\n  }\n}","required":false,"description":"人群包详情"}],"errorCodes":[{"code":4290601,"type":"业务错误","description":"商家人群包不匹配","solution":"商家人群包不匹配"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.promotion.OpenPromotionCrowdDetailRequest;\nimport com.kuaishou.merchant.open.api.response.promotion.OpenPromotionCrowdDetailResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"unknown domain\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenPromotionCrowdDetailRequest request = new OpenPromotionCrowdDetailRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenPromotionCrowdDetailResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'unknown domain/open/promotion/crowd/detail' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.promotion.crowd.detail' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1668765340668' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_servicemarket","desc":"电商服务市场信息权限","categoryList":["医疗服务-互联网医院","直播服务-直播工具","直播服务-直播间装修","营销管理-促销工具","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-直播营销工具"]},{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","营销管理-主图水印","营销管理-分销管理","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1717744781449}},{"action":"open.promotion.crowd.edit","title":"编辑人群包","category":"营销API","risk":"W","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.promotion.crowd.edit&version=1","sha256":"c96d1da531ceb570adcf7545c15b1b0e119c28412c422daeb947e4b2dbfffb09","bytes":5424},"official":{"id":0,"name":"open.promotion.crowd.edit","cnName":"编辑人群包","method":2,"version":1,"description":"编辑人群包","needPermission":true,"permissionScope":"merchant_servicemarket,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2563083,"paramName":"crowdDesc","paramType":"String","structureId":0,"example":"\"\"","required":true,"description":"人群包描述"},{"id":2563084,"paramName":"extJson","paramType":"String","structureId":0,"example":"\"\"","required":false,"description":"附加参数"},{"id":2563085,"paramName":"crowdName","paramType":"String","structureId":0,"example":"人群包名称","required":true,"description":"人群包名称"},{"id":2563086,"paramName":"tagCondition","paramType":"List<TagCondition>","structureId":154474,"example":"[\n    {\n      \"tag_name\": \"profile_page_pv\",\n      \"condition_operator\": \"BETWEEN_R\",\n      \"value\": [\n        1,\n        1000\n      ],\n      \"start_time\": \"20221101\",\n      \"end_time\": \"20221117\"\n    }\n  ]","required":true,"description":"标签信息"},{"id":2563087,"paramName":"crowdId","paramType":"Long","structureId":0,"example":"31231233","required":true,"description":"人群包ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2563088,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2563089,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2563088,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":2563089,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.promotion.OpenPromotionCrowdEditRequest;\nimport com.kuaishou.merchant.open.api.response.promotion.OpenPromotionCrowdEditResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"unknown domain\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenPromotionCrowdEditRequest request = new OpenPromotionCrowdEditRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenPromotionCrowdEditResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'unknown domain/open/promotion/crowd/edit' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.promotion.crowd.edit' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1668764942896' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_servicemarket","desc":"电商服务市场信息权限","categoryList":["医疗服务-互联网医院","直播服务-直播工具","直播服务-直播间装修","营销管理-促销工具","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-直播营销工具"]},{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","营销管理-主图水印","营销管理-分销管理","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1689218368413}},{"action":"open.promotion.crowd.predict","title":"预估人群包圈选数量","category":"营销API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.promotion.crowd.predict&version=1","sha256":"48b7392d583252387659ab88a6ed5042aad7c57125c44bb75ed387c1f6bf9227","bytes":5172},"official":{"id":0,"name":"open.promotion.crowd.predict","cnName":"预估人群包圈选数量","method":1,"version":1,"description":"预估人群包圈选数量","needPermission":true,"permissionScope":"merchant_servicemarket,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2563118,"paramName":"extJson","paramType":"String","structureId":0,"example":"\"\"","required":false,"description":"附加参数"},{"id":2563119,"paramName":"tagCondition","paramType":"List<TagCondition>","structureId":154474,"example":"[\n    {\n      \"tag_name\": \"profile_page_pv\",\n      \"condition_operator\": \"BETWEEN_R\",\n      \"value\": [\n        1,\n        1000\n      ],\n      \"start_time\": \"20221101\",\n      \"end_time\": \"20221117\"\n    }\n  ]","required":true,"description":"标签信息"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2563120,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2563121,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2563120,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":2563121,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":2563122,"paramName":"data","paramType":"Long","structureId":0,"example":"122","required":false,"description":"圈选人数"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.promotion.OpenPromotionCrowdPredictRequest;\nimport com.kuaishou.merchant.open.api.response.promotion.OpenPromotionCrowdPredictResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"unknown domain\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenPromotionCrowdPredictRequest request = new OpenPromotionCrowdPredictRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenPromotionCrowdPredictResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'unknown domain/open/promotion/crowd/predict' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.promotion.crowd.predict' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1668764784367' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_servicemarket","desc":"电商服务市场信息权限","categoryList":["医疗服务-互联网医院","直播服务-直播工具","直播服务-直播间装修","营销管理-促销工具","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-直播营销工具"]},{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","营销管理-主图水印","营销管理-分销管理","营销管理-快分销工具","营销管理-折扣管理","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1689218324105}},{"action":"open.refund.comment.basic.list","title":"获取售后协商历史","category":"售后退款API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.refund.comment.basic.list&version=1","sha256":"68117d44a37ca4cd44ffd3146ec0418e076310d22bef029dc0ce0808cb5cf5b8","bytes":4808},"official":{"id":0,"name":"open.refund.comment.basic.list","cnName":"获取售后协商历史","method":1,"version":1,"description":"获取售后协商历史信息,包含节点、角色和时间","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":3943223,"paramName":"refundId","paramType":"Long","structureId":0,"example":"1234567","required":true,"description":"退款id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3943224,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3943225,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3943224,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":3943225,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":3943226,"paramName":"data","paramType":"List<RefundBasicCommentDTO>","structureId":180134,"example":"[]","required":false,"description":"结果数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenRefundCommentBasicListRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenRefundCommentBasicListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenRefundCommentBasicListRequest request = new OpenRefundCommentBasicListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(1234567);\n\n        OpenRefundCommentBasicListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/refund/comment/basic/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.refund.comment.basic.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1689314829550' \\\n-d 'param=%7B%22refundId%22%3A1234567%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"title\": \"1\",\n      \"role\": 1,\n      \"createTime\": 1\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1695093313567}},{"action":"open.refund.confirm.and.send","title":"商家确认收货并发货","category":"售后退款API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.refund.confirm.and.send&version=1","sha256":"81e80d189b02c4759b21938c7de940e9f2f0c66db88cee5825cb2036b6c906f3","bytes":5194},"official":{"id":0,"name":"open.refund.confirm.and.send","cnName":"商家确认收货并发货","method":2,"version":1,"description":"换货场景下,商家确认收到了买家寄回的旧商品,并给买家寄送了换货的新商品,商家确认收货并发换货","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":3338151,"paramName":"refundId","paramType":"Long","structureId":0,"example":"2016300011212478","required":true,"description":"退款单id"},{"id":3338152,"paramName":"expressNo","paramType":"String","structureId":0,"example":"SF1232345","required":true,"description":"快递单号"},{"id":3338153,"paramName":"expressCode","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"快递公司code,详情查看[快递公司编码@https://open.kwaixiaodian.com/docs/dev?pageSign=3d4aa40abaab83c4a5f5839f6848dcb71614264033704]"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3338154,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3338155,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3338154,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":3338155,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenRefundConfirmAndSendRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenRefundConfirmAndSendResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenRefundConfirmAndSendRequest request = new OpenRefundConfirmAndSendRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(2016300011212478);\n        request.setExpressNo(\"SF1232345\");\n        request.setExpressCode(1);\n\n        OpenRefundConfirmAndSendResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/refund/confirm/and/send' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.refund.confirm.and.send' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1679298210866' \\\n-d 'param=%7B%22refundId%22%3A2016300011212478%2C%22expressNo%22%3A%22SF1232345%22%2C%22expressCode%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1691659783146}},{"action":"open.refund.direct.refund","title":"商家直接退款给买家","category":"售后退款API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.refund.direct.refund&version=1","sha256":"521bb9ef66c793769d6281bc063dc540964ef93fc88dc02d3de344720dd72388","bytes":5245},"official":{"id":0,"name":"open.refund.direct.refund","cnName":"商家直接退款给买家","method":2,"version":1,"description":"适用于退货退款和换货场景,商家操作直接退款给消费者,无需寄回商品,因此请谨慎操作:\n1.退货退款场景,待商家处理买家退货退款诉求时,可以直接退款给买家。\n2.换货场景,换货单在待处理状态、商家同意换货后、商家拒绝换货后、买家申请平台介入后,都可以直接退款给买家;换货单在商家确认收货并发货后、完整的换货流程结束后,不可以直接退款给买家","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":3376987,"paramName":"refundId","paramType":"Long","structureId":0,"example":"23193001789163626","required":true,"description":"售后单id"},{"id":3376988,"paramName":"refundVersion","paramType":"Long","structureId":0,"example":"1689315288179","required":true,"description":"售后单版本信息,值为为售后单的最近更新时间updateTime时间戳值"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3376989,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3376990,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3376989,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":3376990,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenRefundDirectRefundRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenRefundDirectRefundResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenRefundDirectRefundRequest request = new OpenRefundDirectRefundRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(12345);\n        request.setRefundVersion(12345);\n\n        OpenRefundDirectRefundResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/refund/direct/refund' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.refund.direct.refund' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1684132324371' \\\n-d 'param=%7B%22refundId%22%3A12345%2C%22refundVersion%22%3A12345%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1754400247167}},{"action":"open.refund.reject","title":"商家拒绝收货退款","category":"售后退款API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.refund.reject&version=1","sha256":"805c2846afcd7d90fac790d278549a089a06a81a9c7000b3c6462ea3ab03d4c9","bytes":8442},"official":{"id":0,"name":"open.refund.reject","cnName":"商家拒绝收货退款","method":2,"version":1,"description":"1.商家拒绝仅退款申请、拒绝退货退款申请、拒绝换货申请\n2.商家拒绝收货\n3.商家修改售后单类型(退货退款——>仅退款,仅退款——>退货退款,换货——>退货退款)","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":3376731,"paramName":"refundId","paramType":"Long","structureId":0,"example":"129230087","required":true,"description":"退款单id"},{"id":3376732,"paramName":"reasonCode","paramType":"Integer","structureId":0,"example":"11","required":true,"description":"拒绝原因code,详情查看获取售后拒绝原因列表API open.refund.reject.reason"},{"id":3376733,"paramName":"rejectDesc","paramType":"String","structureId":0,"example":"已协商完毕 不需要退款","required":false,"description":"拒绝相关描述,该字段是否必填由获取售后拒绝原因列表中返回的requiredRejectDesc字段决定"},{"id":3376734,"paramName":"rejectImages","paramType":"List<String>","structureId":0,"example":"[]","required":false,"description":"拒绝相关图片,最多支持6张图片,该字段是否必填由获取售后拒绝原因列表中返回的requiredRejectImage字段决定"},{"id":3376735,"paramName":"refundVersion","paramType":"Long","structureId":0,"example":"1617096402066","required":true,"description":"退款单版本,退款详情或退款列表中返回的更新时间(updateTime)字段"},{"id":3376738,"paramName":"editHandlingWay","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"修改的退款方式"},{"id":3376739,"paramName":"editReturnAddressId","paramType":"Long","structureId":0,"example":"12345","required":false,"description":"修改的退货地址"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3376736,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3376737,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":3376736,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":3376737,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回码描述"}],"errorCodes":[{"code":21,"type":"业务错误","description":"当前退款状态不可操作","solution":"当前退款状态不可操作,请刷新后重试"},{"code":300006,"type":"业务错误","description":"退款单id为空","solution":"退款单id为空,请检查"},{"code":300011,"type":"业务错误","description":"退款单不存在","solution":"退款单不存在,请检查"},{"code":300101,"type":"业务错误","description":"拒绝原因无效","solution":"拒绝原因无效"},{"code":300102,"type":"业务错误","description":"当前拒绝原因,描述为必填","solution":"当前拒绝原因,描述为必填,请补充"},{"code":300103,"type":"业务错误","description":"当前拒绝原因,图片为必填","solution":"当前拒绝原因,图片为必填,请补充"},{"code":300105,"type":"业务错误","description":"拒绝退款时接口返回“业务处理失败”,“数据已经发生变更”。原因是退款单有版本概念,退款单数据有变更时,版本也会变更,版本为最近变更的时间戳,如果更改老版本的退款单会报错","solution":"请重新调用退款单详情API,获取最新的updateTime,拒绝退款接口的请求入参refundVersion必须使用最新的退款详情的updatetime字段"},{"code":300106,"type":"业务错误","description":"图片转存失败","solution":"图片转存失败"},{"code":300110,"type":"业务错误","description":"当前拒绝原因,描述过长","solution":"当前拒绝原因,描述过长,请调整"},{"code":3616,"type":"业务错误","description":"当前退款单状态已更新","solution":"当前退款单状态已更新,请刷新后重试"},{"code":3636,"type":"业务错误","description":"当前退款单协商状态已更新","solution":"当前退款单协商状态已更新,请刷新后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenRefundRejectRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenRefundRejectResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenRefundRejectRequest request = new OpenRefundRejectRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(129230087);\n        request.setReasonCode(11);\n        request.setRejectDesc(\"已协商完毕 不需要退款\");\n        List<String> list1 = new ArrayList<>();\n        list1.add(\"\");\n        request.setRejectImages(list1);\n        request.setRefundVersion(1617096402066);\n        request.setEditHandlingWay(1);\n        request.setEditReturnAddressId(12345);\n\n        OpenRefundRejectResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/refund/reject' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.refund.reject' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1684131781794' \\\n-d 'param=%7B%22refundId%22%3A129230087%2C%22reasonCode%22%3A11%2C%22rejectDesc%22%3A%22%E5%B7%B2%E5%8D%8F%E5%95%86%E5%AE%8C%E6%AF%95+%E4%B8%8D%E9%9C%80%E8%A6%81%E9%80%80%E6%AC%BE%22%2C%22rejectImages%22%3A%5B%5D%2C%22refundVersion%22%3A1617096402066%2C%22editHandlingWay%22%3A1%2C%22editReturnAddressId%22%3A12345%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":984,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698736472873}},{"action":"open.refund.reject.reason","title":"获取售后拒绝原因列表","category":"售后退款API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.refund.reject.reason&version=1","sha256":"365a750dad0a3dbc8859023bdd77c55839893efba7499fce3336ab2ce0c0858e","bytes":5030},"official":{"id":0,"name":"open.refund.reject.reason","cnName":"获取售后拒绝原因列表","method":1,"version":1,"description":"根据售后单ID获取仅退款和退货退款拒绝原因列表","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1065191,"paramName":"refundId","paramType":"Long","structureId":0,"example":"129230087","required":true,"description":"退款单id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1065192,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1065193,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":1065192,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":1065193,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回码描述"},{"id":1065194,"paramName":"data","paramType":"List<MerchantRefundRejectReasonView>","structureId":1418,"example":"[]","required":false,"description":"原因列表"}],"errorCodes":[{"code":300011,"type":"业务错误","description":"退款单不存在","solution":"退款单不存在,请检查"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenRefundRejectReasonRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenRefundRejectReasonResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenRefundRejectReasonRequest request = new OpenRefundRejectReasonRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(129230087);\n\n        OpenRefundRejectReasonResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/refund/reject/reason' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.refund.reject.reason' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135193872' \\\n-d 'param=%7B%22refundId%22%3A129230087%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"SUCCESS\",\"data\":[{\"code\":10,\"desc\":\"已协商完毕不退款\",\"tip\":\"您已经和买家沟通完毕,买家取消退款\",\"requiredRejectDesc\":true,\"requiredRejectImage\":true}]}"}],"viewNum":701,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698736853525}},{"action":"open.refund.submit.returnInfo","title":"商家代客填写退货单号","category":"售后退款API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.refund.submit.returnInfo&version=1","sha256":"9fc0dcad1f1d4751620f0633872424b7797e660d9718402823b9e1004412d45a","bytes":5207},"official":{"id":0,"name":"open.refund.submit.returnInfo","cnName":"商家代客填写退货单号","method":2,"version":1,"description":"商家代客填写退货单号","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":3939502,"paramName":"refundId","paramType":"Long","structureId":0,"example":"12412413","required":true,"description":"退款单号"},{"id":3939503,"paramName":"expressNo","paramType":"String","structureId":0,"example":"1241241","required":true,"description":"快递单号"},{"id":3939504,"paramName":"expressCode","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"快递公司编号,详情查看[快递公司编码@https://open.kwaixiaodian.com/docs/dev?pageSign=3d4aa40abaab83c4a5f5839f6848dcb71614264033704]"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3939311,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3939312,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":3939311,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":3939312,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":1000,"type":"业务错误","description":"售后状态已更新","solution":"售后状态已更新,请刷新后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenRefundSubmitReturninfoRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenRefundSubmitReturninfoResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenRefundSubmitReturninfoRequest request = new OpenRefundSubmitReturninfoRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(12412413);\n        request.setExpressNo(\"1241241\");\n        request.setExpressCode(10);\n\n        OpenRefundSubmitReturninfoResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/refund/submit/returnInfo' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.refund.submit.returnInfo' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1691649609165' \\\n-d 'param=%7B%22refundId%22%3A12412413%2C%22expressNo%22%3A%221241241%22%2C%22expressCode%22%3A10%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698736897539}},{"action":"open.score.master.get","title":"获取带货口碑分信息","category":"店铺API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.score.master.get&version=1","sha256":"4bb7d325a079ee8ec9b1dac6934a4603210109e7f016cdc57c3cf96279fc5f5e","bytes":4851},"official":{"id":0,"name":"open.score.master.get","cnName":"获取带货口碑分信息","method":1,"version":1,"description":"获取带货口碑分信息,包括总分和多维度分","needPermission":true,"permissionScope":"merchant_user,merchant_shop","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4507488,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4507489,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":4507488,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":4507489,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":4507490,"paramName":"data","paramType":"MasterScoreInfoData","structureId":225740,"example":"{}","required":false,"description":"结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.shop.OpenScoreMasterGetRequest;\nimport com.kuaishou.merchant.open.api.response.shop.OpenScoreMasterGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenScoreMasterGetRequest request = new OpenScoreMasterGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenScoreMasterGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/score/master/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.score.master.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1703579432291' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"hasData\": true,\n    \"summary\": {\n      \"hasData\": true,\n      \"showName\": \"达人口碑分\",\n      \"scoreStr\": \"4.30\"\n    },\n    \"scoreDim\": [\n      {\n        \"dimName\": \"商品口碑\",\n        \"dimScoreStr\": \"4.30\"\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1703729558054}},{"action":"open.score.shop.get","title":"获取店铺体验分信息","category":"店铺API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.score.shop.get&version=1","sha256":"8074e2e18ca8602ab32723ba533d836cdf4e06536c84ac6486a4110c5ae1e97d","bytes":4851},"official":{"id":0,"name":"open.score.shop.get","cnName":"获取店铺体验分信息","method":1,"version":1,"description":"获取店铺体验分信息,包括总分和多维度分","needPermission":true,"permissionScope":"merchant_user,merchant_shop","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4507494,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4507495,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":4507494,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":4507495,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":4507496,"paramName":"data","paramType":"KwaishopScoreInfoData","structureId":225748,"example":"{}","required":false,"description":"结果数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.shop.OpenScoreShopGetRequest;\nimport com.kuaishou.merchant.open.api.response.shop.OpenScoreShopGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenScoreShopGetRequest request = new OpenScoreShopGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenScoreShopGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/score/shop/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.score.shop.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1703579516557' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"hasData\": true,\n    \"summary\": {\n      \"hasData\": true,\n      \"showName\": \"店铺体验分\",\n      \"scoreStr\": \"4.30\"\n    },\n    \"scoreDim\": [\n      {\n        \"dimName\": \"\\\"商品体验\\\"\",\n        \"dimScoreStr\": \"4.30\"\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1703729535605}},{"action":"open.security.instant.decrypt.batch","title":"批量解密时效密文信息","category":"安全API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.security.instant.decrypt.batch&version=1","sha256":"0a2df64dd3f5ed94a32d31e0b6c5aeca756d4f094987bca21d710d20b2d2f9a5","bytes":5505},"official":{"id":0,"name":"open.security.instant.decrypt.batch","cnName":"批量解密时效密文信息","method":2,"version":1,"description":"批量解密时效密文信息","needPermission":false,"permissionScope":"user_info,merchant_security","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":1349824,"paramName":"decryptDataList","paramType":"List<PeriodDecryptData>","structureId":97189,"example":"[]","required":true,"description":"批量解密list,每次请求,报文条数不超过100条。"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1349825,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1349826,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1349825,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1349826,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":1349827,"paramName":"data","paramType":"List<PeriodDecryptResult>","structureId":97188,"example":"[]","required":false,"description":"解密结果"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.security.OpenSecurityInstantDecryptBatchRequest;\nimport com.kuaishou.merchant.open.api.response.security.OpenSecurityInstantDecryptBatchResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://gw-merchant-staging.test.gifshow.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSecurityInstantDecryptBatchRequest request = new OpenSecurityInstantDecryptBatchRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        List<PeriodDecryptData> list1 = new ArrayList<>();\n        PeriodDecryptData obj1 = new PeriodDecryptData();\n        obj1.setEncryptedData(\"abcdef\");\n        list1.add(obj1);\n        request.setDecryptDataList(list1);\n\n        OpenSecurityInstantDecryptBatchResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://gw-merchant-staging.test.gifshow.com/open/security/instant/decrypt/batch' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.security.instant.decrypt.batch' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1656990729351' \\\n-d 'param=%7B%22decryptDataList%22%3A%5B%7B%22encryptedData%22%3A%22abcdef%22%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": [\n    {\n      \"errorCode\": 1,\n      \"errorMsg\": \"success\",\n      \"decryptedData\": \"abcefg\",\n      \"encryptedData\": \"nkNvHxgSUrXfu4LCDCeuYm3R1tXNiflmb4efPKlV2uxSXXxQL8nGXIpJ\"\n    }\n  ]\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1658210561922}},{"action":"open.seller.order.close","title":"关闭订单","category":"订单API","risk":"D","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.close&version=1","sha256":"a6f6187e0705a7f2a1d16484374d926fd9bb88c8e0e6f556859953b42fe68eb6","bytes":4568},"official":{"id":0,"name":"open.seller.order.close","cnName":"关闭订单","method":2,"version":1,"description":"关闭订单,待付款订单可关闭","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":362587,"paramName":"orderId","paramType":"Number","structureId":0,"example":"123","required":true,"description":"订单编号"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":362588,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":362589,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":362588,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":362589,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误码描述"}],"errorCodes":[{"code":2,"type":"业务错误","description":"订单状态已变更,不能关闭订单","solution":"订单状态已变更,不能关闭订单"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenSellerOrderCloseRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenSellerOrderCloseResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderCloseRequest request = new OpenSellerOrderCloseRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(123);\n\n        OpenSellerOrderCloseResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/close' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.close' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135164075' \\\n-d 'param=%7B%22orderId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"SUCCESS\"}"}],"viewNum":1026,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698819743786}},{"action":"open.seller.order.cps.detail","title":"获取分销订单详情","category":"快分销API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.cps.detail&version=1","sha256":"fc42a8c99bc7dcb908146621e804daac2486ad34a25d3b2015fdc81ef6ad3b6d","bytes":6252},"official":{"id":0,"name":"open.seller.order.cps.detail","cnName":"获取分销订单详情","method":1,"version":1,"description":"获取分销订单详情,未付款订单无法从该接口获取","needPermission":true,"permissionScope":"merchant_order,merchant_distribution","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":5974129,"paramName":"distributorId","paramType":"Number","structureId":0,"example":"123","required":false,"description":"分销者ID"},{"id":5974130,"paramName":"orderId","paramType":"Number","structureId":0,"example":"123","required":true,"description":"订单ID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":5974131,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":5974133,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":5974131,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":5974132,"paramName":"data","paramType":"MerchantCpsOrderInfoVO","structureId":34105,"example":"{}","required":false,"description":"CPS订单详情"},{"id":5974133,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回信息"}],"errorCodes":[{"code":11,"type":"系统错误","description":"系统异常","solution":"系统异常,请稍后重试"},{"code":2,"type":"业务错误","description":"订单查询结果为空,请检查订单是否已支付","solution":"未支付订单无法查询,请检查订单是否已支付"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.distribution.OpenSellerOrderCpsDetailRequest;\nimport com.kuaishou.merchant.open.api.response.distribution.OpenSellerOrderCpsDetailResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderCpsDetailRequest request = new OpenSellerOrderCpsDetailRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setDistributorId(123);\n        request.setOrderId(123);\n\n        OpenSellerOrderCpsDetailResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/seller/order/cps/detail' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.cps.detail' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1717483981962' \\\n-d 'param=%7B%22distributorId%22%3A123%2C%22orderId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"oid\": 123,\n    \"distributorId\": 123,\n    \"distributorName\": \"张三\",\n    \"sellerId\": 2234,\n    \"status\": 50,\n    \"settlementTime\": 158873010000,\n    \"settlementSuccessTime\": 158873010000,\n    \"refundTime\": 158873010000,\n    \"payTime\": 158873010000,\n    \"expressFee\": 12,\n    \"totalFee\": 100,\n    \"commissionRate\": 10,\n    \"estimatedIncome\": 1,\n    \"createTime\": 158873010000,\n    \"updateTime\": 158873010000,\n    \"platformDpRate\": 1,\n    \"activityUserId\": 1,\n    \"activityUserNickname\": \"nickname\",\n    \"investmentPromotionRate\": 100,\n    \"investmentPromotionAmount\": 100,\n    \"buyerOpenId\": \"abc\",\n    \"settlementBizType\": 1,\n    \"promoterServiceInCome\": 100,\n    \"promoterExcitationInCome\": 100,\n    \"investmentServiceInCome\": 100,\n    \"investmentExcitationInCome\": 100,\n    \"orderChannel\": \"直播间\",\n    \"activityId\": 123424,\n    \"itemId\": 98098\n  },\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":994,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_distribution","desc":"电商分销信息权限","categoryList":["客服管理-客服质检","客服管理-智能客服","店铺服务-供货管理","快分销","快赚客应用","营销管理-分销管理","营销管理-快分销工具"]},{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","平台对接应用","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-货源工具","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1729165124800}},{"action":"open.seller.order.cps.list","title":"获取分销订单列表(游标方式)","category":"快分销API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.cps.list&version=1","sha256":"c7a0c0b3672d939f102892ae1a105294be2d6c31d5b1deaa1b8eb3afceb4678c","bytes":8592},"official":{"id":0,"name":"open.seller.order.cps.list","cnName":"获取分销订单列表(游标方式)","method":1,"version":1,"description":"获取分销订单列表(游标方式)","needPermission":true,"permissionScope":"merchant_order,merchant_distribution","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":5974149,"paramName":"currentPage","paramType":"Long","structureId":0,"example":"1","required":false,"description":"当前页"},{"id":5974150,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"10","required":true,"description":"每页请求数量  最多一页80条"},{"id":5974151,"paramName":"sort","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"1时间降序 2时间升序  默认降序"},{"id":5974152,"paramName":"queryType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"1按创建时间查找  2按更新时间查找  默认创建时间"},{"id":5974153,"paramName":"type","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"订单状态,0未知 1 全部 2已付款 3 已收货 4 已结算5 已失效"},{"id":5974154,"paramName":"pcursor","paramType":"String","structureId":0,"example":"1588470900000_1","required":true,"description":"游标内容,第一次传空串,之后传上一次的pcursor返回值,若返回“nomore”则标识到底"},{"id":5974155,"paramName":"distributorId","paramType":"Long","structureId":0,"example":"123","required":false,"description":"分销者id"},{"id":5974156,"paramName":"beginTime","paramType":"Long","structureId":0,"example":"1543817629000","required":true,"description":"订单生成时间的开始时间,单位毫秒,不能小于90天前,且需要小于结束时间"},{"id":5974157,"paramName":"endTime","paramType":"Long","structureId":0,"example":"1543817629000","required":true,"description":"订单生成时间的截止时间,单位毫秒,不能小于90天前,且与开始时间的时间范围不大于1天  (与开始时间的时间范围建议做成随时可配置,该范围可能在活动期间随时变化,比如变成小时级或者分钟级)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":5974158,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":5974160,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":5974158,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":5974159,"paramName":"data","paramType":"MerchantCpsOrderListDataVO","structureId":34110,"example":"{}","required":false,"description":"cps订单列表"},{"id":5974160,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误码描述"}],"errorCodes":[{"code":11,"type":"系统错误","description":"系统异常","solution":"系统异常,请稍后重试"},{"code":1800910,"type":"业务错误","description":"最多可查询3天范围的订单","solution":"请缩短查询时间范围"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.distribution.OpenSellerOrderCpsListRequest;\nimport com.kuaishou.merchant.open.api.response.distribution.OpenSellerOrderCpsListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderCpsListRequest request = new OpenSellerOrderCpsListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setCurrentPage(1);\n        request.setPageSize(10);\n        request.setSort(1);\n        request.setQueryType(1);\n        request.setType(1);\n        request.setPcursor(\"1588470900000_1\");\n        request.setDistributorId(123);\n        request.setBeginTime(1543817629000);\n        request.setEndTime(1543817629000);\n\n        OpenSellerOrderCpsListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/seller/order/cps/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.cps.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1717484318195' \\\n-d 'param=%7B%22currentPage%22%3A1%2C%22pageSize%22%3A10%2C%22sort%22%3A1%2C%22queryType%22%3A1%2C%22type%22%3A1%2C%22pcursor%22%3A%221588470900000%5F1%22%2C%22distributorId%22%3A123%2C%22beginTime%22%3A1543817629000%2C%22endTime%22%3A1543817629000%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"currentPage\": 1,\n    \"pageSize\": 10,\n    \"totalPage\": 10,\n    \"totalSize\": 100,\n    \"beginTime\": 1588298200000,\n    \"endTime\": 1588298200000,\n    \"pcursor\": \"1588470900000_1\",\n    \"cpsOrderList\": [\n      {\n        \"oid\": 123,\n        \"distributorId\": 123,\n        \"distributorName\": \"张三\",\n        \"sellerId\": 2234,\n        \"status\": 50,\n        \"settlementTime\": 158873010000,\n        \"settlementSuccessTime\": 158873010000,\n        \"refundTime\": 158873010000,\n        \"payTime\": 158873010000,\n        \"expressFee\": 12,\n        \"totalFee\": 100,\n        \"commissionRate\": 10,\n        \"estimatedIncome\": 1,\n        \"createTime\": 158873010000,\n        \"updateTime\": 158873010000,\n        \"platformDpRate\": 1,\n        \"activityUserId\": 1,\n        \"activityUserNickname\": \"nickname\",\n        \"investmentPromotionRate\": 100,\n        \"investmentPromotionAmount\": 100,\n        \"buyerOpenId\": \"abc\",\n        \"settlementBizType\": 1,\n        \"promoterServiceInCome\": 100,\n        \"promoterExcitationInCome\": 100,\n        \"investmentServiceInCome\": 100,\n        \"investmentExcitationInCome\": 100,\n        \"orderChannel\": \"直播间\",\n        \"activityId\": 123424,\n        \"itemId\": 98098\n      }\n    ]\n  },\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":988,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_distribution","desc":"电商分销信息权限","categoryList":["客服管理-客服质检","客服管理-智能客服","店铺服务-供货管理","快分销","快赚客应用","营销管理-分销管理","营销管理-快分销工具"]},{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","平台对接应用","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-货源工具","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1729165114827}},{"action":"open.seller.order.fee.detail","title":"获取订单费用详情","category":"订单API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.fee.detail&version=1","sha256":"cdba252334c3d303d552331a92535887281ce3ba8718be4b96a22560083ceece","bytes":6018},"official":{"id":0,"name":"open.seller.order.fee.detail","cnName":"获取订单费用详情","method":1,"version":1,"description":"获取订单费用详情","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":6812540,"paramName":"orderId","paramType":"Long","structureId":0,"example":"123","required":true,"description":"订单id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":6812541,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":6812543,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":6812541,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":6812542,"paramName":"data","paramType":"MerchantOrderFeeInfoView","structureId":194,"example":"{}","required":false,"description":"金额信息"},{"id":6812543,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误码描述"}],"errorCodes":[{"code":11,"type":"系统错误","description":"服务异常","solution":"服务异常,请稍后重试"},{"code":2002,"type":"业务错误","description":"订单不存在","solution":"订单不存在,请检查"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenSellerOrderFeeDetailRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenSellerOrderFeeDetailResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderFeeDetailRequest request = new OpenSellerOrderFeeDetailRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(123);\n\n        OpenSellerOrderFeeDetailResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/seller/order/fee/detail' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.fee.detail' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135163992' \\\n-d 'param=%7B%22orderId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"oid\": 123,\n    \"sellerId\": 123,\n    \"totalFee\": 200,\n    \"discountFee\": 100,\n    \"expressFee\": 2,\n    \"platformAllowance\": 100,\n    \"sellerRecv\": 202,\n    \"buyerPay\": 102,\n    \"marketingInfoOuters\": [\n      {\n        \"type\": 1000,\n        \"subType\": 1002,\n        \"discountFee\": 100,\n        \"bearInfoList\": [\n          {\n            \"bearer\": 1,\n            \"bearAmount\": 100,\n            \"hasFund\": 1\n          }\n        ]\n      }\n    ],\n    \"productFeeInfoOuters\": [\n      {\n        \"id\": 123,\n        \"oid\": 123,\n        \"skuId\": 123,\n        \"originalPrice\": 200,\n        \"price\": 200,\n        \"num\": 1,\n        \"discountFee\": 100,\n        \"productMarketingInfoOuters\": [\n          {\n            \"type\": 1000,\n            \"subType\": 1002,\n            \"discountFee\": 100,\n            \"bearInfoList\": [\n              {\n                \"bearer\": 1,\n                \"bearAmount\": 100,\n                \"hasFund\": 1\n              }\n            ]\n          }\n        ]\n      }\n    ],\n    \"platformBearAmount\": 60,\n    \"merchantBearAmount\": 40\n  },\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":1095,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1758867495775}},{"action":"open.seller.order.goods.deliver","title":"订单发货","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.goods.deliver&version=1","sha256":"6321275150c9f06128e2fd5ba89b694415459b9b5660d85585cc2c2f9013884e","bytes":8668},"official":{"id":0,"name":"open.seller.order.goods.deliver","cnName":"订单发货","method":2,"version":1,"description":"1.只支持整单发货,只支持发主品订单\n2.赠品订单发货需使用[拆单发货API@https://open.kwaixiaodian.com/zone/docs/api?name=open.order.goods.split.deliver&version=1]\n3.订单为\"待发货\"状态&&无正在执行的退款&&订单API出参disableDeliveryReasonCode和riskCode没有值时,允许操作订单发货API\n4. 2024年11月25日后,对于使用相同快递单号重复调用该发货接口,会幂等返回发货成功\n5.无需物流类型订单暂不支持","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":9745898,"paramName":"returnAddressId","paramType":"Long","structureId":0,"example":"295440542222","required":false,"description":"商家退货地址,可从查询商家地址列表API-open.address.seller.list中获取退货地址"},{"id":9745899,"paramName":"qualityParam","paramType":"String","structureId":0,"example":"{\"reportUrl\":\"reportUrlValue\",\"qualityInspectionNo\":\"qualityInspectionNoValue\",\"sn\":\"snValue\"}","required":false,"description":"质检信息专用非必填,发货可忽略"},{"id":9745900,"paramName":"expressNo","paramType":"String","structureId":0,"example":"SF1233","required":true,"description":"快递单号"},{"id":9745901,"paramName":"expressCode","paramType":"Integer","structureId":0,"example":"123","required":true,"description":"快递公司code,由[快递公司编码@https://open.kwaixiaodian.com/docs/dev?pageSign=3d4aa40abaab83c4a5f5839f6848dcb71614264033704]获取"},{"id":9745902,"paramName":"orderId","paramType":"Number","structureId":0,"example":"123","required":true,"description":"订单编号"},{"id":9745903,"paramName":"serialNumberList","paramType":"List<String>","structureId":0,"example":"[\"1111\", \"222\"]","required":false,"description":"SN码列表,30位以内字符,当订单API出参orderDeliveryInfo.serialNumberInfo.serialType(商品码类型)值包含[1]时,发货必传SN码"},{"id":9745904,"paramName":"imeiList","paramType":"List<String>","structureId":0,"example":"[\"1111\", \"222\"]","required":false,"description":"IMEI码列表,15-17位数字,当订单API出参orderDeliveryInfo.serialNumberInfo.serialType(商品码类型)值包含[2]时,发货必传IMEI码"},{"id":9745908,"paramName":"uavModel","paramType":"List<String>","structureId":0,"example":"[\"1581F9DEC25AR029PLC2\", \"1581F9DEC25AR029PLC3\"]","required":false,"description":"无人机型号列表"},{"id":9745909,"paramName":"uavType","paramType":"List<String>","structureId":0,"example":"[\"1\", \"2\"]","required":false,"description":"无人机类型列表(新机:1,二手机:2)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":9745905,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":9745906,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":9745905,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":9745906,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误码描述"}],"errorCodes":[{"code":8,"type":"业务错误","description":"当前发货高峰期,触发了发货接口频控限流","solution":"降低发货接口的QPS,稍后再试"},{"code":11,"type":"业务错误","description":"不符合平台发货规则被拦截","solution":"详细错误请查看https://open.kwaixiaodian.com/faq/detail?cateId=all&pageSign=828764ce206176a998b68625e571b1bb1681733900197"},{"code":21,"type":"业务错误","description":"此订单正在执行退款或正在被审核,不能发货","solution":"订单正在退款,需要取消退款,才可以进行发货;\n订单进入风控审核,风控审核通过后重试即可"},{"code":3608,"type":"业务错误","description":"订单鉴权失败","solution":"订单的操作权限不属于该商家"},{"code":3615,"type":"业务错误","description":"订单状态不支持发货(重复发货)或者快递公司编号不对","solution":"请检查入参及订单状态"},{"code":4001,"type":"业务错误","description":"用户退货地址不存在","solution":"用户退货地址不存在,请检查"},{"code":200012,"type":"业务错误","description":"订单状态不支持发货","solution":"请检查订单状态"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenSellerOrderGoodsDeliverRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenSellerOrderGoodsDeliverResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderGoodsDeliverRequest request = new OpenSellerOrderGoodsDeliverRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(123);\n        request.setExpressNo(\"SF1233\");\n        request.setExpressCode(123);\n        request.setQualityParam(\"{\\\"reportUrl\\\":\\\"reportUrlValue\\\",\\\"qualityInspectionNo\\\":\\\"qualityInspectionNoValue\\\",\\\"sn\\\":\\\"snValue\\\"}\");\n        request.setReturnAddressId(295440542222);\n\n        OpenSellerOrderGoodsDeliverResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/goods/deliver' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.goods.deliver' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1630998306767' \\\n-d 'param=%7B%22orderId%22%3A123%2C%22expressNo%22%3A%22SF1233%22%2C%22expressCode%22%3A123%2C%22qualityParam%22%3A%22%7B%5C%22reportUrl%5C%22%3A%5C%22reportUrlValue%5C%22%2C%5C%22qualityInspectionNo%5C%22%3A%5C%22qualityInspectionNoValue%5C%22%2C%5C%22sn%5C%22%3A%5C%22snValue%5C%22%7D%22%2C%22returnAddressId%22%3A295440542222%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":1361,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1789373068434}},{"action":"open.seller.order.goods.logistics.append","title":"追加包裹","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.goods.logistics.append&version=1","sha256":"e25c81a04da892dd3f088041b61b1fb2b311870cda3d22ce766e002ac56a008a","bytes":6628},"official":{"id":0,"name":"open.seller.order.goods.logistics.append","cnName":"追加包裹","method":2,"version":1,"description":"订单追加发货包裹,入参oid只支持主品订单id\n1.普通订单状态为”已发货“后,可以使用追加包裹\n2.主品赠品订单为”已发货“,并且所有主品赠品商品都”全部发货“后,可以使用追加包裹","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":2070462,"paramName":"expressCode","paramType":"Integer","structureId":0,"example":"123","required":true,"description":"物流公司编码"},{"id":2070463,"paramName":"oid","paramType":"Long","structureId":0,"example":"123","required":true,"description":"订单id,只允许传主品订单id"},{"id":2070464,"paramName":"expressNo","paramType":"String","structureId":0,"example":"SF1233","required":true,"description":"快递单号"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":2070465,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":2070466,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":2070465,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":2070466,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"}],"errorCodes":[{"code":102,"type":"业务错误","description":"当前订单状态已变更,无法追加包裹","solution":"检查订单状态,普通订单为\"已发货\",主品赠品订单为\"已发货\"且主品赠品全部发货才可追加包裹"},{"code":103,"type":"业务错误","description":"包裹已达到最大数量,无法继续追加","solution":"不可以继续追加包裹"},{"code":104,"type":"业务错误","description":"同一订单,运单号不允许重复","solution":"请检查入参,同一订单勿重复追加相同的运单号"},{"code":11,"type":"业务错误","description":"运单号和物流公司不匹配","solution":"请检查入参,入参运单号不属于入参的物流公司"},{"code":111,"type":"业务错误","description":"不支持该订单类型补发","solution":"订单类型不匹配,请检查订单"},{"code":21,"type":"业务错误","description":"订单处于待买家选择车型状态,无法发货","solution":"请检查订单状态,买家选择后才可以发货"},{"code":3608,"type":"业务错误","description":"订单鉴权失败","solution":"请检查订单id和授权商家是否匹配,只允许操作商家所属的订单"},{"code":3615,"type":"业务错误","description":"订单处理失败","solution":"请检查入参和订单状态是否正确"},{"code":8,"type":"业务错误","description":"网络繁忙,请稍后再试","solution":"网络繁忙,请稍后再试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenSellerOrderGoodsLogisticsAppendRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenSellerOrderGoodsLogisticsAppendResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"unknown domain\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderGoodsLogisticsAppendRequest request = new OpenSellerOrderGoodsLogisticsAppendRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setExpressCode(123);\n        request.setOid(123);\n        request.setExpressNo(\"SF1233\");\n\n        OpenSellerOrderGoodsLogisticsAppendResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'unknown domain/open/seller/order/goods/logistics/append' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.goods.logistics.append' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1665498698517' \\\n-d 'param=%7B%22expressCode%22%3A123%2C%22oid%22%3A123%2C%22expressNo%22%3A%22SF1233%22%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\"\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1704870041643}},{"action":"open.seller.order.logistics.update","title":"更新订单物流信息","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.logistics.update&version=1","sha256":"f974924f7429377fb85b4a7f846cc6692ba553c52c9a61ad2f11b391498c42b7","bytes":5812},"official":{"id":0,"name":"open.seller.order.logistics.update","cnName":"更新订单物流信息","method":2,"version":1,"description":"根据订单id和包裹id更新订单的物流信息,支持主赠订单","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":5192524,"paramName":"expressCode","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"快递公司code"},{"id":5192525,"paramName":"expressNo","paramType":"String","structureId":0,"example":"SF123","required":true,"description":"快递单号"},{"id":5192526,"paramName":"logisticsId","paramType":"Long","structureId":0,"example":"123","required":false,"description":"包裹id,支持传入订单详情API出参orderLogisticsInfo. logisticsId(主品订单包裹id)或subOrderInfo. subOrderLogisticsInfo.logisticsId(赠品订单包裹id)"},{"id":5192527,"paramName":"orderId","paramType":"Number","structureId":0,"example":"123","required":true,"description":"订单id,只允许传入主品订单id,即获取订单详情API出参orderBaseInfo.oid(订单id)"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":5192528,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":5192529,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":5192528,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":5192529,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误码描述"}],"errorCodes":[{"code":11,"type":"业务错误","description":"运单揽收时间早于支付时间","solution":"运单揽收时间早于支付时间,请检查"},{"code":21,"type":"业务错误","description":"真宝仓订单不支持自主修改运单号","solution":"若因运单上传错误需要修改,请联系真宝仓运营协助处理"},{"code":3608,"type":"业务错误","description":"订单鉴权失败","solution":"订单鉴权失败"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenSellerOrderLogisticsUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenSellerOrderLogisticsUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderLogisticsUpdateRequest request = new OpenSellerOrderLogisticsUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(123);\n        request.setExpressNo(\"SF123\");\n        request.setExpressCode(1);\n\n        OpenSellerOrderLogisticsUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/logistics/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.logistics.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135163955' \\\n-d 'param=%7B%22orderId%22%3A123%2C%22expressNo%22%3A%22SF123%22%2C%22expressCode%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":738,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1719221488600}},{"action":"open.seller.order.note.add","title":"添加订单插旗备注","category":"订单API","risk":"W","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.note.add&version=1","sha256":"3cc35c30c3b22fae23fe395852d4ca6a0e9725e72061cda3ebe745a49b7e36f8","bytes":5587},"official":{"id":0,"name":"open.seller.order.note.add","cnName":"添加订单插旗备注","method":2,"version":1,"description":"添加订单插旗和备注信息,插旗颜色无法清除,默认GREY,备注为追加逻辑,可添加空备注","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":409248,"paramName":"orderId","paramType":"Number","structureId":0,"example":"123","required":true,"description":"订单编号"},{"id":409249,"paramName":"staffId","paramType":"Number","structureId":0,"example":"123","required":false,"description":"员工ID"},{"id":409250,"paramName":"note","paramType":"String","structureId":0,"example":"备注","required":false,"description":"备注  字符数<=200"},{"id":409251,"paramName":"flag","paramType":"Integer","structureId":0,"example":"3","required":false,"description":"0:表示不插旗; 1:RED; 2:YELLOW; 3:GREEN; 4:BLUE; 5:PURPLE; 6:GREY;"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":409252,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":409253,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":409252,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":409253,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误码描述"}],"errorCodes":[{"code":9,"type":"业务错误","description":"订单结转中","solution":"订单结转中,请稍后重试"},{"code":21,"type":"业务错误","description":"订单号为空","solution":"订单号为空,请检查"},{"code":5001,"type":"系统错误","description":"服务错误","solution":"服务错误,请稍后重试"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenSellerOrderNoteAddRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenSellerOrderNoteAddResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderNoteAddRequest request = new OpenSellerOrderNoteAddRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(123);\n        request.setStaffId(123);\n        request.setNote(\"备注\");\n        request.setFlag(3);\n\n        OpenSellerOrderNoteAddResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/note/add' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.note.add' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135163939' \\\n-d 'param=%7B%22orderId%22%3A123%2C%22staffId%22%3A123%2C%22note%22%3A%22%E5%A4%87%E6%B3%A8%22%2C%22flag%22%3A3%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":500,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1770112494414}},{"action":"open.seller.order.refund.approve","title":"商家同意退款","category":"售后退款API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.refund.approve&version=1","sha256":"0296820451371b79a6c7135e2109526ebef8ddfb93268ae8da038e47c935069a","bytes":7399},"official":{"id":0,"name":"open.seller.order.refund.approve","cnName":"商家同意退款","method":2,"version":1,"description":"1.售后单类型为仅退款时,调用该API完成退款操作\n2.售后单类型为退货退款时,使用[open.seller.order.refund.returngoods.approve(商家同意退货API)@https://open.kwaixiaodian.com/zone/docs/api?name=open.seller.order.refund.returngoods.approve&version=1]完成同意退货操作","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1065013,"paramName":"refundId","paramType":"Long","structureId":0,"example":"129230087","required":true,"description":"退款单编号"},{"id":1065014,"paramName":"desc","paramType":"String","structureId":0,"example":"说明","required":false,"description":"退款说明(预计4月中旬下线)"},{"id":1065015,"paramName":"refundAmount","paramType":"Long","structureId":0,"example":"1000","required":true,"description":"退款金额 单位:分"},{"id":1065016,"paramName":"status","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"退款单当前状态"},{"id":1065017,"paramName":"negotiateStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"协商状态,枚举: [1, \"待商家处理\"] [2, \"商家同意\"] [3, \"商家驳回,等待买家修改\"]"},{"id":1065018,"paramName":"refundHandingWay","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"退款方式,枚举:[0, \"未知\"] [1, \"退货退款\"] [10,\"仅退款\"]"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1065019,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1065020,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":1065019,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":1065020,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回码描述"}],"errorCodes":[{"code":16,"type":"系统错误","description":"请求过于频繁","solution":"请求过于频繁,请稍后重试"},{"code":21,"type":"业务错误","description":"当前退款单状态已更新","solution":"当前退款单状态已更新,请刷新后重试"},{"code":1004,"type":"系统错误","description":"服务繁忙","solution":"服务繁忙,请稍后重试"},{"code":3616,"type":"业务错误","description":"当前退款单状态已更新","solution":"当前退款单状态已更新,请刷新后重试"},{"code":6002,"type":"业务错误","description":"保证金余额不足","solution":"保证金余额不足,请检查"},{"code":300009,"type":"业务错误","description":"退款金额为0","solution":"退款金额为0,请检查"},{"code":300011,"type":"业务错误","description":"退款单不存在","solution":"退款单不存在,请检查"},{"code":300013,"type":"业务错误","description":"买家取消退款","solution":"买家取消退款"},{"code":300014,"type":"业务错误","description":"退款单状态已更新","solution":"退款单状态已更新,请刷新重试"},{"code":300108,"type":"业务错误","description":"输入的退款金额与退款单实际金额不匹配","solution":"输入的退款金额与退款单实际金额不匹配,请检查"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenSellerOrderRefundApproveRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenSellerOrderRefundApproveResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderRefundApproveRequest request = new OpenSellerOrderRefundApproveRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(129230087);\n        request.setDesc(\"说明\");\n        request.setRefundAmount(1000);\n        request.setStatus(1);\n        request.setNegotiateStatus(1);\n        request.setRefundHandingWay(1);\n\n        OpenSellerOrderRefundApproveResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/refund/approve' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.refund.approve' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135193856' \\\n-d 'param=%7B%22refundId%22%3A129230087%2C%22desc%22%3A%22%E8%AF%B4%E6%98%8E%22%2C%22refundAmount%22%3A1000%2C%22status%22%3A1%2C%22negotiateStatus%22%3A1%2C%22refundHandingWay%22%3A1%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"SUCCESS\"}"}],"viewNum":912,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698821153807}},{"action":"open.seller.order.refund.confirm.receipt","title":"商家确认收货","category":"售后退款API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.refund.confirm.receipt&version=1","sha256":"edf5ac14f6f0ae910acef57019cffd1ac5c88d5fd284359ce4671ab4f187955b","bytes":8382},"official":{"id":0,"name":"open.seller.order.refund.confirm.receipt","cnName":"商家确认收货","method":2,"version":1,"description":"仅适用于[退货退款@red]售后单\n1.仅支持售后单类型为退货退款调用,此API会确认收货并直接给买家退款\n2.仅支持在退款单状态为“22平台介入-已确认退货退款”“30商品回寄信息待买家更新”“40商品回寄信息待卖家确认”时调用此API\n3.当售后单详情的returnFreightInfo没有值时,此API只需传refundId,returnFreight退货运费相关字段都不要传,否则会报错\n4.当售后单详情的returnFreightInfo有值时,且需要同意退货运费时,此API需传refundId、returnFreightHandlingAdvice、returnFreightAmount,若退货运费金额未传或值不一致会报错\n5.当售后单详情的returnFreightInfo有值时,且需要拒绝退货运费时,此API需传refundId、returnFreightHandlingAdvice、returnFreightRejectDesc、returnFreightRejectImages","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":3974094,"paramName":"refundId","paramType":"Long","structureId":0,"example":"2016300011212478","required":true,"description":"退款单id"},{"id":3974095,"paramName":"status","paramType":"Integer","structureId":0,"example":"10","required":false,"description":"当前退款单状态,枚举:仅支持退款单状态为 [22, \"平台介入-已确认退货退款\"]  [30, \"商品回寄信息待买家更新\"]  [40, \"商品回寄信息待卖家确认\"]  时,可调用确认收货接口"},{"id":3974096,"paramName":"returnFreightHandlingAdvice","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"售后单详情的returnFreightInfo有值时填写,无值时不要填写。退货运费处理意见:1 同意,当选择[同意时运费金额必填@red];2 拒绝,当选择[拒绝时拒绝原因和图片必填@red]"},{"id":3974097,"paramName":"returnFreightAmount","paramType":"Long","structureId":0,"example":"10","required":false,"description":"当returnFreightHandlingAdvice(运费处理意见)为1(同意)时,运费金额[必传@red]且值为售后单详情出参returnFreightInfo. returnFreightAmount(商责退货运费金额)"},{"id":3974098,"paramName":"returnFreightRejectDesc","paramType":"String","structureId":0,"example":"拒绝原因","required":false,"description":"当returnFreightHandlingAdvice(运费处理意见)为2(拒绝)时,拒绝原因描述[必传@red],长度少于300"},{"id":3974099,"paramName":"returnFreightRejectImages","paramType":"List<String>","structureId":0,"example":"[\"图片链接\"]","required":false,"description":"当returnFreightHandlingAdvice(运费处理意见)为2(拒绝)时,拒绝原因图片列表[必传@red],最多6张"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":3974100,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":3974101,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":3974100,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":3974101,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回码描述"}],"errorCodes":[{"code":21,"type":"业务错误","description":"退货运费缺少必填项内容","solution":"退货运费缺少必填项内容,请检查"},{"code":300006,"type":"业务错误","description":"退款单id为空","solution":"退款单id为空,请检查"},{"code":300008,"type":"业务错误","description":"退费方式错误","solution":"退费方式错误,请检查"},{"code":300011,"type":"业务错误","description":"退款单不存在","solution":"退款单不存在,请检查"},{"code":300106,"type":"业务错误","description":"图片转存失败","solution":"图片转存失败"},{"code":300114,"type":"业务错误","description":"运费处理金额错误","solution":"运费处理金额错误"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenSellerOrderRefundConfirmReceiptRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenSellerOrderRefundConfirmReceiptResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderRefundConfirmReceiptRequest request = new OpenSellerOrderRefundConfirmReceiptRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(2016300011212478);\n        request.setStatus(10);\n        request.setReturnFreightHandlingAdvice(1);\n        request.setReturnFreightAmount(10);\n        request.setReturnFreightRejectDesc(\"拒绝原因\");\n        List<String> list1 = new ArrayList<>();\n        list1.add(\"图片链接\");\n        request.setReturnFreightRejectImages(list1);\n\n        OpenSellerOrderRefundConfirmReceiptResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/refund/confirm/receipt' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.refund.confirm.receipt' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1692169405675' \\\n-d 'param=%7B%22refundId%22%3A2016300011212478%2C%22status%22%3A10%2C%22returnFreightHandlingAdvice%22%3A1%2C%22returnFreightAmount%22%3A10%2C%22returnFreightRejectDesc%22%3A%22%E6%8B%92%E7%BB%9D%E5%8E%9F%E5%9B%A0%22%2C%22returnFreightRejectImages%22%3A%5B%22%E5%9B%BE%E7%89%87%E9%93%BE%E6%8E%A5%22%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":603,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1715409810829}},{"action":"open.seller.order.refund.detail","title":"获取售后单详情","category":"售后退款API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.refund.detail&version=1","sha256":"fea0c2ba26e06e0bd636b187562ecd0c8871ab84cb978b2016889a9e554c6322","bytes":7537},"official":{"id":0,"name":"open.seller.order.refund.detail","cnName":"获取售后单详情","method":1,"version":1,"description":"根据售后单id查询售后单详情,handlingway为售后方式,status为售后状态","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":6029602,"paramName":"refundId","paramType":"Long","structureId":0,"example":"129230087","required":true,"description":"售后单id"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":6029603,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":6029605,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":6029603,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":6029604,"paramName":"data","paramType":"MerchantRefundDetailDataView","structureId":115,"example":"{}","required":false,"description":"售后单信息"},{"id":6029605,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回码说明"}],"errorCodes":[{"code":16,"type":"系统错误","description":"请求过于频繁","solution":"请求过于频繁,请稍后重试"},{"code":300006,"type":"业务错误","description":"退款单id为空","solution":"退款单id为空"},{"code":300011,"type":"业务错误","description":"退款单不存在","solution":"退款单不存在"},{"code":300012,"type":"业务错误","description":"不能操作他人退款单","solution":"不能操作他人退款单"},{"code":300027,"type":"业务错误","description":"该操作不支持JD退款单","solution":"该操作不支持JD退款单"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenSellerOrderRefundDetailRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenSellerOrderRefundDetailResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderRefundDetailRequest request = new OpenSellerOrderRefundDetailRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(129230087);\n\n        OpenSellerOrderRefundDetailResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/seller/order/refund/detail' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.refund.detail' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1713494914034' \\\n-d 'param=%7B%22refundId%22%3A129230087%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"refundId\": 129230087,\n    \"oid\": 12020384,\n    \"skuId\": 92381223,\n    \"refundFee\": 890,\n    \"status\": 10,\n    \"refundReason\": 1,\n    \"buyerId\": 63523209,\n    \"sellerId\": 92371012,\n    \"refundType\": 1298723,\n    \"handlingWay\": 1,\n    \"refundDesc\": \"描述\",\n    \"logisticsId\": 1111,\n    \"pictures\": \"[]\",\n    \"negotiateStatus\": 1,\n    \"validNegotiateBuyerModifyTimeStamp\": 2130,\n    \"updateTime\": 1543843735000,\n    \"relSkuId\": 120823876,\n    \"relItemId\": 111,\n    \"sellerDisagreeImages\": \"[]\",\n    \"logisticsInfo\": {\n      \"expressNo\": \"SF08237750957\",\n      \"expressCode\": 9\n    },\n    \"sellerDisagreeDesc\": \"拒绝退货\",\n    \"sellerDisagreeReason\": 1,\n    \"timeLimitNegotiateChange\": 0,\n    \"negotiateReason\": \"修改退款申请\",\n    \"createTime\": 1543843735000,\n    \"negotiateUpdateTime\": 1543843735000,\n    \"submitTime\": 1543843735000,\n    \"expireTime\": 1543843735000,\n    \"endTime\": 1543843735000,\n    \"itemId\": 123456,\n    \"receiptStatus\": 1,\n    \"productNum\": 1,\n    \"refundReasonDesc\": \"拍多、拍错\",\n    \"buyerOpenId\": \"f1787938274893g79iy345678956\",\n    \"address\": \"杭州市西湖区文三路\",\n    \"buyerExchangeAddress\": {\n      \"encryptedConsignee\": \"abcde\",\n      \"desensitiseConsignee\": \"里*\",\n      \"encryptedMobile\": \"abcde\",\n      \"desensitiseMobile\": \"1********36\",\n      \"province\": \"北京\",\n      \"provinceCode\": 12345,\n      \"city\": \"北京\",\n      \"cityCode\": 12345,\n      \"district\": \"上地\",\n      \"districtCode\": 12345,\n      \"encryptedAddress\": \"abcde\",\n      \"desensitiseAddress\": \"快*\"\n    },\n    \"exchangeInfo\": {\n      \"skuId\": 12345,\n      \"skuDesc\": \"L\",\n      \"quantity\": 1\n    },\n    \"specialRefundType\": 0,\n    \"logisticsRiskInfos\": [],\n    \"returnFreightInfo\": {\n      \"returnFreightAmount\": 500,\n      \"returnFreightStatus\": 40,\n      \"returnFreightApplyDesc\": \"描述信息\",\n      \"returnFreightApplyImages\": [\n        \"图片链接地址\"\n      ]\n    }\n  },\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":1335,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1730022305997}},{"action":"open.seller.order.refund.pcursor.list","title":"获取售后单列表","category":"售后退款API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.refund.pcursor.list&version=1","sha256":"2dee94eb94210c9905771fb5c9efa6ef3ad5a5bdde7b1094e288cf2bf7876c51","bytes":11066},"official":{"id":0,"name":"open.seller.order.refund.pcursor.list","cnName":"获取售后单列表","method":1,"version":1,"description":"查询商家售后单列表(游标方式),可根据订单id查询关联的全量售后单列表,handlingway为售后方式,status为售后状态","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":4455384,"paramName":"beginTime","paramType":"Long","structureId":0,"example":"1543817629000","required":true,"description":"订单生成的开始时间(单位毫秒),在当前时间的近90天内,不能大于90天,且小于截止时间"},{"id":4455385,"paramName":"endTime","paramType":"Long","structureId":0,"example":"1543817629000","required":true,"description":"订单生成的截止时间(单位毫秒)在当前时间的近90天内,不能大于90天,且大于开始时间,且与开始时间的时间范围不大于1天  (与开始时间的时间范围建议做成随时可配置,该范围可能在活动期间随时变化,比如变成小时级或者分钟级)。"},{"id":4455386,"paramName":"type","paramType":"Integer","structureId":0,"example":"8","required":true,"description":"退款单请求类型,8 等待退款 9 全部退款订单"},{"id":4455387,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"50","required":true,"description":"每次请求数量,最多一页100条"},{"id":4455388,"paramName":"currentPage","paramType":"Long","structureId":0,"example":"1","required":true,"description":"当前页码"},{"id":4455389,"paramName":"sort","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"排序方式,1时间降序 2时间升序 ,默认降序"},{"id":4455390,"paramName":"queryType","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"查找方式,1按创建时间查找  2按更新时间查找 ,默认创建时间"},{"id":4455391,"paramName":"negotiateStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"协商状态,1待商家处理 2 商家同意 3商家驳回,等待买家修改 默认返回所有数据"},{"id":4455392,"paramName":"pcursor","paramType":"String","structureId":0,"example":"1543843735000_1","required":true,"description":"游标内容,第一次传空串,之后传上一次的pcursor返回值,若返回“nomore”则标识到底"},{"id":4455393,"paramName":"status","paramType":"Integer","structureId":0,"example":"10","required":false,"description":"退款状态,枚举:[10, \"买家已经申请退款,等待卖家同意\"] [12, \"卖家已拒绝,等待买家处理\"] [20, \"协商纠纷,等待平台处理\"] [30, \"卖家已经同意退款,等待买家退货\"] [40, \"买家已经退货,等待卖家确认收货\"] [45, \"卖家已经发货,等待买家确认收货\"] [50, \"卖家已经同意退款,等待系统执行退款\"] [60, \"退款成功\"] [70, \"退款关闭\"]"},{"id":4455394,"paramName":"option","paramType":"RefundPageOption","structureId":205219,"example":"{}","required":false,"description":"选项"},{"id":4811365,"paramName":"orderId","paramType":"Long","structureId":0,"example":"2412314120000","required":false,"description":"订单id,可根据订单id查询关联的所有售后单列表"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":4455395,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":4455397,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":4455395,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":4455396,"paramName":"data","paramType":"MerchantRefundListDataView","structureId":127,"example":"{}","required":false,"description":"售后单列表信息"},{"id":4455397,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回码描述"}],"errorCodes":[{"code":13,"type":"参数非法","description":"参数不合法","solution":"分页参数不符合‘nomore’ 或 ‘数字_数字’的格式,请检查"},{"code":16,"type":"系统错误","description":"请求过于频繁","solution":"请求过于频繁,请稍后重试"},{"code":51,"type":"参数非法","description":"pageSize 应为20","solution":"pageSize超过了100"},{"code":53,"type":"参数非法","description":"page number 过大","solution":"page number 过大,分页参数为nomore报错"},{"code":300002,"type":"业务错误","description":"退款单类型错误","solution":"退款单类型错误"},{"code":300003,"type":"业务错误","description":"结束时间必须大于开始时间","solution":"结束时间必须大于开始时间"},{"code":300005,"type":"业务错误","description":"开始时间不能大于90天前","solution":"开始时间不能大于90天前"},{"code":300019,"type":"业务错误","description":"时间范围超限","solution":"时间范围超限"},{"code":300107,"type":"业务错误","description":"状态无效","solution":"status参数不在RefundStatusEnum里"},{"code":300109,"type":"业务错误","description":"退款单请求类型为等待退款时,退款单状态列表中不能包含非等待退款的状态","solution":"退款单请求类型为等待退款时,退款单状态列表中不能包含非等待退款的状态"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenSellerOrderRefundPcursorListRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenSellerOrderRefundPcursorListResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderRefundPcursorListRequest request = new OpenSellerOrderRefundPcursorListRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setBeginTime(1543817629000);\n        request.setEndTime(1543817629000);\n        request.setType(8);\n        request.setPageSize(50);\n        request.setCurrentPage(1);\n        request.setSort(1);\n        request.setQueryType(1);\n        request.setNegotiateStatus(1);\n        request.setPcursor(\"1543843735000_1\");\n        request.setStatus(10);\n        RefundPageOption obj1 = new RefundPageOption();\n        obj1.setNeedExchange(false);\n        request.setOption(obj1);\n        request.setOrderId(2412314120000);\n\n        OpenSellerOrderRefundPcursorListResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/seller/order/refund/pcursor/list' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.refund.pcursor.list' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1710831176410' \\\n-d 'param=%7B%22beginTime%22%3A1543817629000%2C%22endTime%22%3A1543817629000%2C%22type%22%3A8%2C%22pageSize%22%3A50%2C%22currentPage%22%3A1%2C%22sort%22%3A1%2C%22queryType%22%3A1%2C%22negotiateStatus%22%3A1%2C%22pcursor%22%3A%221543843735000%5F1%22%2C%22status%22%3A10%2C%22option%22%3A%7B%22needExchange%22%3Afalse%7D%2C%22orderId%22%3A2412314120000%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"currentPage\": 1,\n    \"pageSize\": 100,\n    \"totalPage\": 10,\n    \"totalSize\": 100,\n    \"beginTime\": 1597248000000,\n    \"endTime\": 1597276800000,\n    \"pcursor\": \"nomore\",\n    \"refundOrderInfoList\": [\n      {\n        \"oid\": 12020384,\n        \"refundId\": 2016300011212478,\n        \"handlingWay\": 1,\n        \"negotiateStatus\": 1,\n        \"refundFee\": 890,\n        \"skuId\": 92381223,\n        \"refundReason\": 1,\n        \"status\": 10,\n        \"buyerId\": 63523209,\n        \"refundType\": 1298723,\n        \"sellerId\": 92371012,\n        \"refundDesc\": \"描述\",\n        \"submitTime\": 1543843735000,\n        \"relItemId\": 111,\n        \"negotiateUpdateTime\": 1543843735000,\n        \"updateTime\": 1543843735000,\n        \"createTime\": 1543843735000,\n        \"relSkuId\": 120823876,\n        \"skuNick\": \"111\",\n        \"logisticsId\": 1234567,\n        \"endTime\": 1543843735000,\n        \"itemId\": 123456,\n        \"receiptStatus\": 1,\n        \"refundReasonDesc\": \"拍多、拍错\",\n        \"expireTime\": 1543843735000\n      }\n    ]\n  },\n  \"error_msg\": \"SUCCESS\"\n}"}],"viewNum":1063,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1713774508878}},{"action":"open.seller.order.refund.returngoods.approve","title":"商家同意退货","category":"售后退款API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.refund.returngoods.approve&version=1","sha256":"5095b226b16c7dddb1414e912b2abbfb899f77c694b96aa7049ed85d1077877e","bytes":6163},"official":{"id":0,"name":"open.seller.order.refund.returngoods.approve","cnName":"商家同意退货","method":2,"version":1,"description":"1.商家同意退货\n2.商家同意换货","needPermission":true,"permissionScope":"merchant_refund","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1064997,"paramName":"refundId","paramType":"Long","structureId":0,"example":"123455","required":true,"description":"退款单id"},{"id":1064998,"paramName":"refundAmount","paramType":"Long","structureId":0,"example":"1000","required":true,"description":"退款金额 单位:分,仅用于校验和当前退款单的退款金额是否一致;当用于\"商家同意换货\"场景时,金额传入0"},{"id":1064999,"paramName":"addressId","paramType":"Long","structureId":0,"example":"123456","required":false,"description":"退货地址id,不传使用默认退货地址,可以通过获取商家地址列表API(open.address.seller.list)获取商家的退货地址"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1065000,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1065001,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":1065000,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1正确,其他返回码表示接口未执行成功"},{"id":1065001,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"返回码描述"}],"errorCodes":[{"code":16,"type":"系统错误","description":"请求过于频繁","solution":"请求过于频繁,请稍后重试"},{"code":21,"type":"业务错误","description":"当前退款单状态已更新","solution":"当前退款单状态已更新,请刷新后重试"},{"code":3616,"type":"业务错误","description":"当前退款单状态已更新","solution":"当前退款单状态已更新,请刷新后重试"},{"code":300006,"type":"业务错误","description":"退款单id为空","solution":"退款单id为空"},{"code":300008,"type":"业务错误","description":"退费方式错误","solution":"退费方式错误"},{"code":300009,"type":"业务错误","description":"退款金额为0","solution":"退款金额为0"},{"code":300107,"type":"业务错误","description":"地址ID无效","solution":"地址ID无效"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.refund.OpenSellerOrderRefundReturngoodsApproveRequest;\nimport com.kuaishou.merchant.open.api.response.refund.OpenSellerOrderRefundReturngoodsApproveResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderRefundReturngoodsApproveRequest request = new OpenSellerOrderRefundReturngoodsApproveRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setRefundId(123455);\n        request.setRefundAmount(1000);\n        request.setAddressId(123456);\n\n        OpenSellerOrderRefundReturngoodsApproveResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/refund/returngoods/approve' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.refund.returngoods.approve' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135193786' \\\n-d 'param=%7B%22refundId%22%3A123455%2C%22refundAmount%22%3A1000%2C%22addressId%22%3A123456%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"SUCCESS\"}"}],"viewNum":492,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_refund","desc":"电商售后信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698828443845}},{"action":"open.seller.order.sku.update","title":"修改订单规格信息","category":"订单API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.seller.order.sku.update&version=1","sha256":"360ffef640240d20813238a8b54b929726d87a2eece996a6d8f7714d35ffaa1e","bytes":5367},"official":{"id":0,"name":"open.seller.order.sku.update","cnName":"修改订单规格信息","method":2,"version":1,"description":"根据订单id和商品id修改订单的商品规格信息,需要买家同意后,商家可进行修改","needPermission":true,"permissionScope":"merchant_order","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":362893,"paramName":"orderId","paramType":"Long","structureId":0,"example":"123","required":true,"description":"订单id"},{"id":362894,"paramName":"itemId","paramType":"Long","structureId":0,"example":"123","required":true,"description":"商品id"},{"id":362895,"paramName":"oldSkuId","paramType":"Long","structureId":0,"example":"123","required":true,"description":"订单商品老skuID"},{"id":362896,"paramName":"newSkuId","paramType":"Long","structureId":0,"example":"123","required":true,"description":"订单商品新skuID"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":362897,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":362898,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"子返回信息"},{"id":362897,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":362898,"paramName":"error_msg","paramType":"String","structureId":0,"example":"SUCCESS","required":false,"description":"错误码描述"}],"errorCodes":[{"code":2,"type":"业务错误","description":"请选择与最新规格不同的规格值","solution":"请选择与最新规格不同的规格值"},{"code":2001,"type":"业务错误","description":"无法识别的规格","solution":"无法识别的规格"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.order.OpenSellerOrderSkuUpdateRequest;\nimport com.kuaishou.merchant.open.api.response.order.OpenSellerOrderSkuUpdateResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenSellerOrderSkuUpdateRequest request = new OpenSellerOrderSkuUpdateRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setOrderId(123);\n        request.setItemId(123);\n        request.setOldSkuId(123);\n        request.setNewSkuId(123);\n\n        OpenSellerOrderSkuUpdateResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/seller/order/sku/update' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.seller.order.sku.update' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135163890' \\\n-d 'param=%7B%22orderId%22%3A123%2C%22itemId%22%3A123%2C%22oldSkuId%22%3A123%2C%22newSkuId%22%3A123%7D'\n\n"},{"name":"output","language":"JSON","content":"{\"result\":1,\"error_msg\":\"SUCCESS\"}"}],"viewNum":284,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698828524302}},{"action":"open.shop.brand.page.get","title":"获取店铺授权品牌列表","category":"店铺API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.shop.brand.page.get&version=1","sha256":"62c9777cd1ad555a6eb9414d7ebf8d66275c807331bf705395cad43d50b2fde4","bytes":5654},"official":{"id":0,"name":"open.shop.brand.page.get","cnName":"获取店铺授权品牌列表","method":1,"version":1,"description":"1.获取用户对应的店铺已经授权的品牌资质,当返回状态为无效,表示该品牌资质已过期\n2.在店铺下找不到品牌,请确认该品牌资质是否已经审核通过,商家查询入口-[品牌申报查询@https://s.kwaixiaodian.com/zone/goods/brand/list]","needPermission":true,"permissionScope":"merchant_shop,user_info","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":205525,"paramName":"pageNum","paramType":"Integer","structureId":0,"example":"1","required":true,"description":"页码,首页为1"},{"id":205526,"paramName":"pageSize","paramType":"Integer","structureId":0,"example":"20","required":true,"description":"单页请求数据量大小,最大为50"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":205527,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":205528,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"操作成功","required":false,"description":"子返回信息"},{"id":205527,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1:成功"},{"id":205528,"paramName":"error_msg","paramType":"String","structureId":0,"example":"操作成功","required":false,"description":"返回错误信息"},{"id":205529,"paramName":"data","paramType":"AuthBrandDtoList","structureId":17062,"example":"{}","required":false,"description":"用户授权品牌资质列表数据"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.shop.OpenShopBrandPageGetRequest;\nimport com.kuaishou.merchant.open.api.response.shop.OpenShopBrandPageGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenShopBrandPageGetRequest request = new OpenShopBrandPageGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setPageNum(1);\n        request.setPageSize(20);\n\n        OpenShopBrandPageGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/shop/brand/page/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.shop.brand.page.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1637571576245' \\\n-d 'param=%7B%22pageNum%22%3A1%2C%22pageSize%22%3A20%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"操作成功\",\n  \"data\": {\n    \"openId\": \"3345sfs4\",\n    \"shopId\": 3436456,\n    \"totalCount\": 432,\n    \"pageCount\": 46,\n    \"authBrands\": [\n      {\n        \"validDate\": 1638287999999,\n        \"brandName\": \"nike\",\n        \"brandId\": 34667,\n        \"status\": \"PASSED\"\n      }\n    ]\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1689305764921}},{"action":"open.shop.enterprise.qualificaiton.exist","title":"校验店铺资质","category":"店铺API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.shop.enterprise.qualificaiton.exist&version=1","sha256":"e9fee161779e938015641950fbca753bcb1e072e218632e57b6745ad9e38c761","bytes":5652},"official":{"id":0,"name":"open.shop.enterprise.qualificaiton.exist","cnName":"校验店铺资质","method":2,"version":1,"description":"1.用于校验店铺社会信用码是否存在并且和授权商家一致\n2.仅用于校验商家和社会信用码资质在平台是否经过验证,店铺经营状态请使用[open.shop.info.get(获取店铺信息API)@https://open.kwaixiaodian.com/zone/docs/api?name=open.shop.info.get&version=1]","needPermission":true,"permissionScope":"merchant_shop,merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[{"id":1630615,"paramName":"metaDataInfo","paramType":"Map","structureId":0,"example":"{\"creditCode\":\"12334\"}","required":true,"description":"map的key默认传creditCode,value传社会统一信用码,社会信用码不传只会校验用户是不是有资质,不会与社会统一信用码比对"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1630616,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1630617,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1630616,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1630617,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":1630618,"paramName":"data","paramType":"CheckUserHasQualificationData","structureId":121657,"example":"{\"exist\": true}","required":false,"description":"校验结果"}],"errorCodes":[{"code":21,"type":"PARAM_INVALID_VALUE","description":"参数有误","solution":"修改合法参数之后重试"},{"code":11,"type":"SERVER_ERROR","description":"服务异常","solution":"联系平台处理"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.shop.OpenShopEnterpriseQualificaitonExistRequest;\nimport com.kuaishou.merchant.open.api.response.shop.OpenShopEnterpriseQualificaitonExistResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenShopEnterpriseQualificaitonExistRequest request = new OpenShopEnterpriseQualificaitonExistRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setMetaDataInfo({\"creditCode\":\"12334\"});\n\n        OpenShopEnterpriseQualificaitonExistResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://openapi.kwaixiaodian.com/open/shop/enterprise/qualificaiton/exist' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.shop.enterprise.qualificaiton.exist' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1664178818609' \\\n-d 'param=%7B%22metaDataInfo%22%3A%7B%22creditCode%22%3A%2212334%22%7D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"exist\": true\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1689305848020}},{"action":"open.shop.info.get","title":"获取店铺名称和类型","category":"店铺API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.shop.info.get&version=1","sha256":"1eac90d1671c8ee4fc069ba61b7bb90fca086ed2c2b7be3a2663b92a71c86199","bytes":4899},"official":{"id":0,"name":"open.shop.info.get","cnName":"获取店铺名称和类型","method":1,"version":1,"description":"获取当前用户的店铺信息,包括店铺名称和店铺类型","needPermission":true,"permissionScope":"merchant_user,merchant_shop","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1885155,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1885156,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"子返回信息"},{"id":1885155,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码,1成功"},{"id":1885156,"paramName":"error_msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"错误信息"},{"id":1885157,"paramName":"data","paramType":"ShopInfo","structureId":81308,"example":"{}","required":false,"description":"店铺信息"}],"errorCodes":[{"code":11,"type":"系统错误","description":"系统错误","solution":"系统错误,请稍后重试"},{"code":63570501,"type":"业务错误","description":"当前用户非商家,无法获取店铺信息","solution":"入参商家"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.shop.OpenShopInfoGetRequest;\nimport com.kuaishou.merchant.open.api.response.shop.OpenShopInfoGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://gw-merchant-staging.test.gifshow.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenShopInfoGetRequest request = new OpenShopInfoGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenShopInfoGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://gw-merchant-staging.test.gifshow.com/open/shop/info/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.shop.info.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1651915085010' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"shopName\": \"飞利浦家电官方旗舰店\",\n    \"shopType\": 1\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1733471846697}},{"action":"open.user.info.get","title":"获取用户公开信息","category":"用户API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.user.info.get&version=1","sha256":"96075d12c3f29e3b61c2adc52e16226dd85586894bf2be74a6b3f62590ff2f64","bytes":4562},"official":{"id":0,"name":"open.user.info.get","cnName":"获取用户公开信息","method":1,"version":1,"description":"获取用户公开信息","needPermission":true,"permissionScope":"merchant_user,user_info","oauthRole":"用户","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1376120,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1376120,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":1376121,"paramName":"data","paramType":"UserInfoData","structureId":102053,"example":"{}","required":false,"description":"商家信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.user.OpenUserInfoGetRequest;\nimport com.kuaishou.merchant.open.api.response.user.OpenUserInfoGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenUserInfoGetRequest request = new OpenUserInfoGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenUserInfoGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/user/info/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.user.info.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1659001301563' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"name\": \"coco小红帽\",\n    \"sex\": \"F\",\n    \"head\": \"https://xxxx.jpg\",\n    \"bigHead\": \"https://xxxx.jpg\",\n    \"openId\": \"f1787938274893gfuyiiwrtfghghj\"\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","店铺管理-短信营销","店铺管理-评价管理","快分销","快赚客应用"]},{"scope":"user_info","desc":"用户信息权限,获取快手用户公开信息","categoryList":["商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","商家自研应用","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台商家应用","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-订单管理","店铺管理-财务管理","店铺管理-质检品控","快手微应用-搬家工具","快手微应用-货源工具","服务商工具应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具","集采服务商应用"]}],"updateTime":1659012474812}},{"action":"open.user.seller.get","title":"获取商家信息","category":"用户API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.user.seller.get&version=1","sha256":"fde58e38f925bd76b8a4cbc9297db4390a90fd70f3a3bea42b17cbe680e3cbf3","bytes":4650},"official":{"id":0,"name":"open.user.seller.get","cnName":"获取商家信息","method":1,"version":1,"description":"获取商家信息api","needPermission":true,"permissionScope":"merchant_user","oauthRole":"商家","status":3,"display":true,"inputParams":[],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":51335,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":51335,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"返回码"},{"id":51336,"paramName":"data","paramType":"GetSellerInfoResponseParam","structureId":114,"example":"{}","required":false,"description":"商家信息"}],"errorCodes":[],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.user.OpenUserSellerGetRequest;\nimport com.kuaishou.merchant.open.api.response.user.OpenUserSellerGetResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://openapi.kwaixiaodian.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenUserSellerGetRequest request = new OpenUserSellerGetRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n\n        OpenUserSellerGetResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request GET 'https://openapi.kwaixiaodian.com/open/user/seller/get' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.user.seller.get' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1623135182299' \\\n-d 'param=%7B%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"data\": {\n    \"name\": \"coc233400\",\n    \"sex\": \"F\",\n    \"head\": \"https://tx2.a.yximgs.com/uhead/AB/2019/10/28/17/B13123213123.jpg\",\n    \"bigHead\": \"https://tx2.a.yximgs.com/uhead/AB/2019/10/28/17/B13123213123.jpg\",\n    \"sellerId\": 12324213,\n    \"openId\": \"f198e29e9d8cea7e14bf57248554ed7a\",\n    \"staffInfo\": {\n      \"staffId\": 1400000000032,\n      \"openId\": \"f198e29e9d8cea7e14bf57248554ed7a\",\n      \"name\": \"螃蟹\"\n    }\n  }\n}"}],"viewNum":872,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_user","desc":"电商会员信息权限","categoryList":["医疗服务-互联网医院","商品管理-其他商品工具","商品管理-分销铺货","商品管理-商品基础工具","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-搬家工具","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1640057735682}},{"action":"open.virtual.eticket.checkavailable","title":"查询电子凭证校验结果","category":"虚拟API","risk":"R","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.virtual.eticket.checkavailable&version=1","sha256":"f2026729259c9432e115c44343bda921633ed1ba49c06167b162721453251cbc","bytes":6213},"official":{"id":0,"name":"open.virtual.eticket.checkavailable","cnName":"查询电子凭证校验结果","method":2,"version":1,"description":"检查电子凭证是否有效","needPermission":true,"permissionScope":"merchant_order","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":1178593,"paramName":"buyerId","paramType":"Long","structureId":0,"example":"211","required":false,"description":"买家编号"},{"id":1178594,"paramName":"eticketType","paramType":"String","structureId":0,"example":"22","required":true,"description":"电子凭证类型"},{"id":1178595,"paramName":"etickets","paramType":"List<AvailableEticket>","structureId":46336,"example":"[]","required":true,"description":"电子凭证列表"},{"id":1178596,"paramName":"orderId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"订单编号"},{"id":1178597,"paramName":"sellerId","paramType":"Long","structureId":0,"example":"211","required":true,"description":"卖家编号"}],"outputParams":[{"id":0,"paramName":"code","paramType":"String","structureId":0,"example":"1","required":false,"description":"主返回码"},{"id":0,"paramName":"msg","paramType":"String","structureId":0,"example":"success","required":false,"description":"主返回信息"},{"id":1178599,"paramName":"sub_code","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回码"},{"id":1178600,"paramName":"sub_msg","paramType":"String","structureId":0,"example":"1","required":false,"description":"子返回信息"},{"id":1178598,"paramName":"etickets","paramType":"List<AvailableEticketDetail>","structureId":46337,"example":"[]","required":false,"description":"电子凭证校验结果"},{"id":1178599,"paramName":"result","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"是否成功"},{"id":1178600,"paramName":"error_msg","paramType":"String","structureId":0,"example":"1","required":false,"description":"错误信息"}],"errorCodes":[{"code":3009,"type":"业务错误","description":"电子凭证核销时,可用数量和平台不一致,其中一部分券不可用","solution":"电子凭证核销时,可用数量和平台不一致,其中一部分券不可用"}],"exampleDocs":[{"name":"input","language":"JAVA","content":"package com.kuaishou.merchant.open.api.sdk.demo;\nimport com.kuaishou.merchant.open.api.common.utils.GsonUtils;\nimport com.kuaishou.merchant.open.api.request.industry.OpenVirtualEticketCheckavailableRequest;\nimport com.kuaishou.merchant.open.api.response.industry.OpenVirtualEticketCheckavailableResponse;\nimport com.kuaishou.merchant.open.api.client.AccessTokenKsMerchantClient;\n\npublic class AccessTokenKsMerchantClientDemo {\n\n    public static void main(String[] args) {\n        String url = \"https://gw-merchant-staging.test.gifshow.com\";\n        String appKey = \"your appKey\";\n        String signSecret = \"your app signSecret\";\n        String accessToken = \"your accessToken\";\n\n        AccessTokenKsMerchantClient client = new AccessTokenKsMerchantClient(url,appKey,signSecret);\n\n        OpenVirtualEticketCheckavailableRequest request = new OpenVirtualEticketCheckavailableRequest();\n        request.setAccessToken(accessToken);\n        request.setApiMethodVersion(1L);\n\n        request.setSellerId(211);\n        request.setBuyerId(211);\n        request.setOrderId(112);\n        request.setBizTypeCode(\"22\");\n        List<AvailableETicketReq> list1 = new ArrayList<>();\n        AvailableETicketReq obj1 = new AvailableETicketReq();\n        obj1.setId(\"111\");\n        obj1.setCode(\"112\");\n        obj1.setNum(2);\n        list1.add(obj1);\n        request.setETicketList(list1);\n\n        OpenVirtualEticketCheckavailableResponse response = client.execute(request);\n\n        System.out.println(GsonUtils.toJSON(response));\n    }\n}\n\n"},{"name":"input","language":"CURL","content":"curl --request POST 'https://gw-merchant-staging.test.gifshow.com/open/virtual/eticket/checkavailable' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--header 'Accept: application/json;charset=UTF-8' \\\n-d 'method=open.virtual.eticket.checkavailable' \\\n-d 'version=1' \\\n-d 'access_token=your accessToken' \\\n-d 'appkey=your appKey' \\\n-d 'signMethod=MD5' \\\n-d 'sign=your sign' \\\n-d 'timestamp=1639566976353' \\\n-d 'param=%7B%22sellerId%22%3A211%2C%22buyerId%22%3A211%2C%22orderId%22%3A112%2C%22bizTypeCode%22%3A%2222%22%2C%22eTicketList%22%3A%5B%7B%22id%22%3A%22111%22%2C%22code%22%3A%22112%22%2C%22num%22%3A2%7D%5D%7D'\n\n"},{"name":"output","language":"JSON","content":"{\n  \"result\": 1,\n  \"error_msg\": \"success\",\n  \"data\": {\n    \"sellerId\": 1,\n    \"buyerId\": 1,\n    \"orderId\": 1,\n    \"eticketType\": \"2\"\n  }\n}"}],"viewNum":0,"domains":[{"name":"线上环境(推荐)","serverUrl":"https://openapi.kwaixiaodian.com"},{"name":"线上环境(备用)","serverUrl":"https://open.kwaixiaodian.com"}],"permissions":[{"scope":"merchant_order","desc":"电商订单信息权限","categoryList":["商品管理-分销铺货","商家后台","客服管理-客服应用","客服管理-客服绩效","客服管理-客服质检","客服管理-智能客服","平台对接应用","店铺服务-供货管理","店铺服务-广告投放","店铺服务-电子发票服务","店铺管理-WMS系统","店铺管理-厂商代发","店铺管理-售后管理","店铺管理-商品管理","店铺管理-客户管理","店铺管理-打单发货","店铺管理-数据分析","店铺管理-电商ERP","店铺管理-短信营销","店铺管理-订单管理","店铺管理-评价管理","店铺管理-财务管理","店铺管理-质检品控","快分销","快手微应用-货源工具","快赚客应用","直播服务-直播工具","直播服务-直播间装修","营销管理-主图水印","营销管理-促销工具","营销管理-分销管理","营销管理-劵码发卡","营销管理-吸粉引流","营销管理-快分销工具","营销管理-折扣管理","营销管理-直播营销工具","装修市场-设计工具","视频摄影-视频工具"]}],"updateTime":1698840162889}},{"action":"open.virtual.integration.virtual.third.order.sync","title":"虚拟三方订单同步接口","category":"虚拟API","risk":"H","source":{"url":"https://open.kwaixiaodian.com/rest/open/platform/doc/api/name/detail?name=open.virtual.integration.virtual.third.order.sync&version=1","sha256":"0e11bce37a8078c84a19ab255b540794742a18905fc1e673349636e3db5d594d","bytes":7052},"official":{"id":0,"name":"open.virtual.integration.virtual.third.order.sync","cnName":"虚拟三方订单同步接口","method":2,"version":1,"description":"虚拟三方订单同步接口","needPermission":false,"permissionScope":"merchant_order,merchant_industry","oauthRole":"用户","status":3,"display":true,"inputParams":[{"id":8747883,"paramName":"ext","paramType":"ExtOrderInfo","structureId":688601,"example":"{}","required":false,"description":"扩展信息"},{"id":8747884,"paramName":"outerOrderId","paramType":"String","structureId":0,"example":"1","required":false,"description":"外部订单"},{"id":8747885,"paramName":"platDscntFee","paramType":"Long","structureId":0,"example":"1","required":false,"description":"平台优惠订单"},{"id":8747886,"paramName":"mchDscntFee","paramType":"Long","structureId":0,"example":"1","required":false,"description":"商户优惠金额"},{"id":8871133,"paramName":"payAmt","paramType":"Long","structureId":0,"example":"90","required":false,"description":"支付金额"},{"id":8747887,"paramName":"expressFee","paramType":"Long","structureId":0,"example":"1","required":false,"description":"运费"},{"id":8747888,"paramName":"itemId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"商品id"},{"id":8747889,"paramName":"itemPrice","paramType":"Long","structureId":0,"example":"1","required":false,"description":"商品价格"},{"id":8747890,"paramName":"skuId","paramType":"Long","structureId":0,"example":"1","required":false,"description":"skuid"},{"id":8747891,"paramName":"source","paramType":"String","structureId":0,"example":"1","required":false,"description":"源"},{"id":8747892,"paramName":"orderTime","paramType":"Long","structureId":0,"example":"1","required":false,"description":"订单时间"},{"id":8747893,"paramName":"itemNum","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"数量"},{"id":8747894,"paramName":"outerMainOrderId","paramType":"String","structureId":0,"example":"1","required":false,"description":"外部主订单号"},{"id":8747895,"paramName":"payTime","paramType":"Long","structureId":0,"example":"1","required":false,"description":"支付时间"},{"id":8747896,"paramName":"orderStatus","paramType":"Integer","structureId":0,"example":"1","required":false,"description":"订单状态"},{"id":8747897,"paramName":"skuTitle","paramType":"String","structureId":0,"example":"1","required":false,"descrip

File truncated at 1 MB.