Skip to main content
Attributes are a powerful way to find exactly what you’re looking for. Here’s how it works — every product belongs to a category. Every category defines an attribute schema: keys and allowed values. You can search against those values via filters.attributes. For example, products in Digital Cameras can be labeled with attributes like:
  • connectivity-technology: Wi-Fi, Bluetooth, USB, …
  • camera-sensor-type: CMOS, BSI CMOS, CCD, …
  • camera-features: Image stabilization, Waterproof, Touchscreen, …
This lets you find “all waterproof cameras with Wi-Fi or Bluetooh connectivity and a CCD sensor” — and get back only products that match.
1

Find attribute handles

Search for a category, or retrieve one directly by slug, to see available handles and values. Category search is free.
2

Add it to search

Pass attribute handles and canonical values to filters.attributes. Pair with category_ids using the same category slug.Multiple values for the same handle match any of them (OR); multiple handles are combined with AND.