Version 10.0.0.20210421 (2021-04-21)
New API releases
Existing API updates
- 
Subscriptions API: - ResumeSubscription. This new endpoint enables applications to resume deactivated subscriptions. After a subscription is created, there are events that can make a subscription non-billable, causing Square to deactivate the subscription. A seller can also resume deactivated subscriptions in the Seller Dashboard. Applications can call ListSubscriptionEvents to determine why Square deactivated a subscription.
 
- 
Customers API: - 
Customer object: - New versionfield (beta). This field represents the current version of the customer profile. You can include it in yourUpdateCustomerandDeleteCustomerrequests to enable optimistic concurrency. For more information, see Customer profile versions and optimistic concurrency support.
- The groupsfield and correspondingCustomerGroupInfoobject are retired.
 
- New 
- 
Customer webhooks have moved to the general availability (GA) state. Event notifications now include the versionfield (beta).
 
- 
- 
Invoices API: - 
The Invoices API has moved to the GA state. 
- 
Invoice object: - A new required accepted_payment_methodsfield that defines the methods of payment that customers can use to pay an invoice on the Square-hosted invoice page. Valid values are defined in the new InvoiceAcceptedPaymentMethods enum. For more information, see the migration notes.
- A new subscription_idfield, which is included in invoices created for subscription billing.
 
- A new required 
 
- 
- 
Loyalty API: (beta) - 
RetrieveLoyaltyProgram endpoint. This new endpoint accepts a program ID or the mainkeyword and returns the loyalty program in a seller's account. For more information, see Retrieve a loyalty program. This endpoint is preferred over theListLoyaltyProgramsendpoint.
- 
Introduced a new mapping implementation for loyalty accounts: - LoyaltyAccount object. Added the mappingfield (of typeLoyaltyAccountMapping), which is used to associate the loyalty account with a buyer. This field is recommended over themappingsfield.
- LoyaltyAccountMapping object. Added the phone_numberfield to represent a phone number mapping. This field is recommended over thetypeandvaluefields.
 
- LoyaltyAccount object. Added the 
- 
A new loyalty.program.created webhook. Square now publishes an event notification when a loyalty program is created in the Square Seller Dashboard. 
 
- 
- 
Inventory API: - InventoryChange can now have its own measurement unit.
 
- 
Catalog API: - CatalogItem introduces the sort_nameattribute that can take Japanese writing scripts to sort items by. When it is unspecified, the regularnameattribute is used for sorting.
- CatalogPricingRule has the new customer_group_ids_anyattribute included to support automatic application of discounts to specified product set purchased by members of any of the customer groups identified by thecustomer_group_ids_anyattribute values.
 
- CatalogItem introduces the 
- 
Team API - New Team webhooks: team_member.created,team_member.updated,team_member.wage_setting.updatedto notify on created and updated team members and wage
 
- New Team webhooks: