household_biz.get_info
Overview
- Returns core business info (template, fees, work time, level, operating state).
Metadata
| Field | Value |
|---|---|
| Display | Get HouseholdBiz Info |
| Category | household_biz |
| Access | Public |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| household_biz_id | entityId | no | — | Target HouseholdBiz entity id (default: possessed character's managed/located business) |
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
household_biz_id | entityId | yes | HouseholdBiz entity id |
template_id | string | yes | Business template id |
template_type | string | yes | Template classification (General/Restaurant) |
entrance_fee_type | string | yes | Entrance fee type enum name |
price_policy_type | string | yes | Price policy type enum name |
purchase_payment_method | string | yes | Purchase payment method enum name |
work_days | array<string> | yes | Work days of week |
work_start_hhmm | int | yes | Work start time (HHMM) |
work_end_hhmm | int | yes | Work end time (HHMM) |
level | int | yes | Business level |
exp | int | yes | Business exp |
is_operating | bool | yes | Whether currently operating |
biz_manager_entity_id | entityId | yes | Business manager entity id |
site_entity_id | entityId | yes | Site entity id |
Usage
await inzoi.cli.execute('household_biz.get_info', {
household_biz_id: 0, // optional
});