- Square Version:
2021-09-15
- Java:
15.1.0.20210915
- .NET:
14.1.0
- Node.js:
14.1.0
- PHP:
14.1.0.20210915
- Python:
14.1.0.20210915
- Ruby:
14.1.0.20210915
2021-09-15 Changelog
Square
Invoices API
Orders API
Team API
Terminal API
Invoices API:
- Invoice object. Added a new, optional
sale_or_service_date
field used to specify the date of the sale or the date that the service is rendered. If specified, this date is displayed on the invoice.
- Invoice object. Added a new, optional
Orders API:
- CreateOrder. The endpoint now supports creating temporary, draft orders. For more information, see Create a draft order.
- CloneOrder. The Orders API supports this new endpoint to clone an existing order. For more information, see Clone an order.
- These fields have moved to the general availability (GA) state: OrderLineItem.item_type, OrderServiceCharge.type, and
catalog_version
field on every order type that contains this field.
Team API:
- SearchTeamMembersFilter object now has an
is_owner
field that when set, causes a team member search to return only the seller who owns a Square account.
- SearchTeamMembersFilter object now has an
Terminal API:
- TerminalCheckout object. The
customer_id
field is now GA.
- TerminalCheckout object. The
- OAuth API:
- Revised API descriptions for the ObtainToken and Authorize endpoints. Clarified that the Authorize endpoint is not a callable API but is used to direct the seller to the Square authorization page. For more information about the Authorize endpoint, see Create the Redirect URL and Square Authorization Page URL.