get_variation
Retrieve complete details for a single product variation, including price, stock, weight, and attributes. Use the fields parameter to request only the necessary data.
Instructions
Get full details of a single variation including price, stock, weight, and attributes. Use fields param to request only needed fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variation ID | |
| fields | No | Comma-separated fields to return (default: id,sku,price,regular_price,sale_price,status,stock_status,stock_quantity,attributes,image,weight,description,manage_stock) | |
| product_id | Yes | Parent product ID |