# Compatibility Between Underlying 'Number' Data Type v.s. Custom Property Through API?

**URL:** <https://community.hubspot.com/t/compatibility-between-underlying-number-data-type-v-s-custom-property-through-api/103184>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [March 22, 2024, 8:42am UTC](https://community.hubspot.com/t/compatibility-between-underlying-number-data-type-v-s-custom-property-through-api/103184 "2024-03-22T08:42:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ojtibi](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@ojtibi](https://community.hubspot.com/u/ojtibi)\
**Post date:** [March 22, 2024, 8:42am UTC](https://community.hubspot.com/t/compatibility-between-underlying-number-data-type-v-s-custom-property-through-api/103184/1 "2024-03-22T08:42:03Z")

</div>

Hello folks! Would like to ask if the underlying ‘number’ data type for `hs_object_id` is compatible for a custom ‘number’ Property created through the API?

The gist is, I’m planning to create a custom ‘number’ type Property for Line Items using the API, and I was wondering if it would be compatible with the underlying representation for the Line Item `hs_object_id` value.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 22, 2024, 7:48pm UTC](https://community.hubspot.com/t/compatibility-between-underlying-number-data-type-v-s-custom-property-through-api/103184/2 "2024-03-22T19:48:10Z")

</div>

Hey, @ojtibi 👋 Welcome to our community. It’s a great question.

Yes, creating a custom ‘number’ type property for Line Items via the API should be compatible with representing numerical values, like those found with hs\_object\_id. One thing to keep in mind when using `hs_object_id` is to make sure your system can deal with long integers.

You should be able to spin up a [Developer Test account](https://developers.hubspot.com/docs/api/account-types#developer-test-accounts), make test calls and update your custom prop ties with test values, and not affect your production portal.

Best,

Jaycee
