Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1326

Invisible product on item library after updating or creating via api

$
0
0

When creating / updating catalog items via the API the item sometimes becomes invisible in the webapp item library. No, i do not have any active filters in the search.

Searching for the item using any data metric doesnt work. The only way I can view the item in the library is directly by copying the id and pasting in the url.

This is one of the products in question, is there something in here preventing visibility? :

{
  "object": {
    "type": "ITEM",
    "id": "ZESFMWOVCE24DWNYPVFFESA6",
    "updated_at": "2024-10-03T04:09:15.055Z",
    "created_at": "2024-10-03T00:58:37.38Z",
    "version": 1727928555055,
    "is_deleted": false,
    "present_at_all_locations": true,
    "item_data": {
      "name": "Simple product",
      "description": "Simple 1",
      "is_taxable": true,
      "visibility": "PRIVATE",
      "variations": [
        {
          "type": "ITEM_VARIATION",
          "id": "MWAL2K3NXLA62VIKXMMXIBM5",
          "updated_at": "2024-10-03T04:09:15.055Z",
          "created_at": "2024-10-03T00:58:37.38Z",
          "version": 1727928555055,
          "is_deleted": false,
          "present_at_all_locations": true,
          "item_variation_data": {
            "item_id": "ZESFMWOVCE24DWNYPVFFESA6",
            "name": "Regular",
            "sku": "simple",
            "ordinal": 1,
            "pricing_type": "FIXED_PRICING",
            "price_money": {
              "amount": 9900,
              "currency": "AUD"
            },
            "track_inventory": true,
            "sellable": true,
            "stockable": true
          }
        }
      ],
      "product_type": "REGULAR",
      "skip_modifier_screen": false,
      "ecom_visibility": "UNINDEXED",
      "pickup_fulfillment_preferences_id": "fprefs_1284onmev52wrcg2et6jwf2g9",
      "delivery_fulfillment_preferences_id": "fprefs_1284onmetr8ldaofn0vs24xt5",
      "description_html": "<p>Simple 1</p>",
      "description_plaintext": "Simple 1",
      "shipping_fulfillment_preferences_id": "fprefs_1284onmevp9tma4vq7cmvrh2h",
      "dine_in_fulfillment_preferences_id": "fprefs_1284onmeukp6fplx30kiyg4rt",
      "is_archived": false
    }
  }
}

FYI, cant attach images to this post, http error 422

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1326

Trending Articles