<?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: Can not Create or update store in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Can-not-Create-or-update-store/m-p/657671#M54499</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/181949"&gt;@EDevTeam&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out. Those &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500" target="_blank" rel="noopener"&gt;generic 500 errors&lt;/A&gt; are tough to troubleshoot, for sure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ran a quick test using Postman and your provided params and I got a 200 response as expected. Although I cannot say why your attempts were failing, I can confirm the endpoint and the specific request you are sending will return a successful response code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My test JSON&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "id": "10",
    "label": "Store Name",
    "adminUri": "https://test.local.com/"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 20:02:15 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2022-06-29T20:02:15Z</dc:date>
    <item>
      <title>Can not Create or update store</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-not-Create-or-update-store/m-p/656720#M54459</link>
      <description>&lt;P&gt;Hi guys,&lt;BR /&gt;I can not create or update store via api&lt;/P&gt;&lt;P&gt;This is a issue:&lt;/P&gt;&lt;P&gt;Create or update store for portal_id='22115039' failed with error: 500&lt;BR /&gt;stdClass Object&lt;BR /&gt;(&lt;BR /&gt;[status] =&amp;gt; error&lt;BR /&gt;[message] =&amp;gt; internal error&lt;BR /&gt;[correlationId] =&amp;gt; aaf8bd25-9962-4d14-96bf-80cc3cd8581f&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Endpoint:&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://api.hubapi.com/extensions/ecomm/v2/stores" target="_blank"&gt;https://api.hubapi.com/extensions/ecomm/v2/stores&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Parameters:&lt;BR /&gt;&lt;STRONG&gt;$params = [&lt;BR /&gt;"id" =&amp;gt; 10,&lt;BR /&gt;"label" =&amp;gt; 'Store name',&lt;BR /&gt;"adminUri" =&amp;gt; '&lt;A href="https://test.local.com" target="_blank"&gt;https://test.local.com&lt;/A&gt;'&lt;BR /&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please tell me how can i resolve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 15:53:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-not-Create-or-update-store/m-p/656720#M54459</guid>
      <dc:creator>EDevTeam</dc:creator>
      <dc:date>2022-06-28T15:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can not Create or update store</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-not-Create-or-update-store/m-p/657671#M54499</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/181949"&gt;@EDevTeam&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out. Those &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500" target="_blank" rel="noopener"&gt;generic 500 errors&lt;/A&gt; are tough to troubleshoot, for sure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ran a quick test using Postman and your provided params and I got a 200 response as expected. Although I cannot say why your attempts were failing, I can confirm the endpoint and the specific request you are sending will return a successful response code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My test JSON&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "id": "10",
    "label": "Store Name",
    "adminUri": "https://test.local.com/"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 20:02:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-not-Create-or-update-store/m-p/657671#M54499</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-06-29T20:02:15Z</dc:date>
    </item>
  </channel>
</rss>

