trying to create a ruby integration, but keep getting erros.

properties = {
“first_name”: “bob”,

“last_name”: “bobson”
}

body = { properties: properties }
api_response = api_client.crm.contacts.basic_api.update(contact_id: 1, body: body)
puts api_response

“Property values were not valid”

No matter what property i use it returns a property not valid.

what are the properties that I can update?

Hi @j_754 :waving_hand:

You’ll need to make sure you’re referencing the correct internal property names. Relating to your example, HubSpot’s standard internal names for these properties are “firstname” and “lastname” (i.e. not separated by underscore). You might like to consider reviewing HubSpot’s Properties API documentation. You can also find the internal names within HubSpot’s web UI via Settings > Properties > {Property} > “</>” symbol at top-right of screen.

I hope this proves useful. Please let me know if you have any follow-up questions.