@trustrails/sdk 0.4.9 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ new TrustRails({ apiKey: string, baseUrl?: string })
|
|
|
61
61
|
Search for products. Returns summary data (title, price, availability, category). For full technical specs, call `product(id)` with the product ID.
|
|
62
62
|
|
|
63
63
|
**Parameters:**
|
|
64
|
-
- `options.query?: string` - Refinement terms after brand and category are extracted: model lines, series
|
|
64
|
+
- `options.query?: string` - Refinement terms after brand and category are extracted: model lines, series, variants, technology descriptors, or model numbers (e.g. `'neo'`, `'ultra'`, `'oled'`, `'WH-1000XM5'`). Omit entirely if brand + category fully describe what you want. Never put brand names, product family names, or prices here — use filters.
|
|
65
65
|
- `options.brand?: string` - Filter by brand name (e.g., 'Sony', 'HP', 'Anker')
|
|
66
66
|
- `options.category?: string` - Filter by product category (e.g., 'Laptops', 'Headphones')
|
|
67
67
|
- `options.minPrice?: number` - Minimum price filter in GBP
|