Get product

GET {{baseUrl}}/api/v1/products/:product_id

This API fetches a single product from your helpdesk.

OAuth Scope

  • Desk.products.READ
  • Desk.settings.READ

Request Params

KeyDatatypeRequiredDescription
includestringKey that fetches secondary information related to the product. Values allowed are: departments and owner. You can pass multiple values by separating them with commas.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"owner":{"photoURL":"https://desk.zoho.com/api/v1/agents/6000000009050/photo?orgId=581861259","firstName":"Aaron","lastName":"Stone","name":"Aaron Stone","id":"6000000009050"},"unitPrice":"100.0","modifiedTime":"2017-06-28T13:25:06.000Z","cf":{},"description":null,"departmentIds":["6000000009450","6000000009380","6000000009230"],"ownerId":"6000000009050","layoutId":"6000000002556","productName":"Dell","productCategory":null,"productCode":"12345","isDeleted":false,"createdBy":"6000000009050","createdTime":"2017-06-28T13:25:06.000Z","modifiedBy":"6000000009050","id":"6000000124009","departments":[{"name":"Associated Department 1","id":"6000000009450"},{"name":"Associated Department 2","id":"6000000009380"},{"name":"Associated Department 3","id":"6000000009230"}]}