File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
docs/surfaces/point-of-sale/staticPages/pages
src/surfaces/point-of-sale/render/api/product-api Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @shopify/ui-extensions ' : minor
3
+ ---
4
+
5
+ Added variantId field to productApi
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ Refer to the [migration guide](/docs/api/pos-ui-extensions/migrating) for more i
56
56
## Important Fixes
57
57
58
58
- Update pos.draft-order-details.block.render allowed components to \`BlockComponents\`.
59
+ - Added support for a product variant id field in the \`ProductApi\` interface.
59
60
60
61
### Features
61
62
@@ -64,6 +65,7 @@ Refer to the [migration guide](/docs/api/pos-ui-extensions/migrating) for more i
64
65
- Added \`executedAt\` property to \`BaseTransactionComplete\` interface.
65
66
- Added optional \`exchangeId\` and \`returnId\` property to \`ReturnTransactionData\` interface.
66
67
- Added optional \`onBlur\` handler to \`SearchBar\` component.
68
+ - Added required \`variantId\` property to \`ProductApi\` interface.
67
69
68
70
` ,
69
71
} ,
Original file line number Diff line number Diff line change @@ -7,4 +7,8 @@ export interface ProductApiContent {
7
7
* The unique identifier for the product.
8
8
*/
9
9
id : number ;
10
+ /**
11
+ * The unique identifier for the product variant.
12
+ */
13
+ variantId : number ;
10
14
}
You can’t perform that action at this time.
0 commit comments