< Back to changelog

2020-05-28 Changelog

Square
Customers API
OAuth API
Orders API
Loyalty API


Version Summary


API releases Permalink Get a link to this section

Existing API updates Permalink Get a link to this section

  • Orders API

    • CalculateOrder (beta) endpoint. Use the endpoint to calculate adjustments (for example, taxes and discounts) to an order for preview purposes. In response, the endpoint returns the order showing the calculated totals. You can use this endpoint with an existing order or an order that has not been created.

      The endpoint does not update an existing order. It only returns a calculated view of the order that you provided in the request. To create or update an order, use the CreateOrder and UpdateOrder endpoints, respectively.

    • Order type. Two fields are added in support of the Loyalty API integration. For more information, see Deferred reward creation. For an example, see Redeem Points.

      • Order.rewards represents rewards added to an order by calling the CreateLoyaltyReward endpoint.

      • Order.discount.reward_ids indicates that a discount is the result of the specified rewards that were added to an order using the CreateLoyaltyReward endpoint.

  • Customers API

Square Webhooks Permalink Get a link to this section

Documentation updates Permalink Get a link to this section