Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Quantity of product invoiced. May represent outers or units depending on supplier configuration.
Identifier of the receive invoice this item belongs to.
Canonical identifier for this receive invoice item.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice-item
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice-item
- 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/receive-invoice-item' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"batches": [
{
"batchId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"expiryDate": "2025-01-01",
"isActive": true,
"name": "string",
"quantity": 0,
"type": "string",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"comments": "string",
"extensions": {},
"isActive": true,
"lineTotal": "100.00",
"lineTotalTax": "100.00",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"productSupplierId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderItemId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000",
"receiveInvoiceItemId": "123e4567-e89b-12d3-a456-426614174000",
"supplierCode": "string",
"taxCode": "string",
"taxRate": 0,
"unitPrice": "100.00",
"unitTaxAmount": "100.00"
}'Receive Invoice Item created successfully
Batch/lot information associated with this receive invoice item.
Identifier of the batch record.
Timestamp when this batch record was created.
Quantity from this batch associated with the receive invoice item.
Timestamp when this receive invoice item was created.
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Quantity of product invoiced. May represent outers or units depending on supplier configuration.
Identifier of the receive invoice this item belongs to.
Canonical identifier for this receive invoice item.
Tax rate applied to this line, expressed as a percentage (e.g., 15 for 15%).
{ "batches": [ { … } ], "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "lineTotal": "100.00", "lineTotalTax": "100.00", "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderItemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "receiveInvoiceItemId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "taxCode": "string", "taxRate": 0, "unitPrice": "100.00", "unitTaxAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
Field to sort by
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Identifier of the receive invoice this item belongs to.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice-item
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice-item
- 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/receive-invoice-item?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&comments=string&isActive=true&locationId=123e4567-e89b-12d3-a456-426614174000&name=string&ownershipId=123e4567-e89b-12d3-a456-426614174000&productId=123e4567-e89b-12d3-a456-426614174000&productSupplierId=123e4567-e89b-12d3-a456-426614174000&purchaseOrderItemId=123e4567-e89b-12d3-a456-426614174000&receiveInvoiceId=123e4567-e89b-12d3-a456-426614174000&supplierCode=string&taxCode=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- 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/receive-invoice-item/{receiveInvoiceItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Receive Invoice Item found
Batch/lot information associated with this receive invoice item.
Identifier of the batch record.
Timestamp when this batch record was created.
Quantity from this batch associated with the receive invoice item.
Timestamp when this receive invoice item was created.
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Quantity of product invoiced. May represent outers or units depending on supplier configuration.
Identifier of the receive invoice this item belongs to.
Canonical identifier for this receive invoice item.
Tax rate applied to this line, expressed as a percentage (e.g., 15 for 15%).
{ "batches": [ { … } ], "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "lineTotal": "100.00", "lineTotalTax": "100.00", "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderItemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "receiveInvoiceItemId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "taxCode": "string", "taxRate": 0, "unitPrice": "100.00", "unitTaxAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Quantity of product invoiced. May represent outers or units depending on supplier configuration.
Identifier of the receive invoice this item belongs to.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- 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/receive-invoice-item/{receiveInvoiceItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"batches": [
{
"batchId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"expiryDate": "2025-01-01",
"isActive": true,
"name": "string",
"quantity": 0,
"type": "string",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"comments": "string",
"extensions": {},
"isActive": true,
"lineTotal": "100.00",
"lineTotalTax": "100.00",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"productSupplierId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderItemId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000",
"supplierCode": "string",
"taxCode": "string",
"taxRate": 0,
"unitPrice": "100.00",
"unitTaxAmount": "100.00"
}'Receive Invoice Item updated successfully
Batch/lot information associated with this receive invoice item.
Identifier of the batch record.
Timestamp when this batch record was created.
Quantity from this batch associated with the receive invoice item.
Timestamp when this receive invoice item was created.
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Quantity of product invoiced. May represent outers or units depending on supplier configuration.
Identifier of the receive invoice this item belongs to.
Canonical identifier for this receive invoice item.
Tax rate applied to this line, expressed as a percentage (e.g., 15 for 15%).
{ "batches": [ { … } ], "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "lineTotal": "100.00", "lineTotalTax": "100.00", "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderItemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "receiveInvoiceItemId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "taxCode": "string", "taxRate": 0, "unitPrice": "100.00", "unitTaxAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
Batch/lot information associated with this receive invoice item.
Identifier of the batch record.
Timestamp when this batch record was created.
Quantity from this batch associated with the receive invoice item.
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Quantity of product invoiced. May represent outers or units depending on supplier configuration.
Identifier of the receive invoice this item belongs to.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- 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/receive-invoice-item/{receiveInvoiceItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"batches": [
{
"batchId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"expiryDate": "2025-01-01",
"isActive": true,
"name": "string",
"quantity": 0,
"type": "string",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"comments": "string",
"extensions": {},
"isActive": true,
"lineTotal": "100.00",
"lineTotalTax": "100.00",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"productSupplierId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderItemId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000",
"supplierCode": "string",
"taxCode": "string",
"taxRate": 0,
"unitPrice": "100.00",
"unitTaxAmount": "100.00"
}'Receive Invoice Item replaced successfully
Batch/lot information associated with this receive invoice item.
Identifier of the batch record.
Timestamp when this batch record was created.
Quantity from this batch associated with the receive invoice item.
Timestamp when this receive invoice item was created.
Identifier of the inventory location associated with this item.
Identifier of the ownership separation this item belongs to.
Identifier of the product on this receive invoice item.
Identifier of the product-supplier relationship for this item.
Identifier of the related purchase order item, if any.
Quantity of product invoiced. May represent outers or units depending on supplier configuration.
Identifier of the receive invoice this item belongs to.
Canonical identifier for this receive invoice item.
Tax rate applied to this line, expressed as a percentage (e.g., 15 for 15%).
{ "batches": [ { … } ], "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "lineTotal": "100.00", "lineTotalTax": "100.00", "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderItemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "receiveInvoiceId": "123e4567-e89b-12d3-a456-426614174000", "receiveInvoiceItemId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "taxCode": "string", "taxRate": 0, "unitPrice": "100.00", "unitTaxAmount": "100.00", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/receive-invoice-item/{receiveInvoiceItemId}
- 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/receive-invoice-item/{receiveInvoiceItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'