Skip to main content
POST
Search products

Request contract

  • Method and path: POST /apis/v1/russelcoinc-com/products/search-products
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/russelcoinc-com/products/search-products
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
category_id
string

Category public id (uuid) as returned by list_categories (id) or seen in the site's /products?category= links. Includes the category's descendants. Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$.

page
number
default:1

1-based page of 42 products; pass the returned next_cursor to continue.

Provider reference: minimum 1; maximum 1000; default 1.

query
string
default:""

Free-text search (product description or brand, e.g. advil). Empty or omitted lists the catalogue.

Provider reference: default "".

sort
string
default:description

Sort order; the site's own values.

Provider reference: allowed values ["description", "price_asc", "price_desc"]; default "description".

special_offers_only
boolean

Only products in the site's 'On Sale' view (/products?special=true); their price_override carries the sale price.

wholesale_prices
boolean

Return wholesale unit prices instead of retail ones, as the public 'Wholesale Prices' toggle on the site does (no login involved).

Response

Search or browse the Russelco catalogue through the storefront's own listing server action (POST /products, Next.js loadMoreProducts): free-text query, category filter (category public id from list_categories), sort (description | price_asc | price_desc), the 'On Sale' view (special_offers_only) and the public 'Wholesale Prices' toggle (wholesale_prices). Returns one page of up to 42 products with UPC, description, unit price, sale price (price_override), case pack, quantity on hand, status and image URL, plus the site's total count and page count. With no query and no filters it pages through the whole catalogue (sorted by description). A query with no matches is a successful empty page.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.