Create an attachment

POST {{baseUrl}}/api/v1/products/:product_id/attachments

This API attaches a file to a product.

OAuth Scope

  • Desk.products.UPDATE
  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"size":"32","creatorId":"1892000000042002","name":"tools.txt","createdTime":"2016-05-30T08:32:51.338Z","isPublic":false,"id":"1892000001010001","href":"https://desk.zoho.com/api/v1/products/1892000001004024/attachments/1892000001010001/content"}