Creates a new Product Minimum Stock record. Product Minimum Stock resource in the Animal Health Data Store
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
The minimum level of stock allowed before a purchase order is required.
Reference to the product this minimum stock configuration applies to.
Canonical identifier for this product minimum stock configuration.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/product-minimum-stock
curl -i -X POST \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"effectiveEndDate": "2025-01-01",
"effectiveStartDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000",
"minimumStockQuantity": {
"value": 1.5,
"unit": "km",
"system": "http://unitsofmeasure.org"
},
"productId": "123e4567-e89b-12d3-a456-426614174000",
"productMinimumStockId": "123e4567-e89b-12d3-a456-426614174000",
"reorderQuantityExpression": "example",
"shouldReorderToMaxLevel": true
}'Product Minimum Stock created successfully
Timestamp when this record was created.
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
The minimum level of stock allowed before a purchase order is required.
Reference to the product this minimum stock configuration applies to.
Canonical identifier for this product minimum stock configuration.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
If true, reorder so that quantity on hand reaches the target maximum level; if false, reorder at least the suggested quantity.
{ "createdAt": "2025-01-01T00:00:00.000Z", "effectiveEndDate": "2025-01-01T00:00:00Z", "effectiveStartDate": "2025-01-01T00:00:00Z", "extensions": {}, "isActive": true, "locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000", "minimumStockQuantity": { "value": 1.5, "unit": "km", "system": "http://unitsofmeasure.org" }, "productId": "123e4567-e89b-12d3-a456-426614174000", "productMinimumStockId": "123e4567-e89b-12d3-a456-426614174000", "reorderQuantityExpression": "example", "shouldReorderToMaxLevel": true, "updatedAt": "2025-01-01T00:00:00.000Z" }