product_variants
4 rows where product_id = "gch4ky1554"
This data as json, CSV (advanced)
| id ▼ | product_id | price | description | sort_order |
|---|---|---|---|---|
| 1087 | Sweet Celebration gch4ky1554 | 250.0 | SMALL | 1 |
| 1088 | Sweet Celebration gch4ky1554 | 490.0 | MEDIUM | 2 |
| 1089 | Sweet Celebration gch4ky1554 | 650.0 | LARGE | 3 |
| 1090 | Sweet Celebration gch4ky1554 | 850.0 | DELUXE | 4 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE product_variants (
id INTEGER PRIMARY KEY AUTOINCREMENT,
product_id TEXT NOT NULL,
price REAL,
description TEXT,
sort_order INTEGER,
FOREIGN KEY (product_id) REFERENCES products(id),
UNIQUE(product_id, sort_order)
);