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

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

HTTPcodeCondition
404not_foundNo such channel.

Workflow

Calls W161 Check if order channel is in use.