<?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 https://connect.squareup.com/v2/catalog/batch-upsert in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/https-connect-squareup-com-v2-catalog-batch-upsert/m-p/134349#M97919</link>
    <description>&lt;P&gt;I am using API to batch insert products, problem it add products over and over again and also when I do batch inventory change it does not work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "idempotency_key": "12c89fc4-6098-4e50-9718-7e0cf5033c49",
  "batches": [
    {
      "objects": [
        {
          "type": "ITEM",
          "id": "#bass-sport-headset-wireless-bluetooth-earphone-stereo-earpiece-earbuds-up-to-12hr-battery-life-green",
          "present_at_all_locations": true,
          "item_data": {
            "name": "Bass Sport Headset Wireless Bluetooth Earphone Stereo Earpiece Earbuds (Up To 12Hr Battery Life) - GREEN",
            "description": null,
            "category_id": "#ear-phone",
            "variations": [
              {
                "type": "ITEM_VARIATION",
                "id": "#bass-sport-headset-wireless-bluetooth-earphone-stereo-earpiece-earbuds-up-to-12hr-battery-life-green-variant",
                "present_at_all_locations": true,
                "item_variation_data": {
                  "item_id": "#bass-sport-headset-wireless-bluetooth-earphone-stereo-earpiece-earbuds-up-to-12hr-battery-life-green",
                  "name": "Regular",
                  "pricing_type": "FIXED_PRICING",
                  "price_money": {
                    "amount": 900,
                    "currency": "USD"
                  },
                  "sku": "PWR3-12HR-GRN"
                }
              }
            ]
          }
        },
        {
          "type": "CATEGORY",
          "id": "#ear-phone",
          "present_at_all_locations": true,
          "category_data": {
            "name": "Ear Phone"
          }
        }
      ]
    }
  ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And inventory change&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "idempotency_key": "8fc6a5b0-9fe8-4b47-b46b-2ef95793abbe",
  "changes": [
    {
      "type": "PHYSICAL_COUNT",
      "physical_count": {
        "reference_id": "1536bfbf-efed-48bf-b17d-a197141b2a92",
        "catalog_object_id": "RVZJFGEZGOZ3TYMGLKLFHYCT",
        "state": "IN_STOCK",
        "location_id": "########",
        "quantity": "53",
        "employee_id": "########",
        "occurred_at": "2019-09-28T22:25:24.878Z"
      }
    }
  ],
  "ignore_unchanged_counts": false
}&lt;/LI-CODE&gt;</description>
    <pubDate>Sun, 29 Sep 2019 16:01:58 GMT</pubDate>
    <dc:creator>znsstudio</dc:creator>
    <dc:date>2019-09-29T16:01:58Z</dc:date>
    <item>
      <title>https://connect.squareup.com/v2/catalog/batch-upsert</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/https-connect-squareup-com-v2-catalog-batch-upsert/m-p/134349#M97919</link>
      <description>&lt;P&gt;I am using API to batch insert products, problem it add products over and over again and also when I do batch inventory change it does not work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "idempotency_key": "12c89fc4-6098-4e50-9718-7e0cf5033c49",
  "batches": [
    {
      "objects": [
        {
          "type": "ITEM",
          "id": "#bass-sport-headset-wireless-bluetooth-earphone-stereo-earpiece-earbuds-up-to-12hr-battery-life-green",
          "present_at_all_locations": true,
          "item_data": {
            "name": "Bass Sport Headset Wireless Bluetooth Earphone Stereo Earpiece Earbuds (Up To 12Hr Battery Life) - GREEN",
            "description": null,
            "category_id": "#ear-phone",
            "variations": [
              {
                "type": "ITEM_VARIATION",
                "id": "#bass-sport-headset-wireless-bluetooth-earphone-stereo-earpiece-earbuds-up-to-12hr-battery-life-green-variant",
                "present_at_all_locations": true,
                "item_variation_data": {
                  "item_id": "#bass-sport-headset-wireless-bluetooth-earphone-stereo-earpiece-earbuds-up-to-12hr-battery-life-green",
                  "name": "Regular",
                  "pricing_type": "FIXED_PRICING",
                  "price_money": {
                    "amount": 900,
                    "currency": "USD"
                  },
                  "sku": "PWR3-12HR-GRN"
                }
              }
            ]
          }
        },
        {
          "type": "CATEGORY",
          "id": "#ear-phone",
          "present_at_all_locations": true,
          "category_data": {
            "name": "Ear Phone"
          }
        }
      ]
    }
  ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And inventory change&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "idempotency_key": "8fc6a5b0-9fe8-4b47-b46b-2ef95793abbe",
  "changes": [
    {
      "type": "PHYSICAL_COUNT",
      "physical_count": {
        "reference_id": "1536bfbf-efed-48bf-b17d-a197141b2a92",
        "catalog_object_id": "RVZJFGEZGOZ3TYMGLKLFHYCT",
        "state": "IN_STOCK",
        "location_id": "########",
        "quantity": "53",
        "employee_id": "########",
        "occurred_at": "2019-09-28T22:25:24.878Z"
      }
    }
  ],
  "ignore_unchanged_counts": false
}&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 29 Sep 2019 16:01:58 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/https-connect-squareup-com-v2-catalog-batch-upsert/m-p/134349#M97919</guid>
      <dc:creator>znsstudio</dc:creator>
      <dc:date>2019-09-29T16:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: https://connect.squareup.com/v2/catalog/batch-upsert</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/https-connect-squareup-com-v2-catalog-batch-upsert/m-p/134471#M97920</link>
      <description>&lt;P&gt;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/205992"&gt;@znsstudio&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You aren’t able to see open tickets via the API. You&amp;nbsp;&lt;EM&gt;can&lt;/EM&gt;&amp;nbsp;create an order via the API, send the order to your POS, and update the order if you need. For info on sending an order to the POS app you can check out this developer&amp;nbsp;link:&amp;nbsp;&lt;A href="https://slack-redir.net/link?url=https%3A%2F%2Fdeveloper.squareup.com%2Fdocs%2Forders-api%2Fhow-it-works%23fulfillments" target="_blank"&gt;https://developer.squareup.com/docs/orders-api/how-it-works#fulfillments&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;As for the Zapier integration, unfortunately, we don't have control over that integration. It is made and managed by Zapier.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 19:26:36 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/https-connect-squareup-com-v2-catalog-batch-upsert/m-p/134471#M97920</guid>
      <dc:creator>kellyj</dc:creator>
      <dc:date>2019-09-30T19:26:36Z</dc:date>
    </item>
  </channel>
</rss>

