I'm using the WooCommerce REST API
to search products by string.
Quick question: Is it possible to limit the REST API
query ?search=
to products names ? Currently it also searches the string in the descriptions.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI'm using the WooCommerce REST API
to search products by string.
Quick question: Is it possible to limit the REST API
query ?search=
to products names ? Currently it also searches the string in the descriptions.
wp/v2
API or are you searching WooCommerce products using the WooCommerce API? They're different APIs and the WooCommerce one is off-topic here.