Create a supplier
Creates a new supplier record for the organization, including contact details, payment terms, and delivery preferences.
Creates a new supplier record for the organization, including contact details, payment terms, and delivery preferences.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/inventory/suppliers" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "data": { "id": "string", "organizationId": "string", "name": "string", "code": "string", "country": "string", "currency": "string", "isActive": true, "createdAt": "string", "updatedAt": "string", "property1": null, "property2": null }}Create a stock adjustment POST
Records a manual stock adjustment for an inventory item. The quantity change can be positive (adding stock) or negative (removing stock). The item's current quantity is updated atomically.
Delete an adjustment reason DELETE
Permanently deletes a custom stock adjustment reason. System-provided reasons cannot be deleted.