paid-python 1.0.0a1__py3-none-any.whl → 1.0.0a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
paid/contacts/client.py CHANGED
@@ -65,7 +65,7 @@ class ContactsClient:
65
65
  _response = self._raw_client.list_contacts(limit=limit, offset=offset, request_options=request_options)
66
66
  return _response.data
67
67
 
68
- def create_a_new_contact(
68
+ def create_contact(
69
69
  self,
70
70
  *,
71
71
  customer_id: str,
@@ -111,14 +111,14 @@ class ContactsClient:
111
111
  client = Paid(
112
112
  token="YOUR_TOKEN",
113
113
  )
114
- client.contacts.create_a_new_contact(
114
+ client.contacts.create_contact(
115
115
  customer_id="customerId",
116
116
  first_name="firstName",
117
117
  last_name="lastName",
118
118
  email="email",
119
119
  )
120
120
  """
121
- _response = self._raw_client.create_a_new_contact(
121
+ _response = self._raw_client.create_contact(
122
122
  customer_id=customer_id,
123
123
  first_name=first_name,
124
124
  last_name=last_name,
@@ -130,7 +130,7 @@ class ContactsClient:
130
130
  )
131
131
  return _response.data
132
132
 
133
- def get_contact(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Contact:
133
+ def get_contact_by_id(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Contact:
134
134
  """
135
135
  Get a contact by its ID
136
136
 
@@ -153,14 +153,14 @@ class ContactsClient:
153
153
  client = Paid(
154
154
  token="YOUR_TOKEN",
155
155
  )
156
- client.contacts.get_contact(
156
+ client.contacts.get_contact_by_id(
157
157
  id="id",
158
158
  )
159
159
  """
160
- _response = self._raw_client.get_contact(id, request_options=request_options)
160
+ _response = self._raw_client.get_contact_by_id(id, request_options=request_options)
161
161
  return _response.data
162
162
 
163
- def update_contact(
163
+ def update_contact_by_id(
164
164
  self,
165
165
  id: str,
166
166
  *,
@@ -209,11 +209,11 @@ class ContactsClient:
209
209
  client = Paid(
210
210
  token="YOUR_TOKEN",
211
211
  )
212
- client.contacts.update_contact(
212
+ client.contacts.update_contact_by_id(
213
213
  id="id",
214
214
  )
215
215
  """
216
- _response = self._raw_client.update_contact(
216
+ _response = self._raw_client.update_contact_by_id(
217
217
  id,
218
218
  customer_id=customer_id,
219
219
  first_name=first_name,
@@ -226,7 +226,9 @@ class ContactsClient:
226
226
  )
227
227
  return _response.data
228
228
 
229
- def delete_contact(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> EmptyResponse:
229
+ def delete_contact_by_id(
230
+ self, id: str, *, request_options: typing.Optional[RequestOptions] = None
231
+ ) -> EmptyResponse:
230
232
  """
231
233
  Delete a contact by its ID
232
234
 
@@ -249,18 +251,18 @@ class ContactsClient:
249
251
  client = Paid(
250
252
  token="YOUR_TOKEN",
251
253
  )
252
- client.contacts.delete_contact(
254
+ client.contacts.delete_contact_by_id(
253
255
  id="id",
254
256
  )
255
257
  """
256
- _response = self._raw_client.delete_contact(id, request_options=request_options)
258
+ _response = self._raw_client.delete_contact_by_id(id, request_options=request_options)
257
259
  return _response.data
258
260
 
259
261
  def get_contact_by_external_id(
260
262
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
261
263
  ) -> Contact:
262
264
  """
263
- Get a contact by its externalId
265
+ Get a contact by its external ID
264
266
 
265
267
  Parameters
266
268
  ----------
@@ -302,7 +304,7 @@ class ContactsClient:
302
304
  request_options: typing.Optional[RequestOptions] = None,
303
305
  ) -> Contact:
304
306
  """
305
- Update a contact by its externalId
307
+ Update a contact by its external ID
306
308
 
307
309
  Parameters
308
310
  ----------
@@ -358,7 +360,7 @@ class ContactsClient:
358
360
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
359
361
  ) -> EmptyResponse:
360
362
  """
361
- Delete a contact by its externalId
363
+ Delete a contact by its external ID
362
364
 
363
365
  Parameters
364
366
  ----------
@@ -446,7 +448,7 @@ class AsyncContactsClient:
446
448
  _response = await self._raw_client.list_contacts(limit=limit, offset=offset, request_options=request_options)
447
449
  return _response.data
448
450
 
449
- async def create_a_new_contact(
451
+ async def create_contact(
450
452
  self,
451
453
  *,
452
454
  customer_id: str,
@@ -497,7 +499,7 @@ class AsyncContactsClient:
497
499
 
498
500
 
499
501
  async def main() -> None:
500
- await client.contacts.create_a_new_contact(
502
+ await client.contacts.create_contact(
501
503
  customer_id="customerId",
502
504
  first_name="firstName",
503
505
  last_name="lastName",
@@ -507,7 +509,7 @@ class AsyncContactsClient:
507
509
 
508
510
  asyncio.run(main())
509
511
  """
510
- _response = await self._raw_client.create_a_new_contact(
512
+ _response = await self._raw_client.create_contact(
511
513
  customer_id=customer_id,
512
514
  first_name=first_name,
513
515
  last_name=last_name,
@@ -519,7 +521,7 @@ class AsyncContactsClient:
519
521
  )
520
522
  return _response.data
521
523
 
522
- async def get_contact(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Contact:
524
+ async def get_contact_by_id(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Contact:
523
525
  """
524
526
  Get a contact by its ID
525
527
 
@@ -547,17 +549,17 @@ class AsyncContactsClient:
547
549
 
548
550
 
549
551
  async def main() -> None:
550
- await client.contacts.get_contact(
552
+ await client.contacts.get_contact_by_id(
551
553
  id="id",
552
554
  )
553
555
 
554
556
 
555
557
  asyncio.run(main())
556
558
  """
557
- _response = await self._raw_client.get_contact(id, request_options=request_options)
559
+ _response = await self._raw_client.get_contact_by_id(id, request_options=request_options)
558
560
  return _response.data
559
561
 
560
- async def update_contact(
562
+ async def update_contact_by_id(
561
563
  self,
562
564
  id: str,
563
565
  *,
@@ -611,14 +613,14 @@ class AsyncContactsClient:
611
613
 
612
614
 
613
615
  async def main() -> None:
614
- await client.contacts.update_contact(
616
+ await client.contacts.update_contact_by_id(
615
617
  id="id",
616
618
  )
617
619
 
618
620
 
619
621
  asyncio.run(main())
620
622
  """
621
- _response = await self._raw_client.update_contact(
623
+ _response = await self._raw_client.update_contact_by_id(
622
624
  id,
623
625
  customer_id=customer_id,
624
626
  first_name=first_name,
@@ -631,7 +633,7 @@ class AsyncContactsClient:
631
633
  )
632
634
  return _response.data
633
635
 
634
- async def delete_contact(
636
+ async def delete_contact_by_id(
635
637
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
636
638
  ) -> EmptyResponse:
637
639
  """
@@ -661,21 +663,21 @@ class AsyncContactsClient:
661
663
 
662
664
 
663
665
  async def main() -> None:
664
- await client.contacts.delete_contact(
666
+ await client.contacts.delete_contact_by_id(
665
667
  id="id",
666
668
  )
667
669
 
668
670
 
669
671
  asyncio.run(main())
670
672
  """
671
- _response = await self._raw_client.delete_contact(id, request_options=request_options)
673
+ _response = await self._raw_client.delete_contact_by_id(id, request_options=request_options)
672
674
  return _response.data
673
675
 
674
676
  async def get_contact_by_external_id(
675
677
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
676
678
  ) -> Contact:
677
679
  """
678
- Get a contact by its externalId
680
+ Get a contact by its external ID
679
681
 
680
682
  Parameters
681
683
  ----------
@@ -725,7 +727,7 @@ class AsyncContactsClient:
725
727
  request_options: typing.Optional[RequestOptions] = None,
726
728
  ) -> Contact:
727
729
  """
728
- Update a contact by its externalId
730
+ Update a contact by its external ID
729
731
 
730
732
  Parameters
731
733
  ----------
@@ -789,7 +791,7 @@ class AsyncContactsClient:
789
791
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
790
792
  ) -> EmptyResponse:
791
793
  """
792
- Delete a contact by its externalId
794
+ Delete a contact by its external ID
793
795
 
794
796
  Parameters
795
797
  ----------
@@ -109,7 +109,7 @@ class RawContactsClient:
109
109
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
110
110
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
111
111
 
112
- def create_a_new_contact(
112
+ def create_contact(
113
113
  self,
114
114
  *,
115
115
  customer_id: str,
@@ -216,7 +216,9 @@ class RawContactsClient:
216
216
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
217
217
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
218
218
 
219
- def get_contact(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Contact]:
219
+ def get_contact_by_id(
220
+ self, id: str, *, request_options: typing.Optional[RequestOptions] = None
221
+ ) -> HttpResponse[Contact]:
220
222
  """
221
223
  Get a contact by its ID
222
224
 
@@ -285,7 +287,7 @@ class RawContactsClient:
285
287
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
286
288
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
287
289
 
288
- def update_contact(
290
+ def update_contact_by_id(
289
291
  self,
290
292
  id: str,
291
293
  *,
@@ -406,7 +408,7 @@ class RawContactsClient:
406
408
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
407
409
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
408
410
 
409
- def delete_contact(
411
+ def delete_contact_by_id(
410
412
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
411
413
  ) -> HttpResponse[EmptyResponse]:
412
414
  """
@@ -481,7 +483,7 @@ class RawContactsClient:
481
483
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
482
484
  ) -> HttpResponse[Contact]:
483
485
  """
484
- Get a contact by its externalId
486
+ Get a contact by its external ID
485
487
 
486
488
  Parameters
487
489
  ----------
@@ -562,7 +564,7 @@ class RawContactsClient:
562
564
  request_options: typing.Optional[RequestOptions] = None,
563
565
  ) -> HttpResponse[Contact]:
564
566
  """
565
- Update a contact by its externalId
567
+ Update a contact by its external ID
566
568
 
567
569
  Parameters
568
570
  ----------
@@ -673,7 +675,7 @@ class RawContactsClient:
673
675
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
674
676
  ) -> HttpResponse[EmptyResponse]:
675
677
  """
676
- Delete a contact by its externalId
678
+ Delete a contact by its external ID
677
679
 
678
680
  Parameters
679
681
  ----------
@@ -826,7 +828,7 @@ class AsyncRawContactsClient:
826
828
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
827
829
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
828
830
 
829
- async def create_a_new_contact(
831
+ async def create_contact(
830
832
  self,
831
833
  *,
832
834
  customer_id: str,
@@ -933,7 +935,7 @@ class AsyncRawContactsClient:
933
935
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
934
936
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
935
937
 
936
- async def get_contact(
938
+ async def get_contact_by_id(
937
939
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
938
940
  ) -> AsyncHttpResponse[Contact]:
939
941
  """
@@ -1004,7 +1006,7 @@ class AsyncRawContactsClient:
1004
1006
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
1005
1007
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
1006
1008
 
1007
- async def update_contact(
1009
+ async def update_contact_by_id(
1008
1010
  self,
1009
1011
  id: str,
1010
1012
  *,
@@ -1125,7 +1127,7 @@ class AsyncRawContactsClient:
1125
1127
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
1126
1128
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
1127
1129
 
1128
- async def delete_contact(
1130
+ async def delete_contact_by_id(
1129
1131
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
1130
1132
  ) -> AsyncHttpResponse[EmptyResponse]:
1131
1133
  """
@@ -1200,7 +1202,7 @@ class AsyncRawContactsClient:
1200
1202
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
1201
1203
  ) -> AsyncHttpResponse[Contact]:
1202
1204
  """
1203
- Get a contact by its externalId
1205
+ Get a contact by its external ID
1204
1206
 
1205
1207
  Parameters
1206
1208
  ----------
@@ -1281,7 +1283,7 @@ class AsyncRawContactsClient:
1281
1283
  request_options: typing.Optional[RequestOptions] = None,
1282
1284
  ) -> AsyncHttpResponse[Contact]:
1283
1285
  """
1284
- Update a contact by its externalId
1286
+ Update a contact by its external ID
1285
1287
 
1286
1288
  Parameters
1287
1289
  ----------
@@ -1392,7 +1394,7 @@ class AsyncRawContactsClient:
1392
1394
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
1393
1395
  ) -> AsyncHttpResponse[EmptyResponse]:
1394
1396
  """
1395
- Delete a contact by its externalId
1397
+ Delete a contact by its external ID
1396
1398
 
1397
1399
  Parameters
1398
1400
  ----------
@@ -20,10 +20,10 @@ class BaseClientWrapper:
20
20
 
21
21
  def get_headers(self) -> typing.Dict[str, str]:
22
22
  headers: typing.Dict[str, str] = {
23
- "User-Agent": "paid-python/1.0.0-alpha1",
23
+ "User-Agent": "paid-python/1.0.0-alpha2",
24
24
  "X-Fern-Language": "Python",
25
25
  "X-Fern-SDK-Name": "paid-python",
26
- "X-Fern-SDK-Version": "1.0.0-alpha1",
26
+ "X-Fern-SDK-Version": "1.0.0-alpha2",
27
27
  }
28
28
  headers["Authorization"] = f"Bearer {self._get_token()}"
29
29
  return headers
paid/customers/client.py CHANGED
@@ -67,7 +67,7 @@ class CustomersClient:
67
67
  _response = self._raw_client.list_customers(limit=limit, offset=offset, request_options=request_options)
68
68
  return _response.data
69
69
 
70
- def create_a_new_customer(
70
+ def create_customer(
71
71
  self,
72
72
  *,
73
73
  name: str,
@@ -122,11 +122,11 @@ class CustomersClient:
122
122
  client = Paid(
123
123
  token="YOUR_TOKEN",
124
124
  )
125
- client.customers.create_a_new_customer(
125
+ client.customers.create_customer(
126
126
  name="name",
127
127
  )
128
128
  """
129
- _response = self._raw_client.create_a_new_customer(
129
+ _response = self._raw_client.create_customer(
130
130
  name=name,
131
131
  legal_name=legal_name,
132
132
  email=email,
@@ -141,9 +141,9 @@ class CustomersClient:
141
141
  )
142
142
  return _response.data
143
143
 
144
- def get_customer(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Customer:
144
+ def get_customer_by_id(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Customer:
145
145
  """
146
- Get a customer by its ID
146
+ Get a customer by ID
147
147
 
148
148
  Parameters
149
149
  ----------
@@ -164,14 +164,14 @@ class CustomersClient:
164
164
  client = Paid(
165
165
  token="YOUR_TOKEN",
166
166
  )
167
- client.customers.get_customer(
167
+ client.customers.get_customer_by_id(
168
168
  id="id",
169
169
  )
170
170
  """
171
- _response = self._raw_client.get_customer(id, request_options=request_options)
171
+ _response = self._raw_client.get_customer_by_id(id, request_options=request_options)
172
172
  return _response.data
173
173
 
174
- def update_customer(
174
+ def update_customer_by_id(
175
175
  self,
176
176
  id: str,
177
177
  *,
@@ -189,7 +189,7 @@ class CustomersClient:
189
189
  request_options: typing.Optional[RequestOptions] = None,
190
190
  ) -> Customer:
191
191
  """
192
- Update a customer by its ID
192
+ Update a customer by ID
193
193
 
194
194
  Parameters
195
195
  ----------
@@ -232,11 +232,11 @@ class CustomersClient:
232
232
  client = Paid(
233
233
  token="YOUR_TOKEN",
234
234
  )
235
- client.customers.update_customer(
235
+ client.customers.update_customer_by_id(
236
236
  id="id",
237
237
  )
238
238
  """
239
- _response = self._raw_client.update_customer(
239
+ _response = self._raw_client.update_customer_by_id(
240
240
  id,
241
241
  name=name,
242
242
  legal_name=legal_name,
@@ -253,9 +253,11 @@ class CustomersClient:
253
253
  )
254
254
  return _response.data
255
255
 
256
- def delete_customer(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> EmptyResponse:
256
+ def delete_customer_by_id(
257
+ self, id: str, *, request_options: typing.Optional[RequestOptions] = None
258
+ ) -> EmptyResponse:
257
259
  """
258
- Delete a customer by its ID
260
+ Delete a customer by ID
259
261
 
260
262
  Parameters
261
263
  ----------
@@ -276,18 +278,18 @@ class CustomersClient:
276
278
  client = Paid(
277
279
  token="YOUR_TOKEN",
278
280
  )
279
- client.customers.delete_customer(
281
+ client.customers.delete_customer_by_id(
280
282
  id="id",
281
283
  )
282
284
  """
283
- _response = self._raw_client.delete_customer(id, request_options=request_options)
285
+ _response = self._raw_client.delete_customer_by_id(id, request_options=request_options)
284
286
  return _response.data
285
287
 
286
288
  def get_customer_by_external_id(
287
289
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
288
290
  ) -> Customer:
289
291
  """
290
- Get a customer by its externalId
292
+ Get a customer by external ID
291
293
 
292
294
  Parameters
293
295
  ----------
@@ -333,7 +335,7 @@ class CustomersClient:
333
335
  request_options: typing.Optional[RequestOptions] = None,
334
336
  ) -> Customer:
335
337
  """
336
- Update a customer by its externalId
338
+ Update a customer by external ID
337
339
 
338
340
  Parameters
339
341
  ----------
@@ -401,7 +403,7 @@ class CustomersClient:
401
403
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
402
404
  ) -> EmptyResponse:
403
405
  """
404
- Delete a customer by its externalId
406
+ Delete a customer by external ID
405
407
 
406
408
  Parameters
407
409
  ----------
@@ -489,7 +491,7 @@ class AsyncCustomersClient:
489
491
  _response = await self._raw_client.list_customers(limit=limit, offset=offset, request_options=request_options)
490
492
  return _response.data
491
493
 
492
- async def create_a_new_customer(
494
+ async def create_customer(
493
495
  self,
494
496
  *,
495
497
  name: str,
@@ -549,14 +551,14 @@ class AsyncCustomersClient:
549
551
 
550
552
 
551
553
  async def main() -> None:
552
- await client.customers.create_a_new_customer(
554
+ await client.customers.create_customer(
553
555
  name="name",
554
556
  )
555
557
 
556
558
 
557
559
  asyncio.run(main())
558
560
  """
559
- _response = await self._raw_client.create_a_new_customer(
561
+ _response = await self._raw_client.create_customer(
560
562
  name=name,
561
563
  legal_name=legal_name,
562
564
  email=email,
@@ -571,9 +573,9 @@ class AsyncCustomersClient:
571
573
  )
572
574
  return _response.data
573
575
 
574
- async def get_customer(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Customer:
576
+ async def get_customer_by_id(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Customer:
575
577
  """
576
- Get a customer by its ID
578
+ Get a customer by ID
577
579
 
578
580
  Parameters
579
581
  ----------
@@ -599,17 +601,17 @@ class AsyncCustomersClient:
599
601
 
600
602
 
601
603
  async def main() -> None:
602
- await client.customers.get_customer(
604
+ await client.customers.get_customer_by_id(
603
605
  id="id",
604
606
  )
605
607
 
606
608
 
607
609
  asyncio.run(main())
608
610
  """
609
- _response = await self._raw_client.get_customer(id, request_options=request_options)
611
+ _response = await self._raw_client.get_customer_by_id(id, request_options=request_options)
610
612
  return _response.data
611
613
 
612
- async def update_customer(
614
+ async def update_customer_by_id(
613
615
  self,
614
616
  id: str,
615
617
  *,
@@ -627,7 +629,7 @@ class AsyncCustomersClient:
627
629
  request_options: typing.Optional[RequestOptions] = None,
628
630
  ) -> Customer:
629
631
  """
630
- Update a customer by its ID
632
+ Update a customer by ID
631
633
 
632
634
  Parameters
633
635
  ----------
@@ -675,14 +677,14 @@ class AsyncCustomersClient:
675
677
 
676
678
 
677
679
  async def main() -> None:
678
- await client.customers.update_customer(
680
+ await client.customers.update_customer_by_id(
679
681
  id="id",
680
682
  )
681
683
 
682
684
 
683
685
  asyncio.run(main())
684
686
  """
685
- _response = await self._raw_client.update_customer(
687
+ _response = await self._raw_client.update_customer_by_id(
686
688
  id,
687
689
  name=name,
688
690
  legal_name=legal_name,
@@ -699,11 +701,11 @@ class AsyncCustomersClient:
699
701
  )
700
702
  return _response.data
701
703
 
702
- async def delete_customer(
704
+ async def delete_customer_by_id(
703
705
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
704
706
  ) -> EmptyResponse:
705
707
  """
706
- Delete a customer by its ID
708
+ Delete a customer by ID
707
709
 
708
710
  Parameters
709
711
  ----------
@@ -729,21 +731,21 @@ class AsyncCustomersClient:
729
731
 
730
732
 
731
733
  async def main() -> None:
732
- await client.customers.delete_customer(
734
+ await client.customers.delete_customer_by_id(
733
735
  id="id",
734
736
  )
735
737
 
736
738
 
737
739
  asyncio.run(main())
738
740
  """
739
- _response = await self._raw_client.delete_customer(id, request_options=request_options)
741
+ _response = await self._raw_client.delete_customer_by_id(id, request_options=request_options)
740
742
  return _response.data
741
743
 
742
744
  async def get_customer_by_external_id(
743
745
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
744
746
  ) -> Customer:
745
747
  """
746
- Get a customer by its externalId
748
+ Get a customer by external ID
747
749
 
748
750
  Parameters
749
751
  ----------
@@ -797,7 +799,7 @@ class AsyncCustomersClient:
797
799
  request_options: typing.Optional[RequestOptions] = None,
798
800
  ) -> Customer:
799
801
  """
800
- Update a customer by its externalId
802
+ Update a customer by external ID
801
803
 
802
804
  Parameters
803
805
  ----------
@@ -873,7 +875,7 @@ class AsyncCustomersClient:
873
875
  self, external_id: str, *, request_options: typing.Optional[RequestOptions] = None
874
876
  ) -> EmptyResponse:
875
877
  """
876
- Delete a customer by its externalId
878
+ Delete a customer by external ID
877
879
 
878
880
  Parameters
879
881
  ----------