Fully replaces an existing Inventory Requirement. All fields must be provided.
Current available quantity of the product at the specified location.
Identifier of the location (e.g., clinic, warehouse) where this requirement applies.
Minimum quantity threshold at which the product should be reordered.
Human-readable name of the product for display purposes.
Identifier of the product this inventory requirement applies to.
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-requirement/{inventoryRequirementId}
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/inventory-requirement/{inventoryRequirementId}
curl -i -X PUT \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-requirement/{inventoryRequirementId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"availableQuantity": 1.23,
"extensions": {},
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"minimumQuantity": 1.23,
"productCode": "CODE-001",
"productDisplay": "Example Name",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"requiredQuantity": 1.23
}'Inventory Requirement replaced successfully
Current available quantity of the product at the specified location.
Timestamp when this inventory requirement record was created.
Canonical identifier for this inventory requirement record.
Identifier of the location (e.g., clinic, warehouse) where this requirement applies.
Minimum quantity threshold at which the product should be reordered.
Human-readable name of the product for display purposes.
Identifier of the product this inventory requirement applies to.
Target quantity to have on hand at the specified location.
{ "availableQuantity": 1.23, "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "inventoryRequirementId": "123e4567-e89b-12d3-a456-426614174000", "locationId": "123e4567-e89b-12d3-a456-426614174000", "minimumQuantity": 1.23, "productCode": "CODE-001", "productDisplay": "Example Name", "productId": "123e4567-e89b-12d3-a456-426614174000", "requiredQuantity": 1.23, "updatedAt": "2025-01-01T00:00:00.000Z" }