File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,10 @@ declare class Shopify {
190190 get : ( id : number , params ?: any ) => Promise < Shopify . ICustomer > ;
191191 list : ( params ?: any ) => Promise < Shopify . ICustomer [ ] > ;
192192 search : ( params : any ) => Promise < any > ;
193+ sendInvite : (
194+ id : number ,
195+ params ?: Shopify . ICustomerSendInvite
196+ ) => Promise < Shopify . ICustomerSendInvite > ;
193197 update : ( id : number , params : any ) => Promise < Shopify . ICustomer > ;
194198 orders : ( id : number , params ?: any ) => Promise < Shopify . IOrder [ ] > ;
195199 } ;
@@ -1345,6 +1349,14 @@ declare namespace Shopify {
13451349 updated_at : string ;
13461350 }
13471351
1352+ interface ICustomerSendInvite {
1353+ to : string ;
1354+ from : string ;
1355+ bcc : string [ ] ;
1356+ subject : string ;
1357+ custom_message : string ;
1358+ }
1359+
13481360 type AllocationMethod = 'across' | 'each' | 'one' ;
13491361 type TargetSelection = 'all' | 'entitled' | 'explicit' ;
13501362 type TargetType = 'line_item' | 'shipping_line' ;
You can’t perform that action at this time.
0 commit comments