@@ -371,8 +371,11 @@ def update(
371371
372372 email: A valid customer email, to be used for invoicing and notifications.
373373
374- external_customer_id: The external customer ID. This can only be set if empty and the customer has no
375- past or current subscriptions.
374+ external_customer_id: The external customer ID. This can only be set if the customer has no existing
375+ external customer ID. Since this action may change usage quantities for all
376+ existing subscriptions, it is disallowed if the customer has issued invoices
377+ with usage line items and subject to the same restrictions as backdated
378+ subscription creation.
376379
377380 hierarchy: The hierarchical relationships for this customer.
378381
@@ -880,8 +883,11 @@ def update_by_external_id(
880883
881884 email: A valid customer email, to be used for invoicing and notifications.
882885
883- external_customer_id: The external customer ID. This can only be set if empty and the customer has no
884- past or current subscriptions.
886+ external_customer_id: The external customer ID. This can only be set if the customer has no existing
887+ external customer ID. Since this action may change usage quantities for all
888+ existing subscriptions, it is disallowed if the customer has issued invoices
889+ with usage line items and subject to the same restrictions as backdated
890+ subscription creation.
885891
886892 hierarchy: The hierarchical relationships for this customer.
887893
@@ -1370,8 +1376,11 @@ async def update(
13701376
13711377 email: A valid customer email, to be used for invoicing and notifications.
13721378
1373- external_customer_id: The external customer ID. This can only be set if empty and the customer has no
1374- past or current subscriptions.
1379+ external_customer_id: The external customer ID. This can only be set if the customer has no existing
1380+ external customer ID. Since this action may change usage quantities for all
1381+ existing subscriptions, it is disallowed if the customer has issued invoices
1382+ with usage line items and subject to the same restrictions as backdated
1383+ subscription creation.
13751384
13761385 hierarchy: The hierarchical relationships for this customer.
13771386
@@ -1879,8 +1888,11 @@ async def update_by_external_id(
18791888
18801889 email: A valid customer email, to be used for invoicing and notifications.
18811890
1882- external_customer_id: The external customer ID. This can only be set if empty and the customer has no
1883- past or current subscriptions.
1891+ external_customer_id: The external customer ID. This can only be set if the customer has no existing
1892+ external customer ID. Since this action may change usage quantities for all
1893+ existing subscriptions, it is disallowed if the customer has issued invoices
1894+ with usage line items and subject to the same restrictions as backdated
1895+ subscription creation.
18841896
18851897 hierarchy: The hierarchical relationships for this customer.
18861898
0 commit comments