Version 15.1.0.20210915
square-sdk-deployer
released this
16 Sep 18:58
·
105 commits
to master
since this release
Version 15.1.0.20210915 (2021-09-15)
API updates
-
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
Documentation updates
- 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.](https://developer.squareup.com/docs/oauth-api/create-urls-for-square-au