Search products and contexts using the v2 endpoint
GET /rest/search/v2/
GET /rest/search/v2/{shop_id}/
true.true.| Field | Type | Description |
|---|---|---|
results | array | Array of search results |
results[].id | string | Unique identifier (UUID) |
results[].type | string | Result type: "product" or "context" |
results[].name | string | Product or context name |
results[].description | string | Description text |
results[].image | string|null | Primary image URL |
results[].images | array | Array of image URLs |
results[].slug | string|null | URL-friendly identifier |
results[].publicUrl | string|null | Public URL to the product/context |
results[].publishedAt | string|null | ISO 8601 timestamp |
results[].vendor | string|null | Vendor name |
results[].tags | array | Array of tag strings |
results[].productType | string|null | Product type/category |
results[].price | string|null | Price as string |
results[].compareAtPrice | string|null | Compare at price (original price) |