多语言图搜查询

接口概述

该接口用于根据图片ID获取商品信息列表。

POST /api/v3/platform/product/multiLangImageSearch

请求参数

名称 类型 必填 描述 示例值
imageId String 图片ID 1
pageNo Integer 页码,从1开始 1
pageSize Integer 分页,最大不超过50,建议20效果最佳 20
country String 语言,如en-英语,详细枚举请参考开发人员参考菜单 en
sort String 排序参数,枚举参见解决方案介绍 {“price”:”asc”}
outMemberId String 外部用户uid 1
priceStart String 批发价开始 10
priceEnd String 批发价结束 20
categoryId String 类目id 1
imageAddress String 图片地址
keyword String 在结果中搜索的关键词 书本
auxiliaryText String 多模态图搜文案 热卖的
productCollectionId String 寻源通工作台货盘ID 21432232
keywordTranslate Boolean 搜索词是否已经翻译,true的话直接搜索,不翻译关键词 false

返回参数

名称 类型 描述 示例值
result Object product.search.imageQuery.result.ResultModelV 返回值 -
» success String 是否成功
» code String code code
» message String message message
result Object product.search.imageQuery.model.PageInfoV4 结果 -
» totalRecords Integer 总数量 1
» totalPage Integer 总页数 1
» pageSize Integer 分页 1
» currentPage Integer 分页 1
data Array product.search.imageQuery.model.ProductInfoModelV3 数据 -
» imageUri String 图片url 图片url
» subject String 标题 标题
» subjectTrans String 多语言标题 多语言标题
» priceInfo Object product.search.imageQuery.model.PriceInfoV3 价格 -
» » price String 价格 价格
» » offerId Long 商品id 商品id
» » isJxhy Boolean 是否精选货源 是否精选货源
» » repurchaseRate String 复购率 13%
» » monthSold Integer 30天销量 1234
» » traceInfo String 向1688上报打点数据 object_id@620201390233^object_type@offer
» » isOnePsale Boolean 是否一件代发 true
» » sellerIdentities String[] 商家身份 [“super_factory-超级工厂”, “merchants-实力商家”, “tp_member-诚信通会员”]
» » offerIdentities String[] 商品标 [“yx-严选”]
» » tradeScore String 商品交易评分 5.0
» promotionModel Object product.search.imageQuery.model.PromotionModelV2 营销信息 -
» » hasPromotion Boolean 是否有营销 true
» » promotionType String 营销类型 plus
» » topCategoryId Long 一级类目 1
» » secondCategoryId Long 二级类目 2
» » thirdCategoryId Long 三级类目 3
» » isPatentProduct Boolean 是否为专利商品 true
» » createDate String 商品创建时间 2024-04-20 08:00:00
» » modifyDate String 商品修改时间 2024-04-20 08:00:00
» » isSelect Boolean 跨境select货盘 true
» sellerDataInfo Object product.search.imageQuery.model.SellerDataInfoV1 商品数据 -
» » tradeMedalLevel String 卖家交易勋章等级 1
» » compositeServiceScore String 综合服务体验分 1
» » logisticsExperienceScore String 物流体验分 1
» » disputeComplaintScore String 纠纷投诉处理分 1
» » offerExperienceScore String 商品体验分 1
» » afterSalesExperienceScore String 售后体验分 1
» » consultingExperienceScore String 咨询体验分 1
» » repeatPurchasePercent String 重复购买率 11
» productSimpleShippingInfo Object product.search.imageQuery.model.ProductSimpleShippingInfo 简略发货信息 -
» » shippingTimeGuarantee String 发货保障 shipIn24Hours-24小时发货
» » minOrderQuantity Integer 最小起批量 1
» » token String 插件同店返佣标识 5L9Z368302iVlvwFxNdqnUIMVbKYHWGWcjs
» » promotionURL String 商品详情页链接 商品详情页链接
» picRegionInfo Object com.alibaba.cbu.offer.model.PicRegionInfo 主体信息 -
» » currentRegion String 当前主体 x0,y0,x1,y1 265,597,326,764
» » yoloCropRegion String 所有主体 x0,y0,x1,y1;x0,y0,x1,y1 265,597,326,764:443,783,154,595

示例请求

  1. {
  2. "imageId": "图片id",
  3. "beginPage": 1,
  4. "pageSize": 20,
  5. "region": "266,799,48,581",
  6. "filter": "shipInToday,ksCiphertext",
  7. "sort": "{\"price\":\"asc\"}",
  8. "outMemberId": "外部用户uid",
  9. "priceStart": "10",
  10. "priceEnd": "20",
  11. "categoryId": "类目id",
  12. "imageAddress": "图片地址",
  13. "country": "en",
  14. "keyword": "书本",
  15. "auxiliaryText": "热卖的",
  16. "productCollectionId": "21432232",
  17. "keywordTranslate": false
  18. }

示例返回

  1. {
  2. "result": {
  3. "success": "是",
  4. "code": "code",
  5. "message": "message"
  6. },
  7. "result": {
  8. "totalRecords": 1,
  9. "totalPage": 1,
  10. "pageSize": 1,
  11. "currentPage": 1,
  12. "data": [
  13. {
  14. "imageUrl": "图片url",
  15. "subject": "标题",
  16. "subjectTrans": "多语言标题",
  17. "priceInfo": {
  18. "price": "价格",
  19. "offerId": "商品id",
  20. "isJxhy": "是否精选货源",
  21. "repurchaseRate": "13%",
  22. "monthSold": 1234,
  23. "traceInfo": "object_id@620201390233^object_type@offer",
  24. "isOnePsale": true,
  25. "sellerIdentities": ["super_factory-超级工厂", "merchants-实力商家", "tp_member-诚信通会员"],
  26. "offerIdentities": ["yx-严选"],
  27. "tradeScore": "5.0"
  28. },
  29. "promotionModel": {
  30. "hasPromotion": true,
  31. "promotionType": "plus",
  32. "topCategoryId": 1,
  33. "secondCategoryId": 2,
  34. "thirdCategoryId": 3,
  35. "isPatentProduct": true,
  36. "createDate": "2024-04-20 08:00:00",
  37. "modifyDate": "2024-04-20 08:00:00",
  38. "isSelect": true
  39. },
  40. "sellerDataInfo": {
  41. "tradeMedalLevel": 1,
  42. "compositeServiceScore": 1,
  43. "logisticsExperienceScore": 1,
  44. "disputeComplaintScore": 1,
  45. "offerExperienceScore": 1,
  46. "afterSalesExperienceScore": 1,
  47. "consultingExperienceScore": 1,
  48. "repeatPurchasePercent": "11"
  49. },
  50. "productSimpleShippingInfo": {
  51. "shippingTimeGuarantee": "shipIn24Hours",
  52. "minOrderQuantity": 1,
  53. "token": "5L9Z368302iVlvwFxNdqnUIMVbKYHWGWcjs",
  54. "promotionURL": "商品详情页链接"
  55. },
  56. "picRegionInfo": {
  57. "currentRegion": "265,597,326,764",
  58. "yoloCropRegion": "265,597,326,764:443,783,154,595"
  59. }
  60. }
  61. ]
  62. }
  63. }