Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Contracted unit price from this supplier, as a decimal string.
Expected unit price from this supplier, as a decimal string.
Timestamp of the last update received from the supplier for this product, if known.
Supplier list price, as a decimal string. May be null if unknown.
Reference to the product associated with this supplier relationship.
Canonical identifier for this product-supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
Unit of measure used by this supplier for pricing and ordering (e.g., 'box', 'vial').
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-supplier
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-supplier
- 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/product-supplier' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contractPrice": "100.00",
"expectedPrice": "100.00",
"extensions": {},
"isActive": true,
"isDefaultSupplier": true,
"lastSupplierUpdateAt": "2025-01-01T00:00:00.000Z",
"listPrice": "100.00",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"productSupplierId": "123e4567-e89b-12d3-a456-426614174000",
"supplierCode": "string",
"supplierContactId": "123e4567-e89b-12d3-a456-426614174000",
"taxRateId": "123e4567-e89b-12d3-a456-426614174000",
"unitOfMeasure": "string",
"unitsPerOuter": 0
}'Product Supplier created successfully
Contracted unit price from this supplier, as a decimal string.
Timestamp when this product-supplier record was created.
Expected unit price from this supplier, as a decimal string.
Timestamp of the last update received from the supplier for this product, if known.
Supplier list price, as a decimal string. May be null if unknown.
Reference to the product associated with this supplier relationship.
Canonical identifier for this product-supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
Unit of measure used by this supplier for pricing and ordering (e.g., 'box', 'vial').
{ "contractPrice": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "expectedPrice": "100.00", "extensions": {}, "isActive": true, "isDefaultSupplier": true, "lastSupplierUpdateAt": "2025-01-01T00:00:00.000Z", "listPrice": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "supplierContactId": "123e4567-e89b-12d3-a456-426614174000", "taxRateId": "123e4567-e89b-12d3-a456-426614174000", "unitOfMeasure": "string", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
Field to sort by
Reference to the product associated with this supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-supplier
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-supplier
- 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/product-supplier?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&isActive=true&isDefaultSupplier=true&productId=123e4567-e89b-12d3-a456-426614174000&supplierCode=string&supplierContactId=123e4567-e89b-12d3-a456-426614174000&taxRateId=123e4567-e89b-12d3-a456-426614174000&unitOfMeasure=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- 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/product-supplier/{productSupplierId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Product Supplier found
Contracted unit price from this supplier, as a decimal string.
Timestamp when this product-supplier record was created.
Expected unit price from this supplier, as a decimal string.
Timestamp of the last update received from the supplier for this product, if known.
Supplier list price, as a decimal string. May be null if unknown.
Reference to the product associated with this supplier relationship.
Canonical identifier for this product-supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
Unit of measure used by this supplier for pricing and ordering (e.g., 'box', 'vial').
{ "contractPrice": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "expectedPrice": "100.00", "extensions": {}, "isActive": true, "isDefaultSupplier": true, "lastSupplierUpdateAt": "2025-01-01T00:00:00.000Z", "listPrice": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "supplierContactId": "123e4567-e89b-12d3-a456-426614174000", "taxRateId": "123e4567-e89b-12d3-a456-426614174000", "unitOfMeasure": "string", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
Timestamp of the last update received from the supplier for this product, if known.
Supplier list price, as a decimal string. May be null if unknown.
Reference to the product associated with this supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
Unit of measure used by this supplier for pricing and ordering (e.g., 'box', 'vial').
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- 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/product-supplier/{productSupplierId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contractPrice": "100.00",
"expectedPrice": "100.00",
"extensions": {},
"isActive": true,
"isDefaultSupplier": true,
"lastSupplierUpdateAt": "2025-01-01T00:00:00.000Z",
"listPrice": "100.00",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"supplierCode": "string",
"supplierContactId": "123e4567-e89b-12d3-a456-426614174000",
"taxRateId": "123e4567-e89b-12d3-a456-426614174000",
"unitOfMeasure": "string",
"unitsPerOuter": 0
}'Product Supplier updated successfully
Contracted unit price from this supplier, as a decimal string.
Timestamp when this product-supplier record was created.
Expected unit price from this supplier, as a decimal string.
Timestamp of the last update received from the supplier for this product, if known.
Supplier list price, as a decimal string. May be null if unknown.
Reference to the product associated with this supplier relationship.
Canonical identifier for this product-supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
Unit of measure used by this supplier for pricing and ordering (e.g., 'box', 'vial').
{ "contractPrice": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "expectedPrice": "100.00", "extensions": {}, "isActive": true, "isDefaultSupplier": true, "lastSupplierUpdateAt": "2025-01-01T00:00:00.000Z", "listPrice": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "supplierContactId": "123e4567-e89b-12d3-a456-426614174000", "taxRateId": "123e4567-e89b-12d3-a456-426614174000", "unitOfMeasure": "string", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
Contracted unit price from this supplier, as a decimal string.
Expected unit price from this supplier, as a decimal string.
Timestamp of the last update received from the supplier for this product, if known.
Supplier list price, as a decimal string. May be null if unknown.
Reference to the product associated with this supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
Unit of measure used by this supplier for pricing and ordering (e.g., 'box', 'vial').
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- 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/product-supplier/{productSupplierId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contractPrice": "100.00",
"expectedPrice": "100.00",
"extensions": {},
"isActive": true,
"isDefaultSupplier": true,
"lastSupplierUpdateAt": "2025-01-01T00:00:00.000Z",
"listPrice": "100.00",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"supplierCode": "string",
"supplierContactId": "123e4567-e89b-12d3-a456-426614174000",
"taxRateId": "123e4567-e89b-12d3-a456-426614174000",
"unitOfMeasure": "string",
"unitsPerOuter": 0
}'Product Supplier replaced successfully
Contracted unit price from this supplier, as a decimal string.
Timestamp when this product-supplier record was created.
Expected unit price from this supplier, as a decimal string.
Timestamp of the last update received from the supplier for this product, if known.
Supplier list price, as a decimal string. May be null if unknown.
Reference to the product associated with this supplier relationship.
Canonical identifier for this product-supplier relationship.
Reference to the supplier contact entity.
Reference to the tax rate applied to this product when supplied by this supplier.
Unit of measure used by this supplier for pricing and ordering (e.g., 'box', 'vial').
{ "contractPrice": "100.00", "createdAt": "2025-01-01T00:00:00.000Z", "expectedPrice": "100.00", "extensions": {}, "isActive": true, "isDefaultSupplier": true, "lastSupplierUpdateAt": "2025-01-01T00:00:00.000Z", "listPrice": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "productSupplierId": "123e4567-e89b-12d3-a456-426614174000", "supplierCode": "string", "supplierContactId": "123e4567-e89b-12d3-a456-426614174000", "taxRateId": "123e4567-e89b-12d3-a456-426614174000", "unitOfMeasure": "string", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-supplier/{productSupplierId}
- 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/product-supplier/{productSupplierId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'