Console
Build the fixture chain by hand — user, product, payment method, order — and watch what fails when a dependency is missing.
API reference
POST /api/scenarios/workspaces/:workspaceId/users
body { name } → { user } — no dependencies
POST /api/scenarios/workspaces/:workspaceId/products
body { name, price } → { product } — no dependencies
POST /api/scenarios/workspaces/:workspaceId/payment-methods
body { userId, last4 } → { paymentMethod }, or 400 user_not_found if that user doesn't exist yet
POST /api/scenarios/workspaces/:workspaceId/orders
body { userId, productId, paymentMethodId } → { order }, or 400 naming the first missing dependency
POST /api/scenarios/workspaces/:workspaceId/seed-fixtures
no body — shortcut that creates a valid user → payment method → product chain in one call
curl -X POST https://playground.krishanchawla.com/api/scenarios/workspaces/<workspaceId>/orders -H "Content-Type: application/json" -d '{"userId":"nope","productId":"nope","paymentMethodId":"nope"}' # fails first
curl -X POST https://playground.krishanchawla.com/api/scenarios/workspaces/<workspaceId>/seed-fixtures # or skip straight to a working set