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

E158: Update order channel

PATCH /api/order-channels/:id

Renames or recolors an existing channel. Triggered from Settings, Order channels.

Authentication

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

Request

{ "name": "Direct", "displayOrder": 1 }

Response — 200 OK

{ "id": "uuid", "name": "Direct", "displayOrder": 1 }

Errors

HTTPcodeCondition
404not_foundNo such channel.
422validation_failedDuplicate name.

Workflow

Calls W158 Update order channel.