DRAFT → PUBLISHED → ARCHIVED lifecycle.
Base Path
Creator product endpoints use/api/v1/creator/id/{creatorId}/product. Public listing uses /api/v1/products.
Create a Product
Create Product Schema
Update a Product
PATCH merges the provided fields into the existing product. This endpoint also handles attributes, media, supply, shipping config, and point eligibility.
Update Schema (all fields optional)
Media
Each product requires 1–5 media items. The first item (order0) is the hero image.
Attribute Variants
Products support configurable attributes for variant selection. Each attribute has a name, type, and array of variants with independent pricing and inventory.price (in cents, replaces the base price when selected) and independent supply tracking. When a user selects variants at checkout, the selectedAttributes are stored on the order item.
Variant Schema
Product Lifecycle
Products move through three statuses:Publish a Product
Transitions aDRAFT product to PUBLISHED, making it visible in public listings.
Restore an Archived Product
Returns anARCHIVED product to DRAFT status.
Purge a Product
Permanently deletes anARCHIVED product. This is irreversible.
Get and List Products
Get a Single Product
DRAFT, PUBLISHED, ARCHIVED).
Get Product by Slug
List Creator Products
List Published Products (Public)
PUBLISHED products. Supports cursor-based pagination and category filtering.
Delete (Archive) a Product
ARCHIVED status. Use /restore to bring it back, or /purge to permanently delete.

