curl --request GET \
--url https://api.hubapi.com/crm-objects/v1/change-log/products[
{
"timestamp": 1525297495553,
"changeType": "CHANGED",
"objectId": 1645187,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"price",
"recurringbillingfrequency"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
},
{
"timestamp": 1525297514887,
"changeType": "CHANGED",
"objectId": 1642796,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"content",
"status"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
},
{
"timestamp": 1525298220133,
"changeType": "CHANGED",
"objectId": 1688960,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"price",
"name"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
},
{
"timestamp": 1525298357009,
"changeType": "CREATED",
"objectId": 1645342,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"name",
"description",
"price",
"recurringbillingfrequency"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
}
]Create a new product. The request body should be a list of product properties you want to set for the new product, with each entry being the internal name of the property to be set, and the value of that property.
curl --request GET \
--url https://api.hubapi.com/crm-objects/v1/change-log/products[
{
"timestamp": 1525297495553,
"changeType": "CHANGED",
"objectId": 1645187,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"price",
"recurringbillingfrequency"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
},
{
"timestamp": 1525297514887,
"changeType": "CHANGED",
"objectId": 1642796,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"content",
"status"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
},
{
"timestamp": 1525298220133,
"changeType": "CHANGED",
"objectId": 1688960,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"price",
"name"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
},
{
"timestamp": 1525298357009,
"changeType": "CREATED",
"objectId": 1645342,
"changes": {
"changedProperties": [
"hs_lastmodifieddate",
"name",
"description",
"price",
"recurringbillingfrequency"
],
"newAssociations": [],
"removedAssociations": [],
"newListMemberships": [],
"removedListMemberships": []
}
}
]Scope requirements
Successful response - Create a new product
The response is of type object.
Was this page helpful?