Java 如何使用Salesforce OCAPI 19.1插入产品图像?

Java 如何使用Salesforce OCAPI 19.1插入产品图像?,java,api,salesforce,commerce,Java,Api,Salesforce,Commerce,我正在尝试将我的应用程序中的新产品插入我的Salesforce Commerce(沙盒)。当我使用DataAPI19.3put/products时,它插入的是图像,而不是图像 这是我正在使用的json格式(请参见下文)。如果我错过了什么,请告诉我。谢谢 "image": { "path": "large/6288348_sd.jpg", "alt": "Samsung - 50\" Class - LED - NU6900 Series - 2160p - Smart - 4K

我正在尝试将我的应用程序中的新产品插入我的Salesforce Commerce(沙盒)。当我使用DataAPI19.3put/products时,它插入的是图像,而不是图像

这是我正在使用的json格式(请参见下文)。如果我错过了什么,请告诉我。谢谢

    "image": {
  "path": "large/6288348_sd.jpg",
  "alt": "Samsung - 50\" Class - LED - NU6900 Series - 2160p - Smart - 4K UHD TV with HDR, , hi-res",
  "abs_url": "<my image location in site>",
  "dis_base_url": "<my image location in site>",
  "title": "Samsung - 50\" Class - LED - NU6900 Series - 2160p - Smart - 4K UHD TV with HDR, "
 },
 "image_groups": [
  {
   "images": [{
    "path": "large/6288348_sd.jpg",
    "alt": "Samsung - 50\" Class - LED - NU6900 Series - 2160p - Smart - 4K UHD TV with HDR, , hi-res",
    "_type": "media_file",
    "abs_url": "<my image location in site>",
    "title": "Samsung - 50\" Class - LED - NU6900 Series - 2160p - Smart - 4K UHD TV with HDR, ",
    "dis_base_url": "<my image location in site>"
   }],
   "_type": "image_group",
   "view_type": "hi-res"
  }
 ]
“图像”:{
“路径”:“大型/6288348_sd.jpg”,
“alt”:“三星-50\”级LED-NU6900系列-2160p-Smart-4K超高清晰度高清电视,
“abs_url”:“,
“dis_base_url”:“”,
“标题”:“三星-50\”级LED-NU6900系列-2160p-Smart-4K超高清电视
},
“图像组”:[
{
“图像”:[{
“路径”:“大型/6288348_sd.jpg”,
“alt”:“三星-50\”级LED-NU6900系列-2160p-Smart-4K超高清晰度高清电视,
“\u类型”:“媒体\u文件”,
“abs_url”:“,
“标题”:“三星-50\”级LED-NU6900系列-2160p-Smart-4K超高清电视,”,
“dis_base_url”:”
}],
“\u类型”:“图像\u组”,
“视图类型”:“高分辨率”
}
]