Skip to content

Commit f3d2ee4

Browse files
committed
Add recurringDeliveries to SellingPlan
1 parent 6923208 commit f3d2ee4

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.changeset/eight-chicken-destroy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/ui-extensions': minor
3+
---
4+
5+
Add recurringDeliveries to SellingPlan

packages/ui-extensions/src/surfaces/checkout/api/shared.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ export interface SellingPlan {
2222
* @example 'gid://shopify/SellingPlan/1'
2323
*/
2424
id: string;
25+
26+
/**
27+
* Whether purchasing the selling plan will result in multiple deliveries.
28+
*/
29+
recurringDeliveries: boolean;
2530
}
2631

2732
export interface Attribute {

packages/ui-extensions/src/surfaces/customer-account/api/shared.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,11 @@ export interface SellingPlan {
225225
* @example 'gid://shopify/SellingPlan/1'
226226
*/
227227
id: string;
228+
229+
/**
230+
* Whether purchasing the selling plan will result in multiple deliveries.
231+
*/
232+
recurringDeliveries: boolean;
228233
}
229234

230235
export interface Attribute {

0 commit comments

Comments
 (0)