Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Canonical identifier for the inventory product.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-product
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"extensions": {},
"inventoryProductId": "123e4567-e89b-12d3-a456-426614174000",
"isBatchTracked": true,
"name": "string",
"unitQuantity": {
"value": 0,
"unit": "string",
"system": "string"
}
}'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "inventoryProductId": "123e4567-e89b-12d3-a456-426614174000", "isBatchTracked": true, "name": "string", "unitQuantity": { "value": 0, "unit": "string", "system": "string" }, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-product
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&code=string&isBatchTracked=true&name=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "inventoryProductId": "123e4567-e89b-12d3-a456-426614174000", "isBatchTracked": true, "name": "string", "unitQuantity": { "value": 0, "unit": "string", "system": "string" }, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"extensions": {},
"isBatchTracked": true,
"name": "string",
"unitQuantity": {
"value": 0,
"unit": "string",
"system": "string"
}
}'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "inventoryProductId": "123e4567-e89b-12d3-a456-426614174000", "isBatchTracked": true, "name": "string", "unitQuantity": { "value": 0, "unit": "string", "system": "string" }, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"extensions": {},
"isBatchTracked": true,
"name": "string",
"unitQuantity": {
"value": 0,
"unit": "string",
"system": "string"
}
}'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "inventoryProductId": "123e4567-e89b-12d3-a456-426614174000", "isBatchTracked": true, "name": "string", "unitQuantity": { "value": 0, "unit": "string", "system": "string" }, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-product/{inventoryProductId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'