{"id":1841,"date":"2025-11-19T15:16:47","date_gmt":"2025-11-19T16:16:47","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=1841"},"modified":"2025-11-19T17:40:28","modified_gmt":"2025-11-19T17:40:28","slug":"how-to-set-brand-business-unit-on-deal-record-through-integration","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/11\/19\/how-to-set-brand-business-unit-on-deal-record-through-integration\/","title":{"rendered":"How to set brand\/business unit on Deal record through integration"},"content":{"rendered":"

Hi! We are creating Deal records through a custom-written integration. When the Deal records are created, we need to set the brand (business unit) property.\u00a0 The integration checks to see if the value being passed in exists in the options listed for brands. We have confirmed that the values we are sending in match the internal IDs shown in HubSpot for the different brands, yet we keep seeing the error that the values sent in do not match anything in HubSpot. It does work when we hard code in a value.\u00a0 I did find the topic linked below post that describes a\u00a0 similar issue. Does anyone have any additional information on this problem?\u00a0 \u00a0https:\/\/community.hubspot.com\/t5\/APIs-Integrations\/Use-Business-Units-with-API\/m-p\/551850#M49944<\/a><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

Hi! We are creating Deal records through a custom-written integration. When the Deal records are created, we need to set the brand (business unit) property.\u00a0 The integration checks to see if the value being passed in exists in the options listed for brands. We have confirmed that the values we are sending in match the […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1841"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=1841"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1841\/revisions"}],"predecessor-version":[{"id":1842,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1841\/revisions\/1842"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=1841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=1841"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=1841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}