tsh-stock

Compute per-item available-for-sale stock from Zoho Inventory using location_available_for_sale_stock.

Updated Nov 26, 2025
One-click install
npx skills add https://github.com/Qmop1967/Clients-Console --skill tsh-stock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tsh-stock
Source: https://github.com/Qmop1967/Clients-Console/tree/main/.claude/skills/tsh-stock
Command: npx skills add https://github.com/Qmop1967/Clients-Console --skill tsh-stock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates confusion and prevents overselling by ensuring accurate stock levels are displayed from Zoho, specifically addressing challenges with multiple warehouses and different stock types.

Core Features & Use Cases

  • Main WareHouse Focus: Ensures only relevant stock from the designated wholesale warehouse (Main WareHouse) is displayed, preventing misleading information from other locations.
  • Precise Stock Calculation: Uses the correct Zoho fields (location_available_for_sale_stock) to show what's truly available for sale, avoiding discrepancies from committed stock.
  • Consistent Stock Display: Provides unified functions to retrieve stock, preventing discrepancies between product list and detail pages, ensuring a reliable user experience.
  • Use Case: If a product shows "Out of Stock" but you suspect it shouldn't, use this Skill to debug by checking the specific Zoho fields and warehouse configurations to ensure the correct stock is being pulled and displayed, quickly resolving inventory issues.

Quick Start

Use the tsh-stock skill to retrieve the available stock for item ID '2646610000109854052' from the 'Main WareHouse'.

Frequently Asked Questions about tsh-stock

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent overselling with accurate stock levels across multiple Zoho warehouses?

Accurate stock levels prevent overselling by retrieving available-for-sale inventory specifically from your designated Main WareHouse using location_available_for_sale_stock fields, ensuring only committed, sellable stock appears in product displays and avoids fallback to inflated item.available_stock values.

What's the correct way to display stock from a specific warehouse in Zoho Inventory?

Display stock by reading location_available_for_sale_stock for your Main WareHouse instead of pulling from multiple locations or using generic available_stock. This unified approach eliminates discrepancies between product list and detail pages while respecting warehouse configuration.

Why does my Zoho product show different stock levels on list and detail pages?

Stock discrepancies between pages typically stem from inconsistent field retrieval—some pages may reference item.available_stock or wrong warehouse locations. Use unified stock retrieval functions that consistently pull location_available_for_sale_stock from your Main WareHouse configuration across all product displays.

How do I debug Zoho Inventory stock discrepancies across locations?

Debug by verifying the specific Zoho fields being pulled, confirming your Main WareHouse configuration is correctly referenced, and checking that location_available_for_sale_stock—not committed or reserved stock—feeds your stock badge and availability logic.

Can I use location-specific stock data to filter product lists in Zoho?

Yes. Filter product lists using location_available_for_sale_stock from your Main WareHouse to show only items with genuine sellable inventory, preventing misleading "in stock" displays for products unavailable at your primary warehouse location.

What data do I need from Zoho to implement consistent stock calculations?

Retrieve item ID, Main WareHouse identifier, and location_available_for_sale_stock values from Zoho's inventory API. These inputs enable accurate per-item stock computation and prevent reliance on ambiguous or warehouse-agnostic fields like item.available_stock.