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

id string · uuid required

Query

include_variants boolean default: False

Whether to include variant details

Request body

id string

Product UUID (set from URL path).

name string

Updated product name.

type string

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

category string

Updated product category.

archived boolean

Set to true to archive (hide) the product.

Responses

200 Successful Response

id string required

Product UUID.

business_id string required

Business UUID.

created_at string · date-time required

Creation timestamp.

updated_at string · date-time required

Last update timestamp.

name string required

Product name.

type string required

Product type: 'manual' or 'shopify'.

category string

Product category (e.g. 'Finished Goods', 'Intermediate Goods', 'Ingredients').

stripe_product_id string

Stripe product ID if synced to Stripe.

shopify_product_id string

Shopify product ID if synced from Shopify.

archived boolean

Whether product is archived (hidden from lists).

variant_count integer

Number of variants this product has.

variants array · VariantResponse

List of product variants (when include_variants=true).

400 Bad request - invalid data

404 Business or product not found

422 Validation error