Create product

POST /api/v1/inventory/products

Create a new product for the specified business.

Operation ID: create_product_api_v1_inventory_products_post · 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.

Request body

name string

Product name displayed to customers.

type string

Product source type: 'manual' (created here) or 'shopify' (synced).

category string

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

Responses

201 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 or missing Stripe account

404 Business not found

409 Product with same identifier already exists

422 Validation error