Skip to main content

household_biz.can_start_day_business

Overview

  • Checks whether a household business can start its daily operation, with failure reasons if not.

Metadata

FieldValue
DisplayCan Start Day Business
Categoryhousehold_biz
AccessPublic
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
household_biz_identityIdno—Target HouseholdBiz entity id (default: possessed)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
can_startboolyesWhether the business can start today
fail_reasonsarray<string>yesReasons preventing start (empty if can_start)
missing_required_object_idsarray<name>yesRequired business object data ids currently missing from the restaurant site

Usage

await inzoi.cli.execute('household_biz.can_start_day_business', {
household_biz_id: 0, // optional
});