- 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_ids
is nowteam_member_ids
opening_employee_id
is nowopening_team_member_id
ending_employee_id
is nowending_team_member_id
closing_employee_id
is nowclosing_team_member_id
These fields previously referenced
Employee
objects from the retired Employees API. With this update, the fields referenceTeamMember
objects. You don't need to map retiredEmployee
objects to their replacementTeamMember
objects because aTeamMember
object has the same ID as theEmployee
object that it replaces.CashDrawerShiftEvent object. The
employee_id
field is renamed toteam_member_id
.
Catalog API:
- CatalogModifier. Added the
location_overrides
field to support location-specific price overrides. - CatalogTax object. Added the
applies_to_product_set_id
field 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_TRANSIT
value indicates that the associated inventory quantity is in transit from one location to another.IN_TRANSIT
replacesIN_TRANSIT_TO
. IN_TRANSIT_TO
is now deprecated.
- The new
- InventoryState enum:
Invoices API:
- CreateInvoice and UpdateInvoice endpoints. You can now specify the
bank_account
payment method as anaccepted_payment_method
for all invoices. Previously, this payment method only supported invoices with a singleBALANCE
payment 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 REQUEST
error if the specified order includes thereturns
field. 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_name
can 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
SquareEvent
toEvent
. For example,PaymentUpdatedSquareEvent
has changed toPaymentUpdatedEvent
.
- Event objects. All webhook data and object names have been renamed from