Skip to content

Commit 5c29efa

Browse files
committed
feat: add optional promotion source type in order
1 parent dfa3ab8 commit 5c29efa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types/order.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ export interface OrderItem extends Identifiable, OrderItemBase {
272272
}
273273
id: string
274274
code: string
275+
promotion_source?: string
275276
}
276277
]
277278
components?: ProductComponents
@@ -285,6 +286,7 @@ export interface OrderItem extends Identifiable, OrderItemBase {
285286
catalog_source?: 'pim'
286287
custom_inputs?: Record<string, any>
287288
shipping_group_id?: string
289+
promotion_source?: string
288290
}
289291

290292
export type PurchasePaymentMethod = 'purchase'

0 commit comments

Comments
 (0)