200Successful Response
Schema: SuccessEnvelope_BusinessResponse_
successbooleanmessagestringcodestringdataBusinessResponse
/api/v1/businesses/{business_id}Update business details.
This endpoint supports updating standard business information including:
Note: This endpoint updates business details only.
Args: business_id (str): The ID of the business to update. payload (BusinessUpdateRequest): The updated business details.
Returns: BusinessResponse: The updated business details.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredSchema: BusinessUpdateRequest
namestringBusiness display name.
logo_urlstringURL to business logo/avatar image.
default_currencystringDefault currency for the business (USD, CAD, AUD, EUR, or GBP).
tax_year_end_monthintegerMonth when the tax/fiscal year ends (1-12).
accounting_basisstringAccounting basis: 'cash' or 'accrual'. Changes sync to Teal.
mailboxstringEmail prefix for bill forwarding.
inventory_modestringInventory module flavor: 'cpg' exposes the Supply Chain map, production recipes, and landed COGS; 'finished_goods' hides the CPG-only surfaces.
Schema: SuccessEnvelope_BusinessResponse_
successbooleanmessagestringcodestringdataBusinessResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject