# How to write the information in Custom fields from API?

**URL:** <https://community.hubspot.com/t/how-to-write-the-information-in-custom-fields-from-api/74713>\
**Category:** APIs & Integrations\
**Created:** [February 8, 2023, 10:52am UTC](https://community.hubspot.com/t/how-to-write-the-information-in-custom-fields-from-api/74713 "2023-02-08T10:52:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IDev2](https://avatars.discourse-cdn.com/v4/letter/i/838e76/32.png) [@IDev2](https://community.hubspot.com/u/IDev2)\
**Post date:** [February 8, 2023, 10:52am UTC](https://community.hubspot.com/t/how-to-write-the-information-in-custom-fields-from-api/74713/1 "2023-02-08T10:52:02Z")

</div>

Hello. Some information:

1. Iframe connected with HS db (we are getting some product information)

2. The result of the using iframe is: create line items on Deals object

The problem is: some fields on Deals object are custom.

How can I write the information in these Custom Fields from API?

---

<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:** [February 8, 2023, 11:25pm UTC](https://community.hubspot.com/t/how-to-write-the-information-in-custom-fields-from-api/74713/2 "2023-02-08T23:25:30Z")

</div>

Hey, @IDev2 👋 Can you clarify things a bit for the community? Is the issue that you cannot update custom properties for a Deal record? Can you include an example of the request URL and body along with the response?

Best,

Jaycee
