- Square Version:
2020-02-26 - Java:
5.0.0.20200226 - .NET:
5.0.0 - Node.js:
3.20200226.0 - PHP:
3.20200226.0 - Python:
5.0.0.20200226 - Ruby:
5.0.0.20200226
2020-02-26 Changelog
Square
Bank Accounts API
Cash Drawer Shifts API
Catalog API
Checkout API
Customers API
Disputes API
Orders API
Webhooks
BETA
DEPRECATED
Connect v1
Disputes API (Beta)
- For an overview, see Overview
- For technical reference, see Disputes API.
Bank Accounts API (GA)
- For an overview, see Overview
- For technical reference, see Bank Account
Cash Drawer Shifts API (GA)
- For an overview, see Use the Cash Drawer Shifts API
- For a technical reference, see Cash Drawers
New webhooks — Webhooks now supports webhooks for the Payments API, Disputes API, and Bank Accounts API. For more information, see Subscribe to Events.
Catalog API
- Batch upsert catalog objects endpoint — The
batchesfield is now required and the array must have at least one element. - CatalogModifier — Two fields added:
ordinalto support custom ordering in a modifier listmodifier_list_idto reference the parent modifier list
- CatalogModifierList — New field added:
ordinalto support custom ordering in a list of CatalogModifierList objects.
- Batch upsert catalog objects endpoint — The
Customers API changes
- SearchCustomers endpoint —
limitsize reduced from 1000 to 100 to improve the endpoint performance.
- SearchCustomers endpoint —
Orders API changes
- CreateOrderRequest — Previously these request fields were deprecated:
line_items,taxes,discounts. These fields are no longer available. Instead you now use theOrderobject in the request. For example,Order.line_items,Order.taxes, andOrder.discounts. - OrderLineItem type — There are two changes:
- The
taxesfield that was previously deprecated is no longer available. Instead, you now use theOrderLineItem.applied_taxesfield. This also now requires that you set theOrderLineItemTax.scopefield. - The
discountsfield that was previously deprecated is no longer available. Instead, you now use theOrderLineItem.applied_discountsfield. This also now requires that you set theOrderLineItemDiscount.scopefield.
- The
- CreateOrderRequest — Previously these request fields were deprecated:
Shared object updates
- Card object — New fields added:
card_type,prepaid_type. Currently, only the Payments API responses populate these fields.
- Card object — New fields added:
The following V1 APIs are now deprecated:
Cash Drawers API
- For migrating to Square API, see Migrate from Connect v1 CashDrawerShifts API
- For technical reference, see Cash Drawers
Bank Accounts API
- For migrating to Square API, see Migrate from Connect v1 BankAccounts API
- For technical reference, see Bank Accounts
Time Cards API
- For migrating to Square API, see Migrate from Connect v1 Timecards API
- For technical reference, see Time Cards