@@ -308,6 +308,7 @@ def update(
308
308
currency : Optional [str ] | NotGiven = NOT_GIVEN ,
309
309
email : Optional [str ] | NotGiven = NOT_GIVEN ,
310
310
email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
311
+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
311
312
metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
312
313
name : Optional [str ] | NotGiven = NOT_GIVEN ,
313
314
payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -344,6 +345,9 @@ def update(
344
345
345
346
email: A valid customer email, to be used for invoicing and notifications.
346
347
348
+ external_customer_id: The external customer ID. This can only be set if empty and the customer has no
349
+ past or current subscriptions.
350
+
347
351
metadata: User-specified key/value pairs for the resource. Individual keys can be removed
348
352
by setting the value to `null`, and the entire metadata mapping can be cleared
349
353
by setting `metadata` to `null`.
@@ -470,6 +474,7 @@ def update(
470
474
"currency" : currency ,
471
475
"email" : email ,
472
476
"email_delivery" : email_delivery ,
477
+ "external_customer_id" : external_customer_id ,
473
478
"metadata" : metadata ,
474
479
"name" : name ,
475
480
"payment_provider" : payment_provider ,
@@ -695,6 +700,7 @@ def update_by_external_id(
695
700
currency : Optional [str ] | NotGiven = NOT_GIVEN ,
696
701
email : Optional [str ] | NotGiven = NOT_GIVEN ,
697
702
email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
703
+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
698
704
metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
699
705
name : Optional [str ] | NotGiven = NOT_GIVEN ,
700
706
payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -731,6 +737,9 @@ def update_by_external_id(
731
737
732
738
email: A valid customer email, to be used for invoicing and notifications.
733
739
740
+ external_customer_id: The external customer ID. This can only be set if empty and the customer has no
741
+ past or current subscriptions.
742
+
734
743
metadata: User-specified key/value pairs for the resource. Individual keys can be removed
735
744
by setting the value to `null`, and the entire metadata mapping can be cleared
736
745
by setting `metadata` to `null`.
@@ -857,6 +866,7 @@ def update_by_external_id(
857
866
"currency" : currency ,
858
867
"email" : email ,
859
868
"email_delivery" : email_delivery ,
869
+ "external_customer_id" : external_customer_id ,
860
870
"metadata" : metadata ,
861
871
"name" : name ,
862
872
"payment_provider" : payment_provider ,
@@ -1123,6 +1133,7 @@ async def update(
1123
1133
currency : Optional [str ] | NotGiven = NOT_GIVEN ,
1124
1134
email : Optional [str ] | NotGiven = NOT_GIVEN ,
1125
1135
email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
1136
+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1126
1137
metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
1127
1138
name : Optional [str ] | NotGiven = NOT_GIVEN ,
1128
1139
payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -1159,6 +1170,9 @@ async def update(
1159
1170
1160
1171
email: A valid customer email, to be used for invoicing and notifications.
1161
1172
1173
+ external_customer_id: The external customer ID. This can only be set if empty and the customer has no
1174
+ past or current subscriptions.
1175
+
1162
1176
metadata: User-specified key/value pairs for the resource. Individual keys can be removed
1163
1177
by setting the value to `null`, and the entire metadata mapping can be cleared
1164
1178
by setting `metadata` to `null`.
@@ -1285,6 +1299,7 @@ async def update(
1285
1299
"currency" : currency ,
1286
1300
"email" : email ,
1287
1301
"email_delivery" : email_delivery ,
1302
+ "external_customer_id" : external_customer_id ,
1288
1303
"metadata" : metadata ,
1289
1304
"name" : name ,
1290
1305
"payment_provider" : payment_provider ,
@@ -1510,6 +1525,7 @@ async def update_by_external_id(
1510
1525
currency : Optional [str ] | NotGiven = NOT_GIVEN ,
1511
1526
email : Optional [str ] | NotGiven = NOT_GIVEN ,
1512
1527
email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
1528
+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1513
1529
metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
1514
1530
name : Optional [str ] | NotGiven = NOT_GIVEN ,
1515
1531
payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -1546,6 +1562,9 @@ async def update_by_external_id(
1546
1562
1547
1563
email: A valid customer email, to be used for invoicing and notifications.
1548
1564
1565
+ external_customer_id: The external customer ID. This can only be set if empty and the customer has no
1566
+ past or current subscriptions.
1567
+
1549
1568
metadata: User-specified key/value pairs for the resource. Individual keys can be removed
1550
1569
by setting the value to `null`, and the entire metadata mapping can be cleared
1551
1570
by setting `metadata` to `null`.
@@ -1672,6 +1691,7 @@ async def update_by_external_id(
1672
1691
"currency" : currency ,
1673
1692
"email" : email ,
1674
1693
"email_delivery" : email_delivery ,
1694
+ "external_customer_id" : external_customer_id ,
1675
1695
"metadata" : metadata ,
1676
1696
"name" : name ,
1677
1697
"payment_provider" : payment_provider ,
0 commit comments