Update product
PATCH {{baseUrl}}/api/v1/products/:product_id
This API updates details of a product in your help desk portal.
OAuth Scope
Desk.products.UPDATEDesk.settings.UPDATE
Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| departmentIds | <list> | IDs of departments associated with the product |
| ownerId | <long> | ID of user to whom the product is assigned |
| productName | <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
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"unitPrice":"100.0","modifiedTime":"2017-07-18T10:53:40.787Z","cf":{},"description":null,"departmentIds":["6000000029263","6000000125041"],"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"}