<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating and updating Mappings for Ecommerce Bridge API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Creating-and-updating-Mappings-for-Ecommerce-Bridge-API/m-p/566118#M50499</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/78561"&gt;@j_j&lt;/a&gt;&amp;nbsp;yes you can use&amp;nbsp;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}&lt;/A&gt;&amp;nbsp;to get the current e-commerce bridge mapping&lt;BR /&gt;&lt;BR /&gt;Then remove the following entries from the JSON response (for all objects)&lt;/P&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;ip__sync_extension__external_source_account_id&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;ip__sync_extension__external_source_app_id&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Then add the&amp;nbsp;new entries in JSON body for the new information you need to record, then post that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;entire&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;payload back to HubSpot using&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PUT&lt;/STRONG&gt;&amp;nbsp;&lt;A href="https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this is helpful.&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 12:43:08 GMT</pubDate>
    <dc:creator>Ismail</dc:creator>
    <dc:date>2022-01-31T12:43:08Z</dc:date>
    <item>
      <title>Creating and updating Mappings for Ecommerce Bridge API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Creating-and-updating-Mappings-for-Ecommerce-Bridge-API/m-p/566047#M50494</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simple question hopefully.&lt;BR /&gt;&lt;BR /&gt;If we get our existing API mappings via this endpoint:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GET&lt;/STRONG&gt; &lt;A href="https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}" target="_blank" rel="noopener"&gt;https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then add some new entries in JSON body for some new information we need to record, can we just post that &lt;EM&gt;entire&lt;/EM&gt; payload back to HubSpot using:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PUT&lt;/STRONG&gt;&amp;nbsp;&lt;A href="https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}" target="_blank" rel="noopener"&gt;https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think we tried this before and it had problems. The endpoint for our mappings has some entries like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"externalPropertyName": "external_source_app_id",&lt;BR /&gt;"hubspotPropertyName": "ip__sync_extension__external_source_app_id",&lt;BR /&gt;"dataType": "STRING"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did not add these, they were just returned in the payload. Do we leave them in there when trying to re-sync our new data? We just want to add two new fields in the CONTACT section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 11:17:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Creating-and-updating-Mappings-for-Ecommerce-Bridge-API/m-p/566047#M50494</guid>
      <dc:creator>j_j</dc:creator>
      <dc:date>2022-01-31T11:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating and updating Mappings for Ecommerce Bridge API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Creating-and-updating-Mappings-for-Ecommerce-Bridge-API/m-p/566118#M50499</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/78561"&gt;@j_j&lt;/a&gt;&amp;nbsp;yes you can use&amp;nbsp;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}&lt;/A&gt;&amp;nbsp;to get the current e-commerce bridge mapping&lt;BR /&gt;&lt;BR /&gt;Then remove the following entries from the JSON response (for all objects)&lt;/P&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;ip__sync_extension__external_source_account_id&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;ip__sync_extension__external_source_app_id&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Then add the&amp;nbsp;new entries in JSON body for the new information you need to record, then post that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;entire&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;payload back to HubSpot using&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PUT&lt;/STRONG&gt;&amp;nbsp;&lt;A href="https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.hubapi.com/extensions/ecomm/v2/settings?hapikey={our-hapi-key}&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this is helpful.&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 12:43:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Creating-and-updating-Mappings-for-Ecommerce-Bridge-API/m-p/566118#M50499</guid>
      <dc:creator>Ismail</dc:creator>
      <dc:date>2022-01-31T12:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating and updating Mappings for Ecommerce Bridge API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Creating-and-updating-Mappings-for-Ecommerce-Bridge-API/m-p/566159#M50501</link>
      <description>&lt;P&gt;Thanks, I removed them and it gave me a 200 (OK) response.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 13:40:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Creating-and-updating-Mappings-for-Ecommerce-Bridge-API/m-p/566159#M50501</guid>
      <dc:creator>j_j</dc:creator>
      <dc:date>2022-01-31T13:40:27Z</dc:date>
    </item>
  </channel>
</rss>

