PUT
/
crm-objects
/
v1
/
objects
/
products
/
{id}
Delete a group of products
curl --request PUT \
  --url https://api.hubapi.com/crm-objects/v1/objects/products/{id}
"\nExample PUT URL:\nhttps://api.hubapi.com/crm-objects/v1/objects/products/1642736\n\nExample PUT data (updating three properties):\n[\n  {\n    \"name\": \"name\",\n    \"value\": \"An updated product\"\n  },\n  {\n    \"name\": \"description\",\n    \"value\": \"This product has an updated description and price.\"\n  },\n  {\n    \"name\": \"price\",\n    \"value\": \"10.00\"\n  }\n]\n\nExample response:\n{\n  \"objectType\": \"PRODUCT\",\n  \"portalId\": 62515,\n  \"objectId\": 1642736,\n  \"properties\": {\n    \"hs_lastmodifieddate\": {\n      \"versions\": [\n        {\n          \"name\": \"hs_lastmodifieddate\",\n          \"value\": \"0\",\n          \"timestamp\": 0,\n          \"source\": \"CALCULATED\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"0\",\n      \"timestamp\": 0,\n      \"source\": \"CALCULATED\",\n      \"sourceId\": null\n    },\n    \"price\": {\n      \"versions\": [\n        {\n          \"name\": \"price\",\n          \"value\": \"10.00\",\n          \"timestamp\": 1525287810508,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"10.00\",\n      \"timestamp\": 1525287810508,\n      \"source\": \"API\",\n      \"sourceId\": null\n    },\n    \"name\": {\n      \"versions\": [\n        {\n          \"name\": \"name\",\n          \"value\": \"An updated product\",\n          \"timestamp\": 1525287810508,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"An updated product\",\n      \"timestamp\": 1525287810508,\n      \"source\": \"API\",\n      \"sourceId\": null\n    },\n    \"description\": {\n      \"versions\": [\n        {\n          \"name\": \"description\",\n          \"value\": \"This product has an updated description and price.\",\n          \"timestamp\": 1525287810508,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"This product has an updated description and price.\",\n      \"timestamp\": 1525287810508,\n      \"source\": \"API\",\n      \"sourceId\": null\n    }\n  },\n  \"version\": 0,\n  \"isDeleted\": false\n}"

Response

200 - application/json

Successful response - Get a list of changes to products objects

The response is of type object.