<?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>thread Re: CatalogItem not visible under sandbox or seller dashboard in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CatalogItem-not-visible-under-sandbox-or-seller-dashboard/m-p/206690#M93318</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/320696"&gt;@ajayvyas&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I ran this by our API team -&amp;nbsp;they let me know that because you&amp;nbsp;are not adding an item variation,&amp;nbsp;that is why it's not showing on the Dashboard. I outlined the best ways to get help with API questions like this &lt;A href="https://www.sellercommunity.com/t5/Developer-Discussions/Looking-for-Integration-Assistance/m-p/203191#M2264" target="_blank"&gt;here in this thread&lt;/A&gt;, if you still need a hand!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:21:29 GMT</pubDate>
    <dc:creator>Valentina</dc:creator>
    <dc:date>2020-09-29T22:21:29Z</dc:date>
    <item>
      <title>CatalogItem not visible under sandbox or seller dashboard</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CatalogItem-not-visible-under-sandbox-or-seller-dashboard/m-p/205579#M93317</link>
      <description>&lt;P&gt;We are trying to integrate Square API with our e-commerce system. While testing the APIs we found that CatalogItems we are adding using APIs are not displaying under Sandbox or Production Dashboard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tried with API explorer also, here is the code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Request :&lt;/P&gt;
&lt;PRE class="code-block code--c#" tabindex="0" data-test-code-block-content=""&gt;&lt;CODE&gt;&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; itemData = &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; CatalogItem.Builder()
  .Name(&lt;SPAN class="hljs-string"&gt;"Dummy Item 1"&lt;/SPAN&gt;)
  .Description(&lt;SPAN class="hljs-string"&gt;"This is the description for Item 1"&lt;/SPAN&gt;)
  .Abbreviation(&lt;SPAN class="hljs-string"&gt;"dum1"&lt;/SPAN&gt;)
  .ProductType(&lt;SPAN class="hljs-string"&gt;"REGULAR"&lt;/SPAN&gt;)
  .Build();

&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;object&lt;/SPAN&gt; = &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; CatalogObject.Builder(type: &lt;SPAN class="hljs-string"&gt;"ITEM"&lt;/SPAN&gt;, id: &lt;SPAN class="hljs-string"&gt;"#Test-CatalogItem-1"&lt;/SPAN&gt;)
  .IsDeleted(&lt;SPAN class="hljs-literal"&gt;false&lt;/SPAN&gt;)
  .PresentAtAllLocations(&lt;SPAN class="hljs-literal"&gt;true&lt;/SPAN&gt;)
  .ItemData(itemData)
  .Build();

&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; body = &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; UpsertCatalogObjectRequest.Builder(idempotencyKey: &lt;SPAN class="hljs-string"&gt;"2a30c16d-4aff-4e67-9137-86935af73f9c"&lt;/SPAN&gt;, &lt;SPAN class="hljs-keyword"&gt;object&lt;/SPAN&gt;: &lt;SPAN class="hljs-keyword"&gt;object&lt;/SPAN&gt;)
  .Build();

&lt;SPAN class="hljs-keyword"&gt;try&lt;/SPAN&gt;
{
  &lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; result = &lt;SPAN class="hljs-keyword"&gt;await&lt;/SPAN&gt; client.CatalogApi.UpsertCatalogObjectAsync(body: body);
}
&lt;SPAN class="hljs-keyword"&gt;catch&lt;/SPAN&gt; (ApiException e)
{
  Console.WriteLine(&lt;SPAN class="hljs-string"&gt;"Failed to make the request"&lt;/SPAN&gt;);
  Console.WriteLine(&lt;SPAN class="hljs-string"&gt;$"Response Code: &lt;SPAN class="hljs-subst"&gt;{e.ResponseCode}&lt;/SPAN&gt;"&lt;/SPAN&gt;);
  Console.WriteLine(&lt;SPAN class="hljs-string"&gt;$"Exception: &lt;SPAN class="hljs-subst"&gt;{e.Message}&lt;/SPAN&gt;"&lt;/SPAN&gt;);
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Response :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="code-block code--json" tabindex="0" data-test-code-block-content=""&gt;&lt;CODE&gt;cache-control: max-age=0, private, must-revalidate
content-encoding: gzip
content-type: application/json
date: Fri, 25 Sep 2020 10:04:34 GMT
square-version: 2020-09-23

&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;{
  &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"catalog_object"&lt;/SPAN&gt;: {
    &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"type"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"ITEM"&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"id"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"5RLSPXTTL2F4SHT2FRKZAAI5"&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"updated_at"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"2020-09-25T10:04:34.097Z"&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"version"&lt;/SPAN&gt;: &lt;SPAN class="hljs-number"&gt;1601028274097&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"is_deleted"&lt;/SPAN&gt;: &lt;SPAN class="hljs-literal"&gt;false&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"present_at_all_locations"&lt;/SPAN&gt;: &lt;SPAN class="hljs-literal"&gt;true&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"item_data"&lt;/SPAN&gt;: {
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"name"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"Dummy Item 1"&lt;/SPAN&gt;,
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"description"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"This is the description for Item 1"&lt;/SPAN&gt;,
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"abbreviation"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"dum1"&lt;/SPAN&gt;,
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"product_type"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"REGULAR"&lt;/SPAN&gt;
    }
  },
  &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"id_mappings"&lt;/SPAN&gt;: [
    {
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"client_object_id"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"#Test-CatalogItem-1"&lt;/SPAN&gt;,
      &lt;SPAN class="hljs-attr hljs-attr--hoverable"&gt;"object_id"&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;"5RLSPXTTL2F4SHT2FRKZAAI5"&lt;/SPAN&gt;
    }
  ]
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 10:06:09 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CatalogItem-not-visible-under-sandbox-or-seller-dashboard/m-p/205579#M93317</guid>
      <dc:creator>ajayvyas</dc:creator>
      <dc:date>2020-09-25T10:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: CatalogItem not visible under sandbox or seller dashboard</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CatalogItem-not-visible-under-sandbox-or-seller-dashboard/m-p/206690#M93318</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/320696"&gt;@ajayvyas&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I ran this by our API team -&amp;nbsp;they let me know that because you&amp;nbsp;are not adding an item variation,&amp;nbsp;that is why it's not showing on the Dashboard. I outlined the best ways to get help with API questions like this &lt;A href="https://www.sellercommunity.com/t5/Developer-Discussions/Looking-for-Integration-Assistance/m-p/203191#M2264" target="_blank"&gt;here in this thread&lt;/A&gt;, if you still need a hand!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:21:29 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/CatalogItem-not-visible-under-sandbox-or-seller-dashboard/m-p/206690#M93318</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-09-29T22:21:29Z</dc:date>
    </item>
  </channel>
</rss>

