Driftwatch

Square / Square API /

Breaking

Response field available_online 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_onlinepresentabsent

Code that breaks

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

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