Square API Release Notes (2017-09-13)
Release Summary: Orders API, Transaction API
Orders API (v2)
As part of our work to close gaps between the Connect V1 and Connect V2 APIs, the v2 List Locations endpoint now returns fields that were previously only available with the v1 List Locations endpoint. This should enable most developers to migrate their solutions off of the v1 Locations API.
CreateOrderendpoint creates an itemized order which can be referenced in messages to the Charge endpoint.
BatchRetrieveOrdersretrieves order objects referenced in one or more transactions based on the provided
order_id. Note: at this point,
BatchRetrieveOrdersonly returns information on paid orders made through Square’s eCommerce APIs (Transactions, Checkout).
The Transaction API now supports the following request fields:
order_id— the ID of an order object associated with the transaction.