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.

New features

Orders API

  • CreateOrder endpoint creates an itemized order which can be referenced in messages to the Charge endpoint.
  • BatchRetrieveOrders retrieves order objects referenced in one or more transactions based on the provided order_id. Note: at this point, BatchRetrieveOrders only returns information on paid orders made through Square’s eCommerce APIs (Transactions, Checkout).

Transaction API

The Transaction API now supports the following request fields:

  • order_id — the ID of an order object associated with the transaction.

Contact Developer Support, join our Slack channel, or ask for help on Stack Overflow