E161: Check if order channel is in use
GET /api/order-channels/:id/in-use
Returns whether any SO references this channel. Used by the UI before exposing the delete action (W159).
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.
Request
No body.
Response — 200 OK
{ "inUse": true, "sampleSoIds": ["uuid"] }
Errors
| HTTP | code | Condition |
|---|---|---|
| 404 | not_found | No such channel. |