Update product

PUT/api/v1/inventory/products/{id}

Update an existing product.

Operation ID: update_product_api_v1_inventory_products__id__put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

idstring · uuidrequired

Query

include_variantsbooleandefault: False

Whether to include variant details

Request body

idstring

Product UUID (set from URL path).

namestring

Updated product name.

typestring

Updated product type: 'manual' or 'shopify'.

categorystring

Updated product category.

tracks_expirationboolean

Toggle FEFO consumption + expiry capture. Existing cost lots are not touched -- only future receipts and consumption.

archivedboolean

Set to true to archive (hide) the product.

Responses

200Successful Response

successboolean
messagestring
codestring
dataProductResponse

400Bad request - invalid data

404Business or product not found

422Validation error