Driftwatch

Square / Square API /

Breaking

Response field available_for_pickup 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_for_pickuppresentabsent

Code that breaks

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

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