Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Whether this supplier is the default supplier for the product.
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": "CODE-001",
"supplierContactId": "123e4567-e89b-12d3-a456-426614174000",
"taxRateId": "123e4567-e89b-12d3-a456-426614174000",
"unitOfMeasure": "example",
"unitsPerOuter": 1.23
}'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.
Whether this product-supplier relationship is currently active.
Whether this supplier is the default supplier for the product.
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').
Number of sellable units contained in one outer/pack from this supplier.
{ "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": "CODE-001", "supplierContactId": "123e4567-e89b-12d3-a456-426614174000", "taxRateId": "123e4567-e89b-12d3-a456-426614174000", "unitOfMeasure": "example", "unitsPerOuter": 1.23, "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.
Whether this product-supplier relationship is currently active.
Whether this supplier is the default supplier for the product.
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": "CODE-001",
"supplierContactId": "123e4567-e89b-12d3-a456-426614174000",
"taxRateId": "123e4567-e89b-12d3-a456-426614174000",
"unitOfMeasure": "example",
"unitsPerOuter": 1.23
}'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.
Whether this product-supplier relationship is currently active.
Whether this supplier is the default supplier for the product.
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').
Number of sellable units contained in one outer/pack from this supplier.
{ "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": "CODE-001", "supplierContactId": "123e4567-e89b-12d3-a456-426614174000", "taxRateId": "123e4567-e89b-12d3-a456-426614174000", "unitOfMeasure": "example", "unitsPerOuter": 1.23, "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>'