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
{{ message }}
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGES.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Change Log
2
2
3
+
## Version 2.20181212.0 (2018-12-12)
4
+
5
+
## Improvement: ListCustomers return set expanded
6
+
7
+
Requests to the ListCustomers endpoint now returns all available customer profiles. Previously, ListCustomers only returned customer profiles explicitly created through the Customers API or Square Point of Sale.
8
+
3
9
## Version 2.20181205.0 (2018-12-05)
4
10
5
11
## New feature: Idempotent customer profile creation in Connect v2
Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number` This endpoint does not accept an idempotency key. If you accidentally create a duplicate customer, you can delete it with the [DeleteCustomer](#endpoint-deletecustomer) endpoint.
23
+
Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
Copy file name to clipboardExpand all lines: src/main/java/com/squareup/connect/api/CustomersApi.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ public void setApiClient(ApiClient apiClient) {
48
48
49
49
/**
50
50
* CreateCustomer
51
-
* Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number` This endpoint does not accept an idempotency key. If you accidentally create a duplicate customer, you can delete it with the [DeleteCustomer](#endpoint-deletecustomer) endpoint.
51
+
* Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
52
52
* @param body An object containing the fields to POST for the request. See the corresponding object definition for field details. (required)
53
53
* @return CreateCustomerResponse
54
54
* @throws ApiException if fails to make API call
@@ -68,7 +68,7 @@ public CreateCustomerResponse createCustomer(CreateCustomerRequest body) throws
@@ -91,7 +91,7 @@ public CreateCustomerResponse createCustomer(CreateCustomerRequest body) throws
91
91
92
92
/**
93
93
* CreateCustomer
94
-
* Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number` This endpoint does not accept an idempotency key. If you accidentally create a duplicate customer, you can delete it with the [DeleteCustomer](#endpoint-deletecustomer) endpoint.
94
+
* Creates a new customer for a business, which can have associated cards on file. You must provide __at least one__ of the following values in your request to this endpoint: - `given_name` - `family_name` - `company_name` - `email_address` - `phone_number`
95
95
* @param body An object containing the fields to POST for the request. See the corresponding object definition for field details. (required)
0 commit comments