Version 6.3.0.20200826 (2020-08-26)
okenshields
released this
26 Aug 16:27
·
162 commits
to master
since this release
Existing API updates
- Orders API
- Order object. The
total_tip_money
field is now GA. - CreateOrder, UpdateOrder, and BatchRetrieveOrders. These APIs now support merchant-scoped endpoints (for example, the
CreateOrder
endpointPOST /v2/orders
). The location-scoped variants of these endpoints (for example, theCreateOrder
endpointPOST /v2/locations/{location_id}/orders
) continue to work, but these endpoints are now deprecated. You should use the merchant-scoped endpoints (you provide the location information in the request body).
- Order object. The
- Labor API
- Migrate from Employees to Team Members. The Employees API is now deprecated in this release. Accordingly, update references to the
Shift.employee_id
field to theShift.team_member_id
field of the Labor API.
- Migrate from Employees to Team Members. The Employees API is now deprecated in this release. Accordingly, update references to the
- v2 Employees API (deprecated)
- Migrate from the Square Employees API. The v2 Employees API is now deprecated. This topic provides information to migrate to the Team API.
- v1 Employees API (deprecated)
- Migrate from the v1 Employees API. The v1 Employees API is now deprecated. This topic provides information to migrate to the Team API.
Documentation updates
- Point of Sale API
- Build on iOS. Corrected the Swift example code in step 7.
- Team API
- Team API Overview. Documented the limitation related to creating a team member in the Square Sandbox.
All SDKs
SDK technical reference documentation:
- Nulls in SDK documentation example code are replaced with example values.
.NET SDK
Bug fixes:
- The
APIException.Errors
property was not set on instantiation. Behavior is now corrected to instantiate the class with an emptyErrors
list.