Create product

POST/api/v1/inventory/products

Create a new product for the specified business. A connected Stripe account is not required; Stripe Catalog sync happens later when variants are added with Stripe connected.

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

namestringrequired

Product name displayed to customers.

typestringrequired

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

categorystring

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

tracks_expirationboolean

When true, cost-lot consumption uses FEFO (earliest expiration first) instead of FIFO. Defaults to false.

Responses

201Successful Response

successboolean
messagestring
codestring
dataProductResponse

400Bad request - invalid data

404Business not found

409Product with same identifier already exists

422Validation error