@@ -308,6 +308,7 @@ def update(
308308 currency : Optional [str ] | NotGiven = NOT_GIVEN ,
309309 email : Optional [str ] | NotGiven = NOT_GIVEN ,
310310 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
311+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
311312 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
312313 name : Optional [str ] | NotGiven = NOT_GIVEN ,
313314 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -344,6 +345,9 @@ def update(
344345
345346 email: A valid customer email, to be used for invoicing and notifications.
346347
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+
347351 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
348352 by setting the value to `null`, and the entire metadata mapping can be cleared
349353 by setting `metadata` to `null`.
@@ -470,6 +474,7 @@ def update(
470474 "currency" : currency ,
471475 "email" : email ,
472476 "email_delivery" : email_delivery ,
477+ "external_customer_id" : external_customer_id ,
473478 "metadata" : metadata ,
474479 "name" : name ,
475480 "payment_provider" : payment_provider ,
@@ -695,6 +700,7 @@ def update_by_external_id(
695700 currency : Optional [str ] | NotGiven = NOT_GIVEN ,
696701 email : Optional [str ] | NotGiven = NOT_GIVEN ,
697702 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
703+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
698704 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
699705 name : Optional [str ] | NotGiven = NOT_GIVEN ,
700706 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -731,6 +737,9 @@ def update_by_external_id(
731737
732738 email: A valid customer email, to be used for invoicing and notifications.
733739
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+
734743 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
735744 by setting the value to `null`, and the entire metadata mapping can be cleared
736745 by setting `metadata` to `null`.
@@ -857,6 +866,7 @@ def update_by_external_id(
857866 "currency" : currency ,
858867 "email" : email ,
859868 "email_delivery" : email_delivery ,
869+ "external_customer_id" : external_customer_id ,
860870 "metadata" : metadata ,
861871 "name" : name ,
862872 "payment_provider" : payment_provider ,
@@ -1123,6 +1133,7 @@ async def update(
11231133 currency : Optional [str ] | NotGiven = NOT_GIVEN ,
11241134 email : Optional [str ] | NotGiven = NOT_GIVEN ,
11251135 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
1136+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
11261137 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
11271138 name : Optional [str ] | NotGiven = NOT_GIVEN ,
11281139 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -1159,6 +1170,9 @@ async def update(
11591170
11601171 email: A valid customer email, to be used for invoicing and notifications.
11611172
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+
11621176 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
11631177 by setting the value to `null`, and the entire metadata mapping can be cleared
11641178 by setting `metadata` to `null`.
@@ -1285,6 +1299,7 @@ async def update(
12851299 "currency" : currency ,
12861300 "email" : email ,
12871301 "email_delivery" : email_delivery ,
1302+ "external_customer_id" : external_customer_id ,
12881303 "metadata" : metadata ,
12891304 "name" : name ,
12901305 "payment_provider" : payment_provider ,
@@ -1510,6 +1525,7 @@ async def update_by_external_id(
15101525 currency : Optional [str ] | NotGiven = NOT_GIVEN ,
15111526 email : Optional [str ] | NotGiven = NOT_GIVEN ,
15121527 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
1528+ external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
15131529 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
15141530 name : Optional [str ] | NotGiven = NOT_GIVEN ,
15151531 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -1546,6 +1562,9 @@ async def update_by_external_id(
15461562
15471563 email: A valid customer email, to be used for invoicing and notifications.
15481564
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+
15491568 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
15501569 by setting the value to `null`, and the entire metadata mapping can be cleared
15511570 by setting `metadata` to `null`.
@@ -1672,6 +1691,7 @@ async def update_by_external_id(
16721691 "currency" : currency ,
16731692 "email" : email ,
16741693 "email_delivery" : email_delivery ,
1694+ "external_customer_id" : external_customer_id ,
16751695 "metadata" : metadata ,
16761696 "name" : name ,
16771697 "payment_provider" : payment_provider ,
0 commit comments