Create product

POST {{baseUrl}}/api/v1/products

This API adds a product to your helpdesk.

OAuth Scope

  • Desk.products.CREATE
  • Desk.settings.CREATE

Attributes

Attribute NameData TypeDescription
departmentIds (required)<list>
IDs of departments associated with the product
ownerId<long>
ID of user to whom the product is assigned
productName (required)<string>
max chars : 200
Name of the product
productCode<string>
max chars : 200
Reference code of the product
productCategory<string>
max chars : 200
Category to which the product belongs
manufacturer<string>
max chars : 200
Organization that manufactures the product
unitPrice<double>
Price of the product
customFields<list>
User-defined fields related to the product
cf<list>
User-defined fields related to the product
description<string>
max chars : 65535
Description of the product

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;unitPrice&quot;:&quot;100.0&quot;,&quot;modifiedTime&quot;:&quot;2017-07-18T10:46:25.667Z&quot;,&quot;cf&quot;:{},&quot;description&quot;:null,&quot;departmentIds&quot;:[&quot;6000000007239&quot;,&quot;6000000029263&quot;],&quot;ownerId&quot;:&quot;6000000009050&quot;,&quot;layoutId&quot;:&quot;6000000002556&quot;,&quot;productName&quot;:&quot;Dell&quot;,&quot;productCategory&quot;:null,&quot;productCode&quot;:&quot;12345&quot;,&quot;isDeleted&quot;:false,&quot;createdBy&quot;:&quot;6000000009050&quot;,&quot;createdTime&quot;:&quot;2017-07-18T10:46:25.667Z&quot;,&quot;modifiedBy&quot;:&quot;6000000009050&quot;,&quot;id&quot;:&quot;6000000164001&quot;}