用于修改门店/网点信息。多个业务共用
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_service_store_d_t_o | ServiceStoreDto | 可选 | 网点/门店 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | . | 方法调用结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallServicecenterServicestoreUpdateRequest req = new TmallServicecenterServicestoreUpdateRequest(); TmallServicecenterServicestoreUpdateRequest.ServiceStoreDto obj1 = new TmallServicecenterServicestoreUpdateRequest.ServiceStoreDto(); obj1.setAddressCity( "杭州市" ); obj1.setAddressCode(331100L); obj1.setAddressDetail( "浙江省杭州市余杭区文一西路969号4号楼小邮局" ); obj1.setAddressDistrict( "余杭区" ); obj1.setAddressProvince( "浙江省" ); obj1.setAddressTown( "五常街道" ); obj1.setAlipayAccount( "1234567890" ); obj1.setAlipayAccountName( "测试姓名" ); obj1.setAttributes( "{\"xxx\":123}" ); obj1.setBizType( "car_accessory_install" ); obj1.setBrandCertification( "xxx" ); obj1.setBusinessHours( "08:00-20:00" ); obj1.setCertificatedBrandIds( "123,456" ); obj1.setCompanyName( "xx公司" ); obj1.setGmtBrandCertificationExpire(StringUtils.parseDateTime( "2020-01-01 00:00:00" )); obj1.setId(123456789L); obj1.setLatitude( "30.280193" ); obj1.setLegalPersonIdNumber( "1234567890" ); obj1.setLegalPersonName( "测试姓名" ); obj1.setLongitude( "120.025591" ); obj1.setManagerName( "张三" ); obj1.setManagerPhone( "12345678900" ); obj1.setPhone( "12345678" ); obj1.setServiceMobile( "12345678" ); obj1.setServiceStoreAlias( "xxx" ); obj1.setServiceStoreName( "网点名称" ); obj1.setType(1L); obj1.setAlipayAccountIdNumber( "1234567890" ); obj1.setPhotoCollections( "{\"frontPhoto\":\"xxx\"}" ); obj1.setLegalPersonIdCardPic( "xxx" ); obj1.setLegalPersonIdCardPicBack( "xxx" ); obj1.setFrontPhoto( "xxx" ); obj1.setLicensePhoto( "xxx" ); obj1.setAlipayAccountId( "2088754839234592" ); TmallServicecenterServicestoreUpdateRequest.StorePicAlbumDTO obj2 = new TmallServicecenterServicestoreUpdateRequest.StorePicAlbumDTO(); List<TmallServicecenterServicestoreUpdateRequest.StorePicTypeDTO> list4 = new ArrayList<TmallServicecenterServicestoreUpdateRequest.StorePicTypeDTO>(); TmallServicecenterServicestoreUpdateRequest.StorePicTypeDTO obj5 = new TmallServicecenterServicestoreUpdateRequest.StorePicTypeDTO(); list4.add(obj5); obj5.setType(1L); obj5.setTypeName( "轮胎安装作业" ); obj5.setPicList( "xxxx" ); obj2.setPicTypeList(list4); obj1.setStorePicAlbum(obj2); req.setParamServiceStoreDTO(obj1); TmallServicecenterServicestoreUpdateResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 | < tmall_servicecenter_servicestore_update_response > < result > < msg_code >123</ msg_code > < msg_info >xxx</ msg_info > < success >false</ success > </ result > </ tmall_servicecenter_servicestore_update_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|