PropertiesWithHistory returns only 1 result

Hello everyone,
I am pinging this API
https://api.hubapi.com/crm/v3/objects/line_item/XXXXXXX?propertiesWithHistory=description
Now I am getting the only 1 description history rather than 2.

{

“id”: “26357408536”,

“properties”: {

“amount”: “124.59”,

“createdate”: “2024-12-16T04:58:04.300Z”,

“hs_lastmodifieddate”: “2024-12-16T04:58:05.121Z”,

“hs_object_id”: “26357408536”,

“hs_product_id”: “15520166149”,

“quantity”: “1”

},

“propertiesWithHistory”: {

“description”: [

{

“value”: “Dental Savings- Access to over 58,000 providers and savings of 10% to 50% on dental services and expenses thorugh UNI-Care Dental.”,

“timestamp”: “2024-10-31T04:14:29.939Z”,

“sourceType”: “INTEGRATION”,

“sourceId”: “2552247”,

“updatedByUserId”: 8204066

}

]

},

“createdAt”: “2024-12-16T04:58:04.300Z”,

“updatedAt”: “2024-12-16T04:58:05.121Z”,

“archived”: false

}

Hey, @JGundlach :waving_hand: I’d suggest setting up a quick test and trying again. I just did it myself and got back the expected response.

My steps:

Create a new Line Item

POST https://api.hubapi.com/crm/v3/objects/line_items

{
 "properties": {
 "name": "2 year implementation consultation",
 "hs_product_id": "1567706789",
 "hs_recurring_billing_period": "P24M",
 "recurringbillingfrequency": "monthly",
 "quantity": "2",
 "price": "6000.00"
 }
}

Made two PATCH requests to update the `name` property

// PATCH 1
{
 "properties": {
 "name": "2 year implementation consultation v2"
 }
}

//PATCH 2
{
 "properties": {
 "name": "2 year implementation consultation v3"
 }
}

Made my request and included the `propertiesWithHistory` param

GET https://api.hubapi.com/crm/v3/objects/line_items/26739823927?properties=name&propertiesWithHistory=name&archived=false

{
 "id": "26739823927",
 "properties": {
 "createdate": "2024-12-19T16:11:25.703Z",
 "hs_lastmodifieddate": "2024-12-19T16:16:44.261Z",
 "hs_object_id": "26739823927",
 "name": "2 year implementation consultation v3"
 },
 "propertiesWithHistory": {
 "name": [
 {
 "value": "2 year implementation consultation v3",
 "timestamp": "2024-12-19T16:16:44.261Z",
 "sourceType": "INTEGRATION",
 "sourceId": "959085"
 },
 {
 "value": "2 year implementation consultation v2",
 "timestamp": "2024-12-19T16:16:14.348Z",
 "sourceType": "INTEGRATION",
 "sourceId": "959085"
 },
 {
 "value": "2 year implementation consultation",
 "timestamp": "2024-12-19T16:11:25.703Z",
 "sourceType": "INTEGRATION",
 "sourceId": "959085"
 }
 ]
 },
 "createdAt": "2024-12-19T16:11:25.703Z",
 "updatedAt": "2024-12-19T16:16:44.261Z",
 "archived": false
}

I hope this helps get you moving forward! — Jaycee