# Create inventory requirement Creates a new Inventory Requirement record. Inventory Requirement resource in the Animal Health Data Store Endpoint: POST /site/{siteId}/ahds/v1/inventory-requirement Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Request fields (application/json): - `availableQuantity` (number) Current available quantity of the product at the specified location. - `extensions` (object) Vendor- or practice-specific extensions to the inventory requirement. - `inventoryRequirementId` (string, required) Canonical identifier for this inventory requirement record. Example: "123e4567-e89b-12d3-a456-426614174000" - `locationId` (string) Identifier of the location (e.g., clinic, warehouse) where this requirement applies. Example: "123e4567-e89b-12d3-a456-426614174000" - `minimumQuantity` (number) Minimum quantity threshold at which the product should be reordered. - `productCode` (string) Practice-specific product code or SKU. - `productDisplay` (string) Human-readable name of the product for display purposes. - `productId` (string, required) Identifier of the product this inventory requirement applies to. Example: "123e4567-e89b-12d3-a456-426614174000" - `requiredQuantity` (number) Target quantity to have on hand at the specified location. ## Response 201 fields (application/json): - `availableQuantity` (number, required) Current available quantity of the product at the specified location. - `createdAt` (string, required) Timestamp when this inventory requirement record was created. Example: "2025-01-01T00:00:00.000Z" - `extensions` (object, required) Vendor- or practice-specific extensions to the inventory requirement. - `inventoryRequirementId` (string, required) Canonical identifier for this inventory requirement record. Example: "123e4567-e89b-12d3-a456-426614174000" - `locationId` (string, required) Identifier of the location (e.g., clinic, warehouse) where this requirement applies. Example: "123e4567-e89b-12d3-a456-426614174000" - `minimumQuantity` (number, required) Minimum quantity threshold at which the product should be reordered. - `productCode` (string, required) Practice-specific product code or SKU. - `productDisplay` (string, required) Human-readable name of the product for display purposes. - `productId` (string, required) Identifier of the product this inventory requirement applies to. Example: "123e4567-e89b-12d3-a456-426614174000" - `requiredQuantity` (number, required) Target quantity to have on hand at the specified location. - `updatedAt` (string, required) Timestamp when this inventory requirement record was last updated. Example: "2025-01-01T00:00:00.000Z" ## Response 400 fields ## Response 401 fields ## Response 409 fields