Get Price and Stock
AI-generatedSummary
Searches Petrovich for the query and returns price and stock details for the first matching product. Use it as an AI Agent tool or in a workflow that needs a single product match.
Inputs
- query (required) — Product search text, typically in Russian. The operation searches with this text and requests one result.
Output shape
A single item containing the query, a found flag, and product details such as name, URL, ID, code, brand, image, price, currency, availability, stock, and unit.
When no product matches, returns found=false with product fields null, availability set to Unknown, and properties as an empty array. Description and properties are null/empty for this operation. Petrovich API credentials are optional; configured credentials can provide API endpoints, city, and API key.