Driftwatch

Square / Square API /

Breaking

Response field transfer removed

What changed

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

Affects InventoryChange reachable from 5 operations.

Who is affected

Code that reads Square's InventoryChange objects, used by 5 Square operations.

Before and after

WhereBeforeAfter
InventoryChange.transferpresentabsent

Code that breaks

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

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