- Square Version:
2023-05-17 - Java:
29.0.0.20230517 - .NET:
27.0.0 - Node.js:
27.0.0 - PHP:
27.0.0.20230517 - Python:
27.0.0.20230517 - Ruby:
28.0.0.20230517
2023-05-17 Changelog
Square
Documentation
Cash Drawer Shifts API
Catalog API
Inventory API
Invoices API
Loyalty API
Merchant Custom Attributes API
Point of Sale API
BETA
DEPRECATED
- Merchant Custom Attributes API (beta):
- The Merchant Custom Attributes API enables developers to create and manage custom attributes for merchants.
Cash Drawer Shifts API:
CashDrawerShift object. The following fields are renamed:
employee_idsis nowteam_member_idsopening_employee_idis nowopening_team_member_idending_employee_idis nowending_team_member_idclosing_employee_idis nowclosing_team_member_id
These fields previously referenced
Employeeobjects from the retired Employees API. With this update, the fields referenceTeamMemberobjects. You don't need to map retiredEmployeeobjects to their replacementTeamMemberobjects because aTeamMemberobject has the same ID as theEmployeeobject that it replaces.CashDrawerShiftEvent object. The
employee_idfield is renamed toteam_member_id.
Catalog API:
- CatalogModifier. Added the
location_overridesfield to support location-specific price overrides. - CatalogTax object. Added the
applies_to_product_set_idfield to specify a product set to apply the tax to. The tax is applied to all products in the product set.
- CatalogModifier. Added the
Inventory API:
- InventoryState enum:
- The new
IN_TRANSITvalue indicates that the associated inventory quantity is in transit from one location to another.IN_TRANSITreplacesIN_TRANSIT_TO. IN_TRANSIT_TOis now deprecated.
- The new
- InventoryState enum:
Invoices API:
- CreateInvoice and UpdateInvoice endpoints. You can now specify the
bank_accountpayment method as anaccepted_payment_methodfor all invoices. Previously, this payment method only supported invoices with a singleBALANCEpayment request. This change applies to all Square API versions starting May 17, 2023.
- CreateInvoice and UpdateInvoice endpoints. You can now specify the
Loyalty API:
- AccumulateLoyaltyPoints and CalculateLoyaltyPoints endpoints. Square now returns a
400 BAD REQUESTerror if the specified order includes thereturnsfield. Square automatically adjusts loyalty points for returns during the refund flow.
- AccumulateLoyaltyPoints and CalculateLoyaltyPoints endpoints. Square now returns a
Point of Sale API:
- The Point of Sale API now supports Tap to Pay for Android and iPhone. For more information, see Point of Sale API Overview.
Locations API:
- UpdateLocation endpoint. For added security, the Locations API now enforces a Square policy where a location's
business_namecan be changed no more than three times in a 12-month period. - Clarified in the Locations API documentation that sellers can have up to 300 locations in their Square account.
- UpdateLocation endpoint. For added security, the Locations API now enforces a Square policy where a location's
Webhooks:
- Event objects. All webhook data and object names have been renamed from
SquareEventtoEvent. For example,PaymentUpdatedSquareEventhas changed toPaymentUpdatedEvent.
- Event objects. All webhook data and object names have been renamed from