Driftwatch

Square / Square API /

Breakingdirection flip: their tools call this safe

location_id is no longer accepted

What changed

Usually ignored rather than rejected, so the call succeeds and does something subtly different.

Affects location_id on InventoryAdjustment reachable from 8 operations. Grep for it: nothing else will tell you.

Who is affected

Code that sends Square's InventoryAdjustment objects, used by 8 Square operations.

Before and after

WhereBeforeAfter
InventoryAdjustment.location_idpresentabsent

Code that breaks

await client.post("/…", {
  // location_id is now ignored, not rejected
  location_id: value,
});

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