<?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: UpsertCatalogObject Not Applying category_id to New Items in Orders, Menu Items, Catalog &amp; Fulfilment</title>
    <link>https://community.squareup.com/t5/Orders-Menu-Items-Catalog/UpsertCatalogObject-Not-Applying-category-id-to-New-Items/m-p/780525#M969</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/713027"&gt;@redmountain&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;Unfortunately, in this Community we are not equipped to help when it comes to API questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Square does offer&lt;A href="https://developer.squareup.com/forums/" target="_self"&gt;&amp;nbsp;Developer Forums&lt;/A&gt; where you can ask other developers any questions you might have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can request support from our team using &lt;A href="https://app.squareup.com/help/us/en/contact?panel=BF53A9C8EF68" target="_self"&gt;this link&lt;/A&gt; or join our &lt;A href="https://discord.com/invite/squaredev" target="_self"&gt;Discord community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information is helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2025 23:31:40 GMT</pubDate>
    <dc:creator>frances_a</dc:creator>
    <dc:date>2025-03-03T23:31:40Z</dc:date>
    <item>
      <title>UpsertCatalogObject Not Applying category_id to New Items</title>
      <link>https://community.squareup.com/t5/Orders-Menu-Items-Catalog/UpsertCatalogObject-Not-Applying-category-id-to-New-Items/m-p/779838#M968</link>
      <description>&lt;PRE&gt;Subject: UpsertCatalogObject Not Applying category_id to New Items

Description:
Using the Square Catalog API (production environment), `UpsertCatalogObject` fails to apply `category_id` to new items, despite valid category IDs, correct payloads, and successful responses with version increments. This occurs for multiple category IDs (e.g., `IWF55NV4EXHZKRUSKHBBXVG2` and `NOLW4NHFNLXFFKHJ2LZ7EN6M`), both confirmed valid in the Dashboard.

Steps to Reproduce:
1. Send `UpsertCatalogObject` with `item_data` including `name`, `variations`, and `category_id` (e.g., `NOLW4NHFNLXFFKHJ2LZ7EN6M`).
2. API returns success, but `category_id` isn’t in `item_data` or `related_objects` (with `include_related_objects=True`).
3. Update with same payload; version increments, but category remains unset in retrievals and Dashboard.

Evidence:
- Initial payload: [Insert `Upsert payload` from 20:50:19,308]
- Upsert response: [Insert `Upserted item` from 20:50:19,593]
- Update payload: [Insert `Update payload` from 20:50:19,748]
- Update response: [Insert `Category updated successfully` from 20:50:20,073]
- Final retrieval: [Insert `Final retrieval` from 20:50:20,313]
- Dashboard: Item `GOA7HCHWCLKBGWDQHL7UQLY7` shows no category.

Expected Behavior:
`category_id` should be applied and visible in API retrievals and Dashboard.

Actual Behavior:
Category isn’t applied, despite successful API calls.

Please advise on a fix or workaround. Manual Dashboard assignment works, but API automation is critical for our workflow.&lt;/PRE&gt;</description>
      <pubDate>Sat, 20 Sep 2025 09:46:04 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Orders-Menu-Items-Catalog/UpsertCatalogObject-Not-Applying-category-id-to-New-Items/m-p/779838#M968</guid>
      <dc:creator>redmountain</dc:creator>
      <dc:date>2025-09-20T09:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: UpsertCatalogObject Not Applying category_id to New Items</title>
      <link>https://community.squareup.com/t5/Orders-Menu-Items-Catalog/UpsertCatalogObject-Not-Applying-category-id-to-New-Items/m-p/780525#M969</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/713027"&gt;@redmountain&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;Unfortunately, in this Community we are not equipped to help when it comes to API questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Square does offer&lt;A href="https://developer.squareup.com/forums/" target="_self"&gt;&amp;nbsp;Developer Forums&lt;/A&gt; where you can ask other developers any questions you might have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can request support from our team using &lt;A href="https://app.squareup.com/help/us/en/contact?panel=BF53A9C8EF68" target="_self"&gt;this link&lt;/A&gt; or join our &lt;A href="https://discord.com/invite/squaredev" target="_self"&gt;Discord community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information is helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 23:31:40 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Orders-Menu-Items-Catalog/UpsertCatalogObject-Not-Applying-category-id-to-New-Items/m-p/780525#M969</guid>
      <dc:creator>frances_a</dc:creator>
      <dc:date>2025-03-03T23:31:40Z</dc:date>
    </item>
  </channel>
</rss>

