201Successful Response
Schema: SuccessEnvelope_CatalogItemResponse_
successbooleanmessagestringcodestringdataCatalogItemResponse
/api/v1/catalog-itemsCreate a new Products & Services catalog item.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: CatalogItemCreateRequest
namestringrequiredItem name.
item_typestringOne of: service, non_inventory, inventory, bundle.
skustringOptional SKU/code.
descriptionstringDefault sales description for line items.
unit_priceintegerDefault sales price in cents (e.g. 15000 = $150.00).
purchase_costintegerDefault purchase cost in cents.
is_soldbooleanItem is available on sales documents.
is_purchasedbooleanItem is available on purchase documents.
taxablebooleanItem is taxable by default.
income_ledger_idstringRevenue ledger account used when this item is sold.
expense_ledger_idstringExpense ledger account used when this item is purchased.
Schema: SuccessEnvelope_CatalogItemResponse_
successbooleanmessagestringcodestringdataCatalogItemResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject