【问题标题】:How to get full image URL from the Zoho Inventory via the API?如何通过 API 从 Zoho Inventory 获取完整的图片 URL?
【发布时间】:2020-06-26 14:31:03
【问题描述】:

我从 api 响应中得到了这个文档: https://inventory.zoho.com/api/v1/items/{item_id}

"documents":[
{
"source_formatted":"Desktop",
"can_send_in_mail":false,
"file_name":"Personalization-vantage-technology.jpg",
"file_type":"jpg",
"file_size_formatted":"40.2 KB",
"attachment_order":1,
"source":"desktop",
"document_id":"1877812000004113075",
"file_size":"41179",
"alter_text":""
}
],

问题是如何获取完整的图片 URL?我想在我的网站上显示图片。

【问题讨论】:

    标签: image api inventory zoho


    【解决方案1】:

    我从 Zoho 那里得到了答案。 此 API 返回一张图片,记得使用 item_id

    Greetings from Zoho Inventory!
    
    We would like to inform you that in order to retrieve image of an item you can use the below API request.
    
    https://inventory.zoho.com/api/v1/items/{item_id}/image?authtoken=XXXXX&organization_id=XXXXX
    
    METHOD: GET
    
    
    Hope this helps. 
    
    If you have further queries, kindly feel free to get back to us.
    
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-03-30
      • 2017-01-22
      • 1970-01-01
      • 1970-01-01
      • 2016-02-07
      • 1970-01-01
      • 2019-02-16
      • 1970-01-01
      相关资源
      最近更新 更多