You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api/checkout.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -368,7 +368,7 @@ async listPaymentLinks(
368
368
369
369
| Parameter | Type | Tags | Description |
370
370
| --- | --- | --- | --- |
371
-
|`cursor`|`string \| undefined`| Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this cursor to retrieve the next set of results for the original query.<br>If a cursor is not provided, the endpoint returns the first page of the results.<br>For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination). |
371
+
|`cursor`|`string \| undefined`| Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this cursor to retrieve the next set of results for the original query.<br>If a cursor is not provided, the endpoint returns the first page of the results.<br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
372
372
|`limit`|`number \| undefined`| Query, Optional | A limit on the number of results to return per page. The limit is advisory and<br>the implementation might return more or less results. If the supplied limit is negative, zero, or<br>greater than the maximum limit of 1000, it is ignored.<br><br>Default value: `100`|
|`body`|[`BulkCreateCustomersRequest`](../../doc/models/bulk-create-customers-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
|`body`|[`BulkDeleteCustomersRequest`](../../doc/models/bulk-delete-customers-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
|`body`|[`BulkRetrieveCustomersRequest`](../../doc/models/bulk-retrieve-customers-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
This endpoint takes a map of individual update requests and returns a map of responses.
357
+
358
+
You cannot use this endpoint to change cards on file. To make changes, use the [Cards API](../../doc/api/cards.md) or [Gift Cards API](../../doc/api/gift-cards.md).
|`body`|[`BulkUpdateCustomersRequest`](../../doc/models/bulk-update-customers-request.md)| Body, Required | An object containing the fields to POST for the request.<br><br>See the corresponding object definition for field details. |
Searches the customer profiles associated with a Square account using one or more supported query filters.
@@ -236,9 +495,6 @@ try {
236
495
237
496
Deletes a customer profile from a business. This operation also unlinks any associated cards on file.
238
497
239
-
As a best practice, include the `version` field in the request to enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency) control.
240
-
If included, the value must be set to the current version of the customer profile.
241
-
242
498
To delete a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
243
499
244
500
```ts
@@ -330,11 +586,7 @@ try {
330
586
# Update Customer
331
587
332
588
Updates a customer profile. This endpoint supports sparse updates, so only new or changed fields are required in the request.
333
-
To add or update a field, specify the new value. To remove a field, specify `null`
334
-
(recommended) or specify an empty string (string fields only).
335
-
336
-
As a best practice, include the `version` field in the request to enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency) control.
337
-
If included, the value must be set to the current version of the customer profile.
589
+
To add or update a field, specify the new value. To remove a field, specify `null`.
338
590
339
591
To update a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
0 commit comments