<?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: Item's image not showing up in square register when set via Connect API's BatchUpsertCatalogO... in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/152281#M94322</link>
    <description>&lt;P&gt;I reached out to one of our engineers, and they were able to&amp;nbsp;test&amp;nbsp;the &lt;EM&gt;v2 CreateCatalogImage&lt;/EM&gt; endpoint that you referenced. The image did&amp;nbsp;show up in SPOS when tested, so it would be helpful to get a bit more context about what you're experiencing on your end. If you are able to provide a &lt;EM&gt;catalog_object_id&lt;/EM&gt; for an item where it&amp;nbsp;didn’t work, we can definitely have our engineer&amp;nbsp;look it up and see what the issue is.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I was also able to confirm that you are correct about the v1 link, as the v1 endpoint was deprecated in favor of the v2 endpoint, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/245962"&gt;@donutshoppe&lt;/a&gt;.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2020 21:24:18 GMT</pubDate>
    <dc:creator>Valentina</dc:creator>
    <dc:date>2020-02-15T21:24:18Z</dc:date>
    <item>
      <title>Item's image not showing up in square register when set via Connect API's BatchUpsertCatalogObjects</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/62350#M94319</link>
      <description>&lt;P&gt;I've created a job that syncs my item inventory via&amp;nbsp;the Connect API v2's BatchUpsertCatalogObjects. I'm using the official &lt;A href="https://github.com/square/connect-python-sdk" target="_blank"&gt;square connect-python-sdk package&lt;/A&gt; to do so. The objects show up in the app just fine, but any images set on the item via image_url will not show up in the app. Here's a slightly anonymized object showing what the object looks like after syncing via API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; {
            "type": "ITEM",
            "id": "HJVS{snip}",
            "updated_at": "2017-12-13T22:46:52.094Z",
            "version": 1513205212094,
            "is_deleted": false,
            "present_at_all_locations": true,
            "item_data": {
                "name": "Test Description",
                "category_id": "5XOK{snip}",
                "image_url": "https://my-publicly-accessible-bucket.s3.amazonaws.com/test.png",
                "variations": [
                    {
                        "type": "ITEM_VARIATION",
                        "id": "ZW6F{snip}",
                        "updated_at": "2017-12-13T22:46:52.094Z",
                        "version": 1513205212094,
                        "is_deleted": false,
                        "present_at_all_locations": true,
                        "item_variation_data": {
                            "item_id": "HJVS{snip}",
                            "name": "Test Description",
                            "ordinal": 0,
                            "pricing_type": "FIXED_PRICING",
                            "price_money": {
                                "amount": 2500,
                                "currency": "USD"
                            }
                        }
                    }
                ],
                "product_type": "REGULAR"
            }&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;When I edit the item in the POS app the image will work, but it actually changes the object's IDs as well, so my sync process creates a duplicate item with no image the next time it runs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
            "type": "ITEM",
            "id": "FW5A{snip}",
            "updated_at": "2017-12-13T23:02:38.732Z",
            "version": 1513206158732,
            "is_deleted": false,
            "present_at_all_locations": true,
            "item_data": {
                "name": "Test Description",
                "visibility": "PRIVATE",
                "available_online": false,
                "available_for_pickup": false,
                "available_electronically": false,
                "category_id": "IB2R{snip}",
                "ordinal": 0,
                "image_url": "https://square-production.s3.amazonaws.com/files/281c{snip}/original.jpeg",
                "variations": [
                    {
                        "type": "ITEM_VARIATION",
                        "id": "CEAW{snip}",
                        "updated_at": "2017-12-13T23:02:38.732Z",
                        "version": 1513206158732,
                        "is_deleted": false,
                        "present_at_all_locations": true,
                        "item_variation_data": {
                            "item_id": "FW5A{snip}",
                            "name": "Test Description",
                            "ordinal": 0,
                            "pricing_type": "FIXED_PRICING",
                            "price_money": {
                                "amount": 2500,
                                "currency": "USD"
                            }
                        }
                    }
                ],
                "product_type": "REGULAR",
                "skip_modifier_screen": false
            }
        },&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;So two questions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Why isn't the image working when set via the API?&lt;/LI&gt;
&lt;LI&gt;Why does modifying an item via the POS app completely change all the IDs for the item?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 13 Dec 2017 23:09:17 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/62350#M94319</guid>
      <dc:creator>phloopy</dc:creator>
      <dc:date>2017-12-13T23:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Item's image not showing up in square register when set via Connect API's BatchUpsertCatalogO...</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/63076#M94320</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/86138"&gt;@phloopy&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I reached out to our API Team, and they took a look at your post.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I was able to gather the following information for you:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;OL&gt;
 &lt;LI&gt;You can’t actually set a URL using that call. You’ll need to use the Connect v1 API to upload that image (&lt;A href="https://docs.connect.squareup.com/api/connect/v1#post-image" target="_blank"&gt;https://docs.connect.squareup.com/api/connect/v1#post-image&lt;/A&gt;).&lt;BR /&gt;
 &amp;nbsp;&lt;/LI&gt;
 &lt;LI&gt;The item with id “HJVS2CPV3YRSVKGZMJ3B2BPV” was created using Connect at 2017-12-13 22:46:52.094, then deleted by Connect about 2 minutes later. Next the item “FW5A6JJO3JGJVGSYG73MXMHS” was created by Connect immediately afterwards, and then modified by Point of Sale application. So your original item was deleted and then replaced with a new item before you used the Point of sale application to edit it.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I hope this helps, and let us know if you have any other questions &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍🏼&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 17:21:53 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/63076#M94320</guid>
      <dc:creator>EJ_</dc:creator>
      <dc:date>2017-12-19T17:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Item's image not showing up in square register when set via Connect API's BatchUpsertCatalogO...</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/151598#M94321</link>
      <description>&lt;P&gt;Hi there. This still appears to be an issue and the link you provided to the v1 documentation does not appear to be active. As&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/86138"&gt;@phloopy&lt;/a&gt;&amp;nbsp;mentioned, you can post images to the endpoint and the images are retrievable via the catalog list, but they are not visible within the point of sale app.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;endpoint we are posting images to: &lt;A href="https://connect.squareup.com/v2/catalog/images" target="_blank"&gt;https://connect.squareup.com/v2/catalog/images&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 06:25:56 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/151598#M94321</guid>
      <dc:creator>donutshoppe</dc:creator>
      <dc:date>2020-02-12T06:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Item's image not showing up in square register when set via Connect API's BatchUpsertCatalogO...</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/152281#M94322</link>
      <description>&lt;P&gt;I reached out to one of our engineers, and they were able to&amp;nbsp;test&amp;nbsp;the &lt;EM&gt;v2 CreateCatalogImage&lt;/EM&gt; endpoint that you referenced. The image did&amp;nbsp;show up in SPOS when tested, so it would be helpful to get a bit more context about what you're experiencing on your end. If you are able to provide a &lt;EM&gt;catalog_object_id&lt;/EM&gt; for an item where it&amp;nbsp;didn’t work, we can definitely have our engineer&amp;nbsp;look it up and see what the issue is.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I was also able to confirm that you are correct about the v1 link, as the v1 endpoint was deprecated in favor of the v2 endpoint, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/245962"&gt;@donutshoppe&lt;/a&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 21:24:18 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/152281#M94322</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-02-15T21:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Item's image not showing up in square register when set via Connect API's BatchUpsertCatalogO...</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/152284#M94323</link>
      <description>&lt;P&gt;Here is a catalog item that has a corresponding IMAGE object that is referenced at the variation level. Does this image ID also need to be referenced at the catalog object level?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Id: O5E3FPVXPA736VWEFNQIZCV6&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 21:52:36 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/152284#M94323</guid>
      <dc:creator>donutshoppe</dc:creator>
      <dc:date>2020-02-15T21:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Item's image not showing up in square register when set via Connect API's BatchUpsertCatalogO...</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/152929#M94324</link>
      <description>&lt;P&gt;We were able to replicate this by adding an image to a &lt;STRONG&gt;variation&lt;/STRONG&gt;, and confirmed that it does not&amp;nbsp;show anywhere. Although the &lt;EM&gt;CreateCatalogImage&lt;/EM&gt; endpoint allows you to add an image to most objects,&amp;nbsp;only an object of type &lt;STRONG&gt;item&lt;/STRONG&gt; will actually display it anywhere.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;That being said, we can confirm that in order for the image to appear, you would need to reference it at the catalog &lt;STRONG&gt;item&lt;/STRONG&gt; level&amp;nbsp;instead of the catalog &lt;STRONG&gt;variation&lt;/STRONG&gt; level. I hope this helps clear things up - please let me know if you'd like me to look into anything else for you, &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/245962"&gt;@donutshoppe&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 01:51:45 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Item-s-image-not-showing-up-in-square-register-when-set-via/m-p/152929#M94324</guid>
      <dc:creator>Valentina</dc:creator>
      <dc:date>2020-02-20T01:51:45Z</dc:date>
    </item>
  </channel>
</rss>

