- Square Version:
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.
versionfield (beta). This field represents the current version of the customer profile. You can include it in your
DeleteCustomerrequests to enable optimistic concurrency. For more information, see Customer profile versions and optimistic concurrency support.
groupsfield and corresponding
CustomerGroupInfoobject are retired.
Customer webhooks have moved to the general availability (GA) state. Event notifications now include the
The Invoices API has moved to the GA state.
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.
subscription_idfield, which is included in invoices created for subscription billing.
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 the
Introduced a new mapping implementation for loyalty accounts:
LoyaltyAccount object. Added the
mappingfield (of type
LoyaltyAccountMapping), which is used to associate the loyalty account with a buyer. This field is recommended over the
LoyaltyAccountMapping object. Added the
phone_numberfield to represent a phone number mapping. This field is recommended over the
A new loyalty.program.created webhook. Square now publishes an event notification when a loyalty program is created in the Square Seller Dashboard.
InventoryChange can now have its own measurement unit.
CatalogItem introduces the
sort_nameattribute that can take Japanese writing scripts to sort items by. When it is unspecified, the regular
nameattribute 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 the
New Team webhooks:
team_member.wage_setting.updatedto notify on created and updated team members and wage settings.
Connect Node.js SDK: (retired)
The Connect Node.js SDK is retired and replaced by the Square Node.js SDK. For migration information, see Connect Node.js SDK README.
If you need more assistance, contact Developer Support or ask for help in the Developer Forums.