Skip to main content
Version: v1.0.0(int)

E095: Delete location

DELETE /api/locations/:id

Removes a fulfillment location that nothing references. Triggered from Settings, Fulfillment locations. The in-use check is broad: POs, WOs, SOs, and both inventory ledgers all block deletion.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request

No body.

Response — 200 OK

{ "deletedId": "uuid" }

Echo of the deleted location's id.

Errors

HTTPcodeCondition
404not_foundNo such location.
409in_useLocation is referenced by orders, inventory, or work orders.

Workflow

Calls W095 Delete location.