@@ -99,6 +99,7 @@ def create(
9999 currency : Optional [str ] | NotGiven = NOT_GIVEN ,
100100 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
101101 external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
102+ hierarchy : Optional [customer_create_params .Hierarchy ] | NotGiven = NOT_GIVEN ,
102103 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
103104 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
104105 | NotGiven = NOT_GIVEN ,
@@ -151,6 +152,8 @@ def create(
151152 system as an alias for this Customer. Use this field to identify a customer by
152153 an existing identifier in your system.
153154
155+ hierarchy: The hierarchical relationships for this customer.
156+
154157 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
155158 by setting the value to `null`, and the entire metadata mapping can be cleared
156159 by setting `metadata` to `null`.
@@ -295,6 +298,7 @@ def create(
295298 "currency" : currency ,
296299 "email_delivery" : email_delivery ,
297300 "external_customer_id" : external_customer_id ,
301+ "hierarchy" : hierarchy ,
298302 "metadata" : metadata ,
299303 "payment_provider" : payment_provider ,
300304 "payment_provider_id" : payment_provider_id ,
@@ -329,6 +333,7 @@ def update(
329333 email : Optional [str ] | NotGiven = NOT_GIVEN ,
330334 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
331335 external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
336+ hierarchy : Optional [customer_update_params .Hierarchy ] | NotGiven = NOT_GIVEN ,
332337 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
333338 name : Optional [str ] | NotGiven = NOT_GIVEN ,
334339 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -369,6 +374,8 @@ def update(
369374 external_customer_id: The external customer ID. This can only be set if empty and the customer has no
370375 past or current subscriptions.
371376
377+ hierarchy: The hierarchical relationships for this customer.
378+
372379 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
373380 by setting the value to `null`, and the entire metadata mapping can be cleared
374381 by setting `metadata` to `null`.
@@ -516,6 +523,7 @@ def update(
516523 "email" : email ,
517524 "email_delivery" : email_delivery ,
518525 "external_customer_id" : external_customer_id ,
526+ "hierarchy" : hierarchy ,
519527 "metadata" : metadata ,
520528 "name" : name ,
521529 "payment_provider" : payment_provider ,
@@ -839,6 +847,7 @@ def update_by_external_id(
839847 email : Optional [str ] | NotGiven = NOT_GIVEN ,
840848 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
841849 external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
850+ hierarchy : Optional [customer_update_by_external_id_params .Hierarchy ] | NotGiven = NOT_GIVEN ,
842851 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
843852 name : Optional [str ] | NotGiven = NOT_GIVEN ,
844853 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -879,6 +888,8 @@ def update_by_external_id(
879888 external_customer_id: The external customer ID. This can only be set if empty and the customer has no
880889 past or current subscriptions.
881890
891+ hierarchy: The hierarchical relationships for this customer.
892+
882893 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
883894 by setting the value to `null`, and the entire metadata mapping can be cleared
884895 by setting `metadata` to `null`.
@@ -1026,6 +1037,7 @@ def update_by_external_id(
10261037 "email" : email ,
10271038 "email_delivery" : email_delivery ,
10281039 "external_customer_id" : external_customer_id ,
1040+ "hierarchy" : hierarchy ,
10291041 "metadata" : metadata ,
10301042 "name" : name ,
10311043 "payment_provider" : payment_provider ,
@@ -1093,6 +1105,7 @@ async def create(
10931105 currency : Optional [str ] | NotGiven = NOT_GIVEN ,
10941106 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
10951107 external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1108+ hierarchy : Optional [customer_create_params .Hierarchy ] | NotGiven = NOT_GIVEN ,
10961109 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
10971110 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
10981111 | NotGiven = NOT_GIVEN ,
@@ -1145,6 +1158,8 @@ async def create(
11451158 system as an alias for this Customer. Use this field to identify a customer by
11461159 an existing identifier in your system.
11471160
1161+ hierarchy: The hierarchical relationships for this customer.
1162+
11481163 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
11491164 by setting the value to `null`, and the entire metadata mapping can be cleared
11501165 by setting `metadata` to `null`.
@@ -1289,6 +1304,7 @@ async def create(
12891304 "currency" : currency ,
12901305 "email_delivery" : email_delivery ,
12911306 "external_customer_id" : external_customer_id ,
1307+ "hierarchy" : hierarchy ,
12921308 "metadata" : metadata ,
12931309 "payment_provider" : payment_provider ,
12941310 "payment_provider_id" : payment_provider_id ,
@@ -1323,6 +1339,7 @@ async def update(
13231339 email : Optional [str ] | NotGiven = NOT_GIVEN ,
13241340 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
13251341 external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1342+ hierarchy : Optional [customer_update_params .Hierarchy ] | NotGiven = NOT_GIVEN ,
13261343 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
13271344 name : Optional [str ] | NotGiven = NOT_GIVEN ,
13281345 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -1363,6 +1380,8 @@ async def update(
13631380 external_customer_id: The external customer ID. This can only be set if empty and the customer has no
13641381 past or current subscriptions.
13651382
1383+ hierarchy: The hierarchical relationships for this customer.
1384+
13661385 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
13671386 by setting the value to `null`, and the entire metadata mapping can be cleared
13681387 by setting `metadata` to `null`.
@@ -1510,6 +1529,7 @@ async def update(
15101529 "email" : email ,
15111530 "email_delivery" : email_delivery ,
15121531 "external_customer_id" : external_customer_id ,
1532+ "hierarchy" : hierarchy ,
15131533 "metadata" : metadata ,
15141534 "name" : name ,
15151535 "payment_provider" : payment_provider ,
@@ -1833,6 +1853,7 @@ async def update_by_external_id(
18331853 email : Optional [str ] | NotGiven = NOT_GIVEN ,
18341854 email_delivery : Optional [bool ] | NotGiven = NOT_GIVEN ,
18351855 external_customer_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1856+ hierarchy : Optional [customer_update_by_external_id_params .Hierarchy ] | NotGiven = NOT_GIVEN ,
18361857 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
18371858 name : Optional [str ] | NotGiven = NOT_GIVEN ,
18381859 payment_provider : Optional [Literal ["quickbooks" , "bill.com" , "stripe_charge" , "stripe_invoice" , "netsuite" ]]
@@ -1873,6 +1894,8 @@ async def update_by_external_id(
18731894 external_customer_id: The external customer ID. This can only be set if empty and the customer has no
18741895 past or current subscriptions.
18751896
1897+ hierarchy: The hierarchical relationships for this customer.
1898+
18761899 metadata: User-specified key/value pairs for the resource. Individual keys can be removed
18771900 by setting the value to `null`, and the entire metadata mapping can be cleared
18781901 by setting `metadata` to `null`.
@@ -2020,6 +2043,7 @@ async def update_by_external_id(
20202043 "email" : email ,
20212044 "email_delivery" : email_delivery ,
20222045 "external_customer_id" : external_customer_id ,
2046+ "hierarchy" : hierarchy ,
20232047 "metadata" : metadata ,
20242048 "name" : name ,
20252049 "payment_provider" : payment_provider ,
0 commit comments