<?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: Square API - Object Update for Multiple Locations Issue in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/107181#M96102</link>
    <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/149086"&gt;@WetLiquid&lt;/a&gt; If you posted in StackOverflow the API team will keep helping you there until this is resolved. Really appreciate your patience in the meantime.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 16:24:39 GMT</pubDate>
    <dc:creator>Helen</dc:creator>
    <dc:date>2019-01-23T16:24:39Z</dc:date>
    <item>
      <title>Square API - Object Update for Multiple Locations Issue</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/106908#M96099</link>
      <description>&lt;DIV class="post-text"&gt;
&lt;P&gt;I'm trying to updates objects using the endpoint&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.connect.squareup.com/api/connect/v2#endpoint-batchupsertcatalogobjects" rel="nofollow noreferrer" target="_blank"&gt;BatchRetrieveCatalogObjects&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(POST /v2/catalog/batch-upsert).&lt;/P&gt;
&lt;P&gt;When I post the request, I get the error&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[type] =&amp;gt; bad_request
[message] =&amp;gt; Multi-location support is unavailable for this endpoint. Parameter `merchant_id` must correspond to a single-location account, not a business account
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How can I update objects if there are multiple locations and if items have location overrides?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there another endpoint that I can use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.connect.squareup.com/api/connect/v2#endpoint-upsertcatalogobject" rel="nofollow noreferrer" target="_blank"&gt;UpsertCatalogObject&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(POST /v2/catalog/object) does not work either. Same error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is a sample request payload:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Array
(
    [idempotency_key] =&amp;gt; 1122334455667788
    [batches] =&amp;gt; Array
        (
            [type] =&amp;gt; ITEM
            [id] =&amp;gt; 5BLFIPNYBTDD5ARZYQU4K7SV
            [item_data] =&amp;gt; Array
                (
                    [name] =&amp;gt;  Honey Mead
                    [description] =&amp;gt; Mead is an adult beverage brewed exclusively with honey. 
                    [category_id] =&amp;gt; OIMGQF7DCO7W6SEXEMKGIJK5
                )

            [variations] =&amp;gt; Array
                (
                    [type] =&amp;gt; ITEM_VARIATION
                    [id] =&amp;gt; BEQZ6FXAJACGW55RRZBMXDEI
                    [item_variation_data] =&amp;gt; Array
                        (
                            [item_id] =&amp;gt; 5BLFIPNYBTDD5ARZYQU4K7SV
                            [name] =&amp;gt; Case (24 bottles)
                            [pricing_type] =&amp;gt; FIXED_PRICING
                            [ordinal] =&amp;gt; 4
                            [price_money] =&amp;gt; Array
                                (
                                    [amount] =&amp;gt; 11900
                                )

                            [location_overrides] =&amp;gt; Array
                                (
                                    [0] =&amp;gt; Array
                                        (
                                            [location_id] =&amp;gt; 81J6E4K21KGC9
                                            [price_money] =&amp;gt; Array
                                                (
                                                    [amount] =&amp;gt; 11900
                                                )

                                            [pricing_type] =&amp;gt; FIXED_PRICING
                                            [track_inventory] =&amp;gt; 1
                                            [inventory_alert_type] =&amp;gt; LOW_QUANTITY
                                            [inventory_alert_threshold] =&amp;gt; 15
                                        )

                                )

                        )

                )

        )

)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="post-taglist grid gs4 gsy fd-column"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Jan 2019 11:19:44 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/106908#M96099</guid>
      <dc:creator>WetLiquid</dc:creator>
      <dc:date>2019-01-20T11:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Square API - Object Update for Multiple Locations Issue</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/107144#M96100</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/149086"&gt;@WetLiquid&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I reached out to our API Support Team and it looks like they were able to help you on &lt;A href="https://stackoverflow.com/questions/54272601/square-api-object-update-for-multiple-locations" target="_blank"&gt;StackOverFlow&lt;/A&gt;.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 00:56:57 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/107144#M96100</guid>
      <dc:creator>Chad</dc:creator>
      <dc:date>2019-01-23T00:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Square API - Object Update for Multiple Locations Issue</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/107164#M96101</link>
      <description>&lt;P&gt;Someone contacted me on &lt;A title="Square API - Object Update for Multiple Locations" href="https://stackoverflow.com/questions/54272601/square-api-object-update-for-multiple-locations" target="_blank"&gt;StackOverflow&lt;/A&gt;, but the issue is not resolved.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 12:33:57 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/107164#M96101</guid>
      <dc:creator>WetLiquid</dc:creator>
      <dc:date>2019-01-23T12:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Square API - Object Update for Multiple Locations Issue</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/107181#M96102</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/149086"&gt;@WetLiquid&lt;/a&gt; If you posted in StackOverflow the API team will keep helping you there until this is resolved. Really appreciate your patience in the meantime.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:24:39 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Square-API-Object-Update-for-Multiple-Locations-Issue/m-p/107181#M96102</guid>
      <dc:creator>Helen</dc:creator>
      <dc:date>2019-01-23T16:24:39Z</dc:date>
    </item>
  </channel>
</rss>

