Seed default inventory categories
Populates the organization with preset inventory categories based on the organization type (lab or clinic). This is idempotent and will not re-seed if already done.
Populates the organization with preset inventory categories based on the organization type (lab or clinic). This is idempotent and will not re-seed if already done.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Response Body
application/json
application/json
curl -X POST "https://example.com/inventory/categories/seed"{ "data": { "alreadySeeded": true, "seeded": 0 }}{ "data": { "seeded": 0 }}Seed default adjustment reasons POST
Populates the organization with a default set of stock adjustment reasons (e.g. damaged, expired, manual correction). This is idempotent and will not re-seed if already done.
Send a purchase order POST
Transitions a draft purchase order to 'sent' status and records the order date. Only draft orders can be sent.