Skip to content

Commit a2a5e38

Browse files
authored
Update CHANGELOG.md
1 parent 5445cf2 commit a2a5e38

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,59 @@
77

88
**Note:** This release fixes a bug introduced on the [April 22, 2020](changelog/connect-logs/2020-04-22) release of the Square API.
99

10+
## Version 5.2.0.20200422 (2020-04-22)
11+
## API releases
12+
* **Terminal API.** The new Terminal API lets a custom third-party POS app integrate with the Square Terminal to send terminal checkout requests to collect payments.
13+
* For an overview, see [Overview](/terminal-api/overview).
14+
* For technical reference, see [Terminal API](${SQUARE_TECH_REF}/terminal-api).
15+
16+
* **Devices API.** The new Devices API lets a custom third-party POS app generate a code used to sign in to a Square Terminal to create a pairing that lets the POS app send terminal checkout requests. For technical reference, see [Devices API](${SQUARE_TECH_REF}/devices-api).
17+
18+
* **Customer Groups API (beta).** The new Customer Groups API (Beta) enables full CRUD management of customer groups, including the ability to list, retrieve, create, update, and delete customer groups. Previously, this functionality was only available through the Square dashboard and point-of-sale product interfaces.
19+
* For an overview, see [Overview](/customer-groups-api/what-it-does)
20+
* For technical reference, see [Customer Groups](${SQUARE_TECH_REF}/customer-groups-api).
21+
22+
* **Customer Segments API (beta).** The new Customer Segments API (Beta) lets you list and retrieve customer segment (also called smart groups) information. Coupled with the new `segment_ids` field on the customer resource, this API lets you better understand and track the customer segments to which a customer belongs.
23+
* For an overview, see [Overview](/customer-segmentss-api/what-it-does)
24+
* For technical reference, see [Customer Segments]( ${SQUARE_TECH_REF}/customer-segments-api).
25+
26+
27+
* **New webhooks.** v2 Webhooks (beta) now supports webhooks for the following APIs:
28+
* Orders API. `order.created`, `order.updated`, and `order.fulfillment.updated`
29+
* Terminal API. `terminal.checkout.created` and `terminal.checkout.updated`
30+
* Devices API. `device.code.paired`
31+
32+
For more information, see [Subscribe to Events](webhooks-api/subscribe-to-events).
33+
34+
## Existing API updates
35+
* **Customers API**
36+
* [AddGroupToCustomer](${SQUARE_TECH_REF}/customers-api/add-group-to-customer) endpoint. Added to add customer memberships to a customer group.
37+
* [RemoveGroupFromCustomer](${SQUARE_TECH_REF}/customers-api/remove-group-from-customer) endpoint. Added to remove customer memberships from a customer group.
38+
* [Customer](${SQUARE_TECH_REF}/obects/Customer) object. Updated as follows:
39+
* [`group_ids`](${SQUARE_TECH_REF}/obects/Customer#definition__property-group_ids) field. Added to designate groups the customer is in.
40+
* [`segment_ids`](${SQUARE_TECH_REF}/obects/Customer#definition__property-segment_ids) field. Added to designate segments the customer is in.
41+
* [`groups`](${SQUARE_TECH_REF}/obects/Customer#definition__property-groups) field. Deprecated to be replaced by `group_ids` and `segment_ids`. It remains supported for one year from this release.
42+
* [CustomerQuery](${SQUARE_TECH_REF}/objects/CustomerQuery) object's `filter` parameter. Updated as follows:
43+
* `group_ids` filter. Added to search for customers based on whether they belong to any, all, or none of the specified groups.
44+
45+
46+
* **Orders API**
47+
* [OrderFulfillmentPickupDetails](${SQUARE_TECH_REF}/objects/OrderFulfillmentPickupDetails) type updated to support curbside pickup:
48+
* `is_curbside_pickup`. This Boolean field indicates curbside pickup.
49+
* `CurbsidePickupDetails`. This type provides supporting information for curbside pickup, including a buyer description (for example, "buyer is in a red car") and a timestamp when the buyer arrived for the pickup.
50+
51+
52+
* **OAuth API**
53+
* [RevokeToken](${SQUARE_TECH_REF}/oauth-api/revoke-token) endpoint. Added a new field called [revoke_only_access_token](${SQUARE_TECH_REF}/oauth-api/revoke-token#request__property-revoke_only_access_token). This field allows a client to revoke an access token but leave the parent authorization active.
54+
* [ObtainToken](${SQUARE_TECH_REF}/oauth-api/obtain-token) endpoint. Added a new field called [scopes](${SQUARE_TECH_REF}/oauth-api/obtain-token#request__property-scopes). This field lets a client change the set of permissions for an access token when making a request to refresh the token.
55+
56+
57+
* **Catalog API**
58+
* [CatalogQuickAmountsSettings](${SQUARE_TECH_REF}/objects/CatalogQuickAmountsSettings) type. Added to support predefined custom payment amounts in the Square Register checkout dialog box.
59+
* ENUM`CatalogItemProductType`. The ENUM value `GIFT_CARD` is now deprecated.
60+
61+
* **Payments API.** See [Take Payments and Collect Fees](/payments-api/take-payments-and-collect-fees) for updated information about permission requirements, Square reporting of the application fee collected by an app, and how to collect fees internationally.
62+
1063
## Version 5.1.0.20200325 (2020-03-25)
1164
## Existing API updates
1265
* **[Payments API](${SQUARE_TECH_REF}/payments-api).** In support of the existing [Delayed capture](payments-api/take-payments) for payments, the following fields are added to the [Payment](${SQUARE_TECH_REF}/objects/Payment) type:

0 commit comments

Comments
 (0)