File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1387,8 +1387,15 @@ declare namespace Shopify {
1387
1387
1388
1388
type CustomerState = 'declined' | 'disabled' | 'enabled' | 'invited' ;
1389
1389
1390
+ interface IEmailMarketingConsent {
1391
+ state : string ;
1392
+ opt_in_level : string | null ;
1393
+ consent_updated_at : string ;
1394
+ }
1395
+
1390
1396
interface ICustomer {
1391
- accepts_marketing : boolean ;
1397
+ accepts_marketing ?: boolean ;
1398
+ email_marketing_consent ?: IEmailMarketingConsent ,
1392
1399
addresses ?: ICustomerAddress [ ] ;
1393
1400
created_at : string ;
1394
1401
currency : string ;
@@ -2186,7 +2193,8 @@ declare namespace Shopify {
2186
2193
}
2187
2194
2188
2195
interface IOrderCustomer {
2189
- accepts_marketing : boolean ;
2196
+ accepts_marketing ?: boolean ;
2197
+ email_marketing_consent ?: IEmailMarketingConsent ,
2190
2198
created_at : string ;
2191
2199
default_address : ICustomerAddress ;
2192
2200
email : string ;
You can’t perform that action at this time.
0 commit comments