fix: Backend taxonomy API response format mismatch
Problem: Frontend expects term_id but backend returns id, causing undefined in update/delete URLs
Changes:
1. Categories GET endpoint: Changed 'id' to 'term_id', added 'description' field
2. Tags GET endpoint: Changed 'id' to 'term_id', added 'description' field
3. Attributes GET endpoint: Changed 'id' to 'attribute_id', added 'attribute_public' field
This ensures backend response matches frontend TypeScript interfaces:
- Category interface expects: term_id, name, slug, description, parent, count
- Tag interface expects: term_id, name, slug, description, count
- Attribute interface expects: attribute_id, attribute_name, attribute_label, etc.
Files Modified:
- includes/Api/ProductsController.php (get_categories, get_tags, get_attributes)
Result:
✅ Update/delete operations now work - IDs are correctly passed in URLs
✅ No more /products/categories/undefined errors