Get a product
swell_get_productFetch a single product by its record id or its slug. Supports expand and fields. Swell backend REST API: GET /products/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product id or slug. | |
| expand | No | Comma-separated related fields to expand, e.g. "variants,categories". | |
| fields | No | Comma-separated fields to return, e.g. "name,price". |