Bot Config
Base path: /api/data/bot-config
All bot config CRUD endpoints are registered but not yet implemented — handlers are empty stubs.
POST /api/data/bot-config
Create a new bot configuration record.
Auth: Session cookie required
Tenant: Scoped via x-tenant-id header
Not yet implemented — returns no response.
Bot Config Schema Reference
| Field | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | Tenant identifier |
| guildId | string | Yes | Discord guild/server ID |
| defaultOrderChannelId | string | No | Default channel for order messages |
| announcementChannelId | string | No | Channel for announcements |
| adminRoleIds | string[] | No | Discord role IDs with admin access (default []) |
| staffRoleIds | string[] | No | Discord role IDs with staff access (default []) |
| responseMode | enum | No | EPHEMERAL (default) or DM |
| lowInventoryThreshold | number | No | Inventory alert threshold (default 5) |
| enabledPaymentMethods | enum[] | No | Enabled payment methods (default []). Values: PAYPAL, CASHAPP_PAY, BTC_INVOICE, VENMO_P2P, CASHAPP_P2P, ZELLE, CHIME, PAYPAL_MANUAL, BTC_MANUAL |
| paymentInstructions | string | No | General payment instructions (default "") |
| paymentInstructionsByMethod | object | No | Per-method payment instructions (default {}) |
| registeredDiscordUserIds | string[] | No | Registered Discord user IDs (default []) |
| createdAt | date | Yes | Creation timestamp |
| updatedAt | date | Yes | Last update timestamp |
GET /api/data/bot-config/:id
Retrieve a bot config by ID.
Auth: Session cookie required
Tenant: Scoped via x-tenant-id header
Not yet implemented — returns no response.
PATCH /api/data/bot-config/:id
Update a bot config by ID.
Auth: Session cookie required
Tenant: Scoped via x-tenant-id header
Not yet implemented — returns no response.
DELETE /api/data/bot-config/:id
Delete a bot config by ID.
Auth: Session cookie required
Tenant: Scoped via x-tenant-id header
Not yet implemented — returns no response.