Skip to main content
POST
Search products

Request contract

  • Method and path: POST /apis/v1/woocommerce-com/products/search-products
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/woocommerce-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
store
string
required

The store: a bare domain (example.com) or any URL on the store. Any WooCommerce site with the public Store API (/wp-json/wc/store/v1) enabled.

attributes
object[]

Attribute term filters (all must match).

category
string

One category id or slug (from list_categories); includes subcategories as the store does. Pattern: ^[^,\s]+$.

Only featured products.

max_price
number

Maximum price in major units of the store currency.

Provider reference: minimum 0.

min_price
number

Minimum price in major units of the store currency (e.g. 19.99).

Provider reference: minimum 0.

on_sale
boolean

Only products on sale.

order
string

order

Provider reference: allowed values ["asc", "desc"].

orderby
string

Sort key; the store's default (relevance for a query, else date) otherwise.

Provider reference: allowed values ["date", "modified", "id", "title", "slug", "price", "popularity", "rating", "menu_order"].

page
number
default:1

1-based page; use next_page from the previous result.

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

per_page
number
default:20

per_page

Provider reference: minimum 1; maximum 100; default 20.

query
string

Keywords matched against product title and content.

stock_status
string[]

stock_status

tag
string

One product tag id or slug. Pattern: ^[^,\s]+$.

Response

Search or list products in any WooCommerce store via its public Store API: keyword, category, tag, attribute terms, on-sale, featured, stock status and price band, with sorting and paging (up to 100 per page). Each product carries id, name, URL, SKU, prices in major units with currency, stock and purchasability, categories, brands, image URLs, rating and review count, and the short description as text. Verifies the site is a WooCommerce store; otherwise fails with not_woocommerce_store.

The response contains the tool result directly.

The provider identifies items as the primary payload key.

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