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: CHANGELOG.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,35 @@
1
1
# Change Log
2
2
3
+
## Version 5.0.0.20200226 (2020-02-26)
4
+
## API releases
5
+
***GA release**: All SDKs have been updated to support the new Bank Accounts and CashDrawerShifts APIs.
6
+
7
+
***Beta release**: All SDKs have been updated to support the new Disputes API.
8
+
9
+
10
+
## Existing API updates
11
+
12
+
All SDKs have been updated to support the following changes:
13
+
14
+
***Catalog API**
15
+
* Batch upsert catalog objects endpoint — The `batches` field is now required and the array must have at least one element.
16
+
* CatalogModifier — Two fields added:
17
+
*`ordinal` to support custom ordering in a modifier list
18
+
*`modifier_list_id` to reference the parent modifier list
19
+
* CatalogModifierList — New field added: `ordinal` to support custom ordering in a list of **CatalogModifierList** objects.
20
+
21
+
***Customers API changes**
22
+
* SearchCustomers endpoint —`limit` size reduced from 1000 to 100 to improve the endpoint performance.
23
+
24
+
***Orders API changes**
25
+
* CreateOrderRequest — Previously these request fields were deprecated: `line_items`, `taxes`, `discounts`. These fields are no longer available. Instead you now use the `Order` object in the request. For example, `Order.line_items`, `Order.taxes`, and `Order.discounts`.
26
+
* OrderLineItem type — There are two changes:
27
+
* The `taxes` field that was previously deprecated is no longer available. Instead, you now use the `OrderLineItem.applied_taxes` field. This also now requires that you set the `OrderLineItemTax.scope` field.
28
+
* The `discounts` field that was previously deprecated is no longer available. Instead, you now use the `OrderLineItem.applied_discounts` field. This also now requires that you set the `OrderLineItemDiscount.scope` field.
29
+
30
+
***Shared object updates**
31
+
***Card object**— New fields added: `card_type`, `prepaid_type`. Currently, only the Payments API responses populate these fields.
32
+
3
33
## Version 4.1.0.20200122 (2020-01-22)
4
34
* New field: The **Employee** object now has an `is_owner` field.
5
35
* New enumeration: The **CardBrand** enumeration has a new `SQUARE_CAPITAL_CARD` enum value to support a Square one-time Installments payment.
|`cursor`|`String`| Query, Optional | The pagination cursor returned by a previous call to this endpoint.<br>Use it in the next `ListBankAccounts` request to retrieve the next set <br>of results.<br><br>See the [Pagination](https://developer.squareup.com/docs/docs/working-with-apis/pagination) guide for more information. |
35
+
|`limit`|`Integer`| Query, Optional | Upper limit on the number of bank accounts to return in the response. <br>Currently, 1000 is the largest supported limit. You can specify a limit <br>of up to 1000 bank accounts. This is also the default limit. |
36
+
|`locationId`|`String`| Query, Optional | Location ID. You can specify this optional filter <br>to retrieve only the linked bank accounts belonging to a specific location. |
Returns details of a [BankAccount](#type-bankaccount) identified by V1 bank account ID.
56
+
For more information, see
57
+
[Retrieve a bank account by using an ID issued by V1 Bank Accounts API](https://developer.squareup.com/docs/docs/bank-accounts-api#retrieve-a-bank-account-by-using-an-id-issued-by-the-v1-bank-accounts-api).
|`v1BankAccountId`|`String`| Template, Required | Connect V1 ID of the desired `BankAccount`. For more information, see <br>[Retrieve a bank account by using an ID issued by V1 Bank Accounts API](https://developer.squareup.com/docs/docs/bank-accounts-api#retrieve-a-bank-account-by-using-an-id-issued-by-v1-bank-accounts-api). |
0 commit comments