Driftwatch

Square / Square API /

Breaking

Response field available_electronically removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects CatalogItem reachable from 10 operations.

Who is affected

Code that reads Square's CatalogItem objects, used by 10 Square operations.

Before and after

WhereBeforeAfter
CatalogItem.available_electronicallypresentabsent

Code that breaks

// response.available_electronically is now undefined
const available_electronically = response.available_electronically;

Based on Square’s published API specification. How severity is decided.