File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,10 @@ declare class Shopify {
389
389
fulfillments : (
390
390
id : number
391
391
) => Promise < Shopify . IPaginatedResult < Shopify . IFulfillment > > ;
392
- hold : ( id : number , params : any ) => Promise < Shopify . IFulfillmentOrder > ;
392
+ hold : (
393
+ id : number ,
394
+ params : Shopify . IHoldFulfillmentOrder
395
+ ) => Promise < Shopify . IFulfillmentOrder > ;
393
396
} ;
394
397
fulfillmentRequest : {
395
398
accept : (
@@ -3568,4 +3571,22 @@ declare namespace Shopify {
3568
3571
} ;
3569
3572
updated_at : string ;
3570
3573
}
3574
+
3575
+ interface IHoldFulfillmentOrder {
3576
+ reason :
3577
+ | 'awaiting_payment'
3578
+ | 'high_risk_of_fraud'
3579
+ | 'incorrect_address'
3580
+ | 'inventory_out_of_stock'
3581
+ | 'other' ;
3582
+ reason_notes ?: string ;
3583
+ notify_merchant : boolean ;
3584
+ line_items : IUpdateFulfillmentOrderLineItem ;
3585
+ fulfillment_order_id : number ;
3586
+ }
3587
+
3588
+ interface IUpdateFulfillmentOrderLineItem {
3589
+ id : number ;
3590
+ quantity : number ;
3591
+ }
3571
3592
}
You can’t perform that action at this time.
0 commit comments