{
  "schema_version": "1.7.0",
  "id": "x_SHAPI-shopify-rest-inventory-connect-preserves-quantities",
  "modified": "2026-04-17T00:00:00Z",
  "published": "2026-04-17T00:00:00Z",
  "summary": "Shopify's REST inventory_levels/connect keeps existing quantities instead of resetting them, as of 2026-04",
  "details": "As of Admin API version 2026-04, POST inventory_levels/connect.json keeps an inventory level's earlier quantities instead of resetting them to zero.\n\nSet the available quantity explicitly after connecting a location if your app relied on it starting at zero.",
  "affected": [
    {
      "ecosystem_specific": {
        "provider": "shopify",
        "endpoint": {
          "method": "POST",
          "path": "/admin/api/{version}/inventory_levels/connect.json"
        },
        "change_class": "version-sunset",
        "trigger": {
          "any": true
        },
        "effective_date": "2026-04-01"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://shopify.dev/changelog/inventoryactivate-now-preserves-available-quantity"
    }
  ],
  "database_specific": {
    "severity": "medium",
    "status": "unverified",
    "url": "https://shapi.dev/osv/shopify-rest-inventory-connect-preserves-quantities.json"
  }
}
