201Successful Response
Schema: SuccessEnvelope_VariantResponse_
successbooleanmessagestringcodestringdataVariantResponse
/api/v1/inventory/products/variantsCreate a new product variant. When the business has Stripe connected, the variant is mirrored to Stripe Catalog (Product + Price); otherwise the variant is created locally with empty Stripe IDs and can be synced later.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: VariantCreateRequest
product_idstringUUID of the parent product this variant belongs to.
unit_priceintegerSale price in cents (e.g., 2999 = $29.99).
unit_costintegerCost price in cents for margin calculations.
unit_cost_precisenumberPrecise unit cost in dollars with sub-cent precision (e.g. 0.0478 for $0.0478/gram).
namestringVariant name (e.g., 'Large - Blue').
skustringStock Keeping Unit - unique identifier for inventory.
manufacturer_skustringManufacturer's SKU for supplier ordering.
barcodestringScannable barcode (UPC/EAN/QR). Distinct from SKU.
uomstringUnit of measure: EA, LB, G, KG, OZ, L, ML, etc.
default_vendor_idstringUUID of the preferred vendor for this variant.
initial_inventory_quantityintegerStarting inventory quantity.
initial_inventory_quantity_datestring · date-timeDate for the initial inventory count (ISO 8601).
Schema: SuccessEnvelope_VariantResponse_
successbooleanmessagestringcodestringdataVariantResponse