hubspot-net/HubSpot.NET

custom properties not being passed down on deals?

arcbus opened this issue · 1 comments

I've added custom properties to my deal, gave them values, and fetch the deal over API. I specify the property names using the internal name given on hubspot dashboard, but the custom properties don't seem to be getting included in the response.

Screenshots below show my query to get recently created deals with properties to include including 'driver' and 'hours_of_travel', they show the internal name of driver property, and the deal showing that this deal does have values in these fields.

Any ideas?

deal-driver
deal
image

Hmm, just tested the API call over Postman, and it does return my custom parameter. This is URL:

https://api.hubapi.com/crm/v3/objects/deals?hapikey=&limit=10&properties=driver'

This is response:

{
    "results": [
        {
            "id": "2353635934",
            "properties": {
                "createdate": "2020-06-29T20:00:56.262Z",
                "driver": "Johnny",
                "hs_lastmodifieddate": "2020-06-29T21:19:38.120Z",
                "hs_object_id": "2353635934"
            },
            "createdAt": "2020-06-29T20:00:56.262Z",
            "updatedAt": "2020-06-29T21:19:38.120Z",
            "archived": false
        }
    ]
}

So it would seem the C# wrapper is not including custom parameters?