Create Business Menu
API operation: Open the endpoint in Scalar
Use POST /business/{business_id}/menus to create a menu for one business. The operation documented here is Menu.register.
The documented schema restricts creation to administrators and business managers. A business manager can act only through businesses associated with that user.
Menu creation can include products, schedule behavior, sharing, and availability controls. A schedule is required unless use_business_schedule is enabled.
Legacy SDK example
const response = await ordering.businesses(businessId).menus().save(data)
Confirm the SDK package and version before using this helper.
OpenAPI reference
Operation: POST /business/{business_id}/menus
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
business_id | integer | Yes | — |
Request body fields
| Name | Type | Required |
|---|---|---|
all_products | any | No |
products | any | No |
schedule | any | No |
shared | any | No |
snooze_until | any | No |
snooze_until_data | array<string> | No |
use_business_schedule | any | No |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |