Skip to content

Commit 47b6bd1

Browse files
committed
[ts] Add discount_allocations to IFulfillmentLineItem interface
Fixes: #655
1 parent 6e30c44 commit 47b6bd1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

types/index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,12 @@ declare namespace Shopify {
14881488
value_type: ValueType;
14891489
}
14901490

1491+
interface IDiscountAllocation {
1492+
amount: string;
1493+
amount_set: IMoneySet;
1494+
discount_application_index: number;
1495+
}
1496+
14911497
interface IDiscountCode {
14921498
created_at: string;
14931499
id: number;
@@ -1779,6 +1785,7 @@ declare namespace Shopify {
17791785
total_discount: string;
17801786
fulfillment_status: IFulfillmentStatus;
17811787
tax_lines: IFulfillmentLineItemTaxLine[];
1788+
discount_allocations: IDiscountAllocation[];
17821789
}
17831790

17841791
interface IFulfillment {

0 commit comments

Comments
 (0)