Square v2.3.0 Release Notes
Release Date: 2017-09-13 // over 6 years ago-
๐ New features: Orders API
CreateOrder
endpoint creates an itemized order which can be referenced in messages to theCharge
endpoint.BatchRetrieveOrders
retrieves order objects referenced in one or more transactions based on the providedorder_id
.
Note: at this point,
BatchRetrieveOrders only
returns information on paid orders made through Square's eCommerce APIs (Transactions, Checkout).Other Changes
- ๐
order
is removed from Transaction order_id
is added to TransactionOrderLineItemDiscountType.UNKOWN
renamed toOrderLineItemDiscountType.UNKOWN_DISCOUNT
OrderLineItemTaxType.UNKOWN
renamed toOrderLineItemDiscountType.UNKOWN_TAX
ChargeRequest.idempotency_key
is restricted to max length 192ChargeRequest.card_nonce
is restricted to max length 192ChargeRequest.customer_card_id
is restricted to max length 192ChargeRequest.reference_id
is restricted to max length 40ChargeRequest.note
is restricted to max length 60ChargeRequest.customer_id
is restricted to max length 50CreateCheckoutRequest.redirect_url
is restricted to max length 800- Added
phone_number
andbusiness_name
to Location