ItemData Description Update Failed - Batch Upsert Catalog

Hi Square Team,
I triggered an exception for batch updating the catalog.
When I call the API for batch updating catalog, the description of the product is set to a null value.


{
  "idempotency_key": "ITEM-96CE6FD1B170C80513EE",
  "batches": [
    {
      "objects": [
        {
          "type": "ITEM",
          "id": "G3CBOLUUFYELOAJSYVID5QLO",
          "version": 1747219343774,
          "present_at_all_locations": false,
          "present_at_location_ids": [
            "LW5CN6FQCFVC3"
          ],
          "item_data": {
            "name": "MP20250514001",
            "is_taxable": false,
            "tax_ids": [],
            "modifier_list_info": [
              {
                "modifier_list_id": "6QJYD555BWVLW6PC3757IP2N",
                "modifier_overrides": [
                  {
                    "modifier_id": "H7QRHEJMYTT3T6RYNCFBRZBF",
                    "on_by_default": false
                  }
                ],
                "min_selected_modifiers": null,
                "max_selected_modifiers": 1,
                "enabled": true,
                "ordinal": 0
              },
              {
                "modifier_list_id": "QCJYB6ZVSXTCPFFTCCNI7PXP",
                "modifier_overrides": [
                  {
                    "modifier_id": "NH7ULSTY4VWBMWRU6C2W6ZJB",
                    "on_by_default": false
                  }
                ],
                "min_selected_modifiers": null,
                "max_selected_modifiers": 1,
                "enabled": true,
                "ordinal": 1
              }
            ],
            "variations": [
              {
                "type": "ITEM_VARIATION",
                "id": "57C4HJ3EXLZOFGCOV7CML65Y",
                "version": 1747219343774,
                "present_at_all_locations": false,
                "present_at_location_ids": [
                  "LW5CN6FQCFVC3"
                ],
                "item_variation_data": {
                  "item_id": "G3CBOLUUFYELOAJSYVID5QLO",
                  "pricing_type": "FIXED_PRICING",
                  "price_money": {
                    "amount": 1200,
                    "currency": "USD"
                  },
                  "location_overrides": [
                    {
                      "location_id": "LW5CN6FQCFVC3",
                      "track_inventory": null,
                      "inventory_alert_threshold": null
                    }
                  ],
                  "track_inventory": false
                }
              }
            ],
            "product_type": "FOOD_AND_BEV",
            "image_ids": [
              "VJH4GVNRZPREKTMAFIPUWJYZ"
            ],
            "categories": [
              {
                "id": "7DN3E3UHYKADHQSEIL25QMKT"
              }
            ],
            "description_html": "MP2025051400111",
            "is_archived": false,
            "reporting_category": {
              "id": "7DN3E3UHYKADHQSEIL25QMKT"
            }
          }
        }
      ]
    }
  ]
}

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Work with Images
Manage Images in a Square Catalog
Design a Catalog

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Was there a previous description for that object prior to the update? :slight_smile:

Yes, The same description already existed before the update.

Hi Bryan-Square,
Sorry, Why can’t I reply to your message?

Could you please help me check it?

Yeah, that 422 error means that the response was too short. Is this the only item that this happened to? :slight_smile:

Please help me check the issue where the description is set to a null value.

Hi Bryan, Hope you’re doing well! I just wanted to follow up on my previous message regarding [Update ItemData Description]. Looking forward to hearing from you when you get a chance.

Do you have a recent example of this behavior? :slight_smile: