{"id":978,"date":"2026-11-24T13:19:48","date_gmt":"2026-11-24T13:19:48","guid":{"rendered":"https:\/\/apioptim.com\/milk-collection\/"},"modified":"2026-11-26T11:33:58","modified_gmt":"2026-11-26T11:33:58","slug":"milk-collection","status":"publish","type":"page","link":"https:\/\/apioptim.com\/en\/milk-collection\/","title":{"rendered":"Milk collection"},"content":{"rendered":"\n<section class=\"wp-block-group alignfull has-main-color has-base-background-color has-text-color has-background has-link-color wp-elements-1 has-global-padding is-layout-constrained wp-container-core-group-is-layout-7b33f2af wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<p class=\"alignwide apo-breadcrumb wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Industries<\/mark> \u203a Milk collection<\/p>\n\n\n\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-60fdf410 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-container-core-column-is-layout-ad406c26 wp-block-column-is-layout-flow\" style=\"flex-basis:52%\">\n<p class=\"apo-eyebrow wp-block-paragraph\">Milk collection \u00b7 compartmentalised insulated tankers<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Add route optimisation to your software <em>for milk collection.<\/em><\/h1>\n\n\n\n<p class=\"has-secondary-color has-text-color has-base-font-size wp-block-paragraph\">Help your customers make full use of their tankers\u2019 capacity, even with compartments of different volumes. API Optim assigns each type of milk to the right compartments and optimises the routes, from the first farm to unloading at the dairy.<\/p>\n\n\n\n<ul style=\"margin-top:var(--wp--preset--spacing--small)\" class=\"wp-block-list apo-checks apo-checks--hero\">\n<li>Global optimisation of collections and routes<\/li>\n\n\n\n<li>Compartment management and product downgrading<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\" style=\"margin-top:var(--wp--preset--spacing--small)\">\n<div class=\"wp-block-button apo-arrow\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/apioptim.com\/en\/book-a-demo\/\">Request a demo<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline apo-arrow apo-arrow--external is-style-outline--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/api-optim.sinari.com\/doc\/mpt\/docs\/mpt\/\" target=\"_blank\" rel=\"noopener\">Read the documentation<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:48%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1198\" height=\"1016\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-tanker-optimisation.webp\" alt=\"API Optim JSON request describing an insulated tanker with three compartments, with the volume of organic and conventional milk assigned to each\" class=\"wp-image-987\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-tanker-optimisation.webp 1198w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-tanker-optimisation-300x254.webp 300w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-tanker-optimisation-1024x868.webp 1024w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-tanker-optimisation-768x651.webp 768w\" sizes=\"auto, (max-width: 1198px) 100vw, 1198px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignwide has-border-color has-main-accent-border-color has-tertiary-background-color has-background is-layout-grid wp-container-core-group-is-layout-b49a2892 wp-block-group-is-layout-grid\" style=\"border-width:1px;border-radius:20px;margin-top:var(--wp--preset--spacing--x-large);padding-top:var(--wp--preset--spacing--large);padding-right:var(--wp--preset--spacing--large);padding-bottom:var(--wp--preset--spacing--large);padding-left:var(--wp--preset--spacing--large)\">\n<div class=\"wp-block-group is-layout-flow wp-container-core-group-is-layout-78d85217 wp-block-group-is-layout-flow\">\n<p class=\"apo-stat wp-block-paragraph\">1 grade<\/p>\n\n\n\n<p class=\"has-secondary-color has-text-color has-small-font-size wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-main-color\">Per compartment:<\/mark><\/strong><br\/>milk types are never mixed in the calculation.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-container-core-group-is-layout-78d85217 wp-block-group-is-layout-flow\">\n<p class=\"apo-stat wp-block-paragraph\">Day and night<\/p>\n\n\n\n<p class=\"has-secondary-color has-text-color has-small-font-size wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-main-color\">Farm schedules:<\/mark><\/strong><br\/>collection time windows and drivers\u2019 night work taken into account.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-container-core-group-is-layout-78d85217 wp-block-group-is-layout-flow\">\n<p class=\"apo-stat wp-block-paragraph\">650 companies<\/p>\n\n\n\n<p class=\"has-secondary-color has-text-color has-small-font-size wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-main-color\">already use our route optimisation engine,<\/mark><\/strong><br\/>across all industries.<\/p>\n<\/div>\n<\/div>\n<\/section>\n\n<section class=\"wp-block-group alignfull has-main-color has-base-background-color has-text-color has-background has-link-color wp-elements-2 has-global-padding is-layout-constrained wp-container-core-group-is-layout-6097bdb0 wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--xx-large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<p class=\"alignwide apo-eyebrow wp-block-paragraph\">The challenges of milk collection<\/p>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-7e37c0c9 wp-block-columns-is-layout-flex\" style=\"margin-top:var(--wp--preset--spacing--small)\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:47%\">\n<h2 class=\"wp-block-heading\">Every litre collected <em>depends on how your customers are organised.<\/em><\/h2>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:53%\">\n<p class=\"has-secondary-color has-text-color has-base-font-size wp-block-paragraph\">Collecting raw milk from dozens of farms, often at night and within the cold chain, leaves little room for improvisation. With volumes changing every day, separate milk streams and tanker capacities, a poor allocation can mean going back to a farm or sending an extra vehicle.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignwide is-layout-grid wp-container-core-group-is-layout-aaf97638 wp-block-group-is-layout-grid\">\n<div class=\"wp-block-group has-border-color has-main-accent-border-color has-base-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\" style=\"margin-bottom:var(--wp--preset--spacing--medium)\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"153\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-volumes-horaires.webp\" alt=\"\" class=\"wp-image-552\" style=\"width:51px;height:auto\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-volumes-horaires.webp 153w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-volumes-horaires-150x150.webp 150w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Volumes and times that change every day<\/h3>\n\n\n\n<p class=\"has-secondary-color has-text-color has-small-font-size wp-block-paragraph\">Collected quantities vary by farm, by season and with the milking schedule, and collections often take place at night or early in the morning. Routes must follow these volumes and time windows without exceeding compartment capacities.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-main-accent-border-color has-base-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\" style=\"margin-bottom:var(--wp--preset--spacing--medium)\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"153\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-separation-filieres.webp\" alt=\"\" class=\"wp-image-550\" style=\"width:51px;height:auto\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-separation-filieres.webp 153w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-separation-filieres-150x150.webp 150w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Milk streams that must never be mixed<\/h3>\n\n\n\n<p class=\"has-secondary-color has-text-color has-small-font-size wp-block-paragraph\">Organic milk, conventional milk, PDO milk or other grades: every volume must go into a compatible compartment. Mixing can lead to downgrading and the loss of value of the milk collected from producers.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-main-accent-border-color has-base-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\" style=\"margin-bottom:var(--wp--preset--spacing--medium)\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"153\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-capacite-citernes.webp\" alt=\"\" class=\"wp-image-547\" style=\"width:51px;height:auto\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-capacite-citernes.webp 153w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-capacite-citernes-150x150.webp 150w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Tankers whose capacity is more than just the total<\/h3>\n\n\n\n<p class=\"has-secondary-color has-text-color has-small-font-size wp-block-paragraph\">Insulated tankers have compartments of equal or unequal volumes. Enough total capacity does not guarantee that every collection can be loaded: each compartment must be able to hold the volumes assigned to it.<\/p>\n<\/div>\n<\/div>\n<\/section>\n\n<section class=\"wp-block-group alignfull apo-dark has-base-color has-main-background-color has-text-color has-background has-link-color wp-elements-3 has-global-padding is-layout-constrained wp-container-core-group-is-layout-6097bdb0 wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--xx-large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<div class=\"wp-block-group alignwide has-global-padding is-content-justification-left is-layout-constrained wp-container-core-group-is-layout-62939d1b wp-block-group-is-layout-constrained\" style=\"margin-bottom:72px\">\n<p class=\"apo-eyebrow wp-block-paragraph\">Why API Optim?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Your collection software, <em>with the real tanker configuration.<\/em><\/h2>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-base-font-size wp-block-paragraph\">Does your collection software take into account the real configuration of your customers\u2019 tankers? With API Optim, the capacity of each compartment, milk grades, volumes and collection times all go into the same calculation.<\/p>\n<\/div>\n\n\n\n<figure class=\"wp-block-table alignwide apo-compare\"><table><thead><tr><th>Criterion<\/th><th>Without compartment management<\/th><th>With API Optim<\/th><\/tr><\/thead><tbody><tr><td>Tanker capacity<\/td><td>Only the vehicle\u2019s total capacity is taken into account.<\/td><td>Each compartment is taken into account with its actual capacity.<\/td><\/tr><tr><td>Compartment assignment<\/td><td>The allocation of milk grades may stay fixed.<\/td><td>The assignment is recalculated according to the volumes to collect.<\/td><\/tr><tr><td>Milk separation<\/td><td>Load compatibility requires a separate check.<\/td><td>Organic \/ conventional separation constraints are built into the calculation.<\/td><\/tr><tr><td>Collection times<\/td><td>Farm time windows are managed separately.<\/td><td>Farm schedules, night work and driving time built into the calculation.<\/td><\/tr><tr><td>Route optimisation<\/td><td>Loads and routes are calculated separately.<\/td><td>Compartment assignments and routes are optimised together.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"alignwide has-main-accent-color has-text-color has-x-small-font-size wp-block-paragraph\" style=\"margin-top:20px\">Illustrative comparison with management that does not take compartments into account in detail. Features vary between software products.<\/p>\n<\/section>\n\n<section class=\"wp-block-group alignfull has-main-color has-base-background-color has-text-color has-background has-link-color wp-elements-4 has-global-padding is-layout-constrained wp-container-core-group-is-layout-40f701bf wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--xx-large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-d554413d wp-block-group-is-layout-constrained\">\n<p class=\"has-text-align-center apo-eyebrow wp-block-paragraph\">Tanker optimisation<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Milk collections prepared <em>from the first farm to the dairy.<\/em><\/h2>\n\n\n\n<p class=\"has-text-align-center has-secondary-color has-text-color has-base-font-size wp-block-paragraph\">API Optim allocates milk volumes across the compartments of your customers\u2019 tankers while optimising the order of farm visits. Their teams get a usable result to prepare collections and organise unloading at the dairy.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide are-vertically-aligned-center apo-acc is-layout-flex wp-container-core-columns-is-layout-60fdf410 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center apo-acc__list is-layout-flow wp-container-core-column-is-layout-ea9f9df7 wp-block-column-is-layout-flow\" style=\"flex-basis:52%\">\n<details class=\"wp-block-details apo-acc__item--1 is-layout-flow wp-block-details-is-layout-flow\" name=\"apo-citernes\" open><summary>Every collection assigned to the right compartment<\/summary>\n<p class=\"wp-block-paragraph\">The engine takes into account the volumes to collect, tanker capacities and milk grade. It looks for an allocation that is compatible with the separation rules and the routes.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-acc__item--2 is-layout-flow wp-block-details-is-layout-flow\" name=\"apo-citernes\"><summary>The information needed for collection, farm by farm<\/summary>\n<p class=\"wp-block-paragraph\">For each route, your software retrieves the farms to visit, their visiting order and the assigned compartments. Time spent at the farm (connection, pumping, sampling) is taken into account according to the volume collected, as is the number of unloading bays available at the dairy. The compartment states returned by the API follow the collection through to unloading.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-acc__item--3 is-layout-flow wp-block-details-is-layout-flow\" name=\"apo-citernes\"><summary>Better use of a fleet of tankers and trailers<\/summary>\n<p class=\"wp-block-paragraph\">Compartment assignment adapts to the day\u2019s volumes. A collection that exceeds a tanker\u2019s capacity can be split across several routes, and trailers are managed: coupling, uncoupling and transferring milk from the rigid vehicle. Your customers thus reduce unused capacity and extra routes.<\/p>\n<\/details>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:48%\">\n<figure class=\"wp-block-image size-full apo-acc__img apo-acc__img--1\"><img loading=\"lazy\" decoding=\"async\" width=\"1108\" height=\"922\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-compartment-assignment.webp\" alt=\"Compartment assignment for a milk tanker: C1 8,000 L organic, C2 6,000 L conventional, C3 4,000 L organic, with their fill rates\" class=\"wp-image-992\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-compartment-assignment.webp 1108w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-compartment-assignment-300x250.webp 300w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-compartment-assignment-1024x852.webp 1024w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-compartment-assignment-768x639.webp 768w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full apo-acc__img apo-acc__img--2\"><img loading=\"lazy\" decoding=\"async\" width=\"1108\" height=\"922\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-collections-by-compartment.webp\" alt=\"API JSON response allocating collections by compartment: 3,800 L from the organic farm in the first, 5,200 L from the conventional farm in the second\" class=\"wp-image-988\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-collections-by-compartment.webp 1108w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-collections-by-compartment-300x250.webp 300w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-collections-by-compartment-1024x852.webp 1024w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-collections-by-compartment-768x639.webp 768w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full apo-acc__img apo-acc__img--3\"><img loading=\"lazy\" decoding=\"async\" width=\"1108\" height=\"922\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-tanker-fill-optimisation.webp\" alt=\"Tanker 07 filled to 94% with 16,900 L collected from 5 farms, with tanker 08 not used\" class=\"wp-image-993\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-tanker-fill-optimisation.webp 1108w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-tanker-fill-optimisation-300x250.webp 300w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-tanker-fill-optimisation-1024x852.webp 1024w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-tanker-fill-optimisation-768x639.webp 768w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" \/><\/figure>\n<\/div>\n<\/div>\n<\/section>\n\n<section class=\"wp-block-group alignfull apo-dark has-base-color has-main-background-color has-text-color has-background has-link-color wp-elements-5 has-global-padding is-layout-constrained wp-container-core-group-is-layout-6097bdb0 wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--xx-large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<div class=\"wp-block-group alignwide has-global-padding is-content-justification-left is-layout-constrained wp-container-core-group-is-layout-47f65997 wp-block-group-is-layout-constrained\">\n<p class=\"apo-eyebrow wp-block-paragraph\">An API designed for your business software<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Integrate collection optimisation <em>into your software in three steps.<\/em><\/h2>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-base-font-size wp-block-paragraph\">Your milk collection management software stays at the centre. API Optim calculates compartment assignment and routes, then returns results ready to use in your software.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignwide is-layout-grid wp-container-core-group-is-layout-aaf97638 wp-block-group-is-layout-grid\">\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full\" style=\"margin-bottom:var(--wp--preset--spacing--large)\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"470\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-compartment-configuration.webp\" alt=\"JSON request describing the compartment configuration of a milk tanker\" class=\"wp-image-990\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-compartment-configuration.webp 712w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-compartment-configuration-300x198.webp 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/figure>\n\n\n\n<p class=\"apo-mono has-primary-alt-color has-text-color wp-block-paragraph\">Step 1<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Send your customers\u2019 tankers, collections and constraints<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">Your software provides the farms to visit, the volumes of milk to collect, their grade and their times. It describes the compartments of the insulated tankers, by volume, weight or quantity, using the model <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-primary-alt-color\">compartCapacityAndAccessRule<\/mark>.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-primary-alt-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1.5px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full\" style=\"margin-bottom:var(--wp--preset--spacing--large)\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"470\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-assignment-optimisation.webp\" alt=\"Comparison between a fixed compartment assignment, rejected, and the day&#x2019;s assignment calculated by the API, selected\" class=\"wp-image-989\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-assignment-optimisation.webp 714w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-assignment-optimisation-300x197.webp 300w\" sizes=\"auto, (max-width: 714px) 100vw, 714px\" \/><\/figure>\n\n\n\n<p class=\"apo-mono has-primary-alt-color has-text-color wp-block-paragraph\">Step 2<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Let API Optim calculate the collection routes<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">The engine assigns volumes to compartments while respecting milk separation, farm time windows and driving times. At the same time, it optimises how farms are distributed between vehicles and their visiting order.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full\" style=\"margin-bottom:var(--wp--preset--spacing--large)\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"470\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-compartment-assignment-result.webp\" alt=\"API JSON response showing the state of the compartments at each stage of the route\" class=\"wp-image-991\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-compartment-assignment-result.webp 714w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/milk-collection-api-compartment-assignment-result-300x197.webp 300w\" sizes=\"auto, (max-width: 714px) 100vw, 714px\" \/><\/figure>\n\n\n\n<p class=\"apo-mono has-primary-alt-color has-text-color wp-block-paragraph\">Step 3<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Retrieve the routes and collection plans<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">Your software receives the routes, the visiting order and the compartment assignments. The <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-primary-alt-color\">truckCompartmentsStates<\/mark> data shows the state of the compartments at each stage. If a collection cannot be scheduled, the API gives the likely reasons.<\/p>\n<\/div>\n<\/div>\n<\/section>\n\n<section class=\"wp-block-group alignfull apo-dark has-base-color has-main-background-color has-text-color has-background has-link-color wp-elements-6 has-global-padding is-layout-constrained wp-container-core-group-is-layout-6097bdb0 wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--xx-large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<div class=\"wp-block-group alignwide has-global-padding is-content-justification-left is-layout-constrained wp-container-core-group-is-layout-47f65997 wp-block-group-is-layout-constrained\">\n<p class=\"apo-eyebrow wp-block-paragraph\">What your customers gain<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Lower collection costs, <em>a better-used fleet.<\/em><\/h2>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-base-font-size wp-block-paragraph\">Do your customers want to absorb variations in milk production without sending more lorries? By adapting compartments to the volumes collected and limiting unnecessary journeys, they gain concrete levers on the profitability of their routes.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignwide is-layout-grid wp-container-core-group-is-layout-aaf97638 wp-block-group-is-layout-grid\">\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\" style=\"margin-bottom:var(--wp--preset--spacing--medium)\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"153\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-optimisation-tournees.webp\" alt=\"\" class=\"wp-image-548\" style=\"width:51px;height:auto\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-optimisation-tournees.webp 153w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-optimisation-tournees-150x150.webp 150w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Fewer kilometres and night hours<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">Assigning farms to vehicles and optimising the visiting order reduces unnecessary journeys and night working time. Your customers cut fuel and collection costs.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\" style=\"margin-bottom:var(--wp--preset--spacing--medium)\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"153\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-securite.webp\" alt=\"\" class=\"wp-image-549\" style=\"width:51px;height:auto\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-securite.webp 153w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-securite-150x150.webp 150w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Milk value preserved<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">Separation rules between organic and conventional milk are respected from the route calculation onwards. The risk of mixing due to poor compartment assignment is reduced.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\" style=\"margin-bottom:var(--wp--preset--spacing--medium)\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"153\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-variations-volumes.webp\" alt=\"\" class=\"wp-image-551\" style=\"width:51px;height:auto\" srcset=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-variations-volumes.webp 153w, https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/collecte-lait-icone-variations-volumes-150x150.webp 150w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Lactation variations better absorbed<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">Routes adapt to the volumes sent for each farm, especially during production peaks. Better use of compartments can save your customers from sending extra vehicles.<\/p>\n<\/div>\n<\/div>\n<\/section>\n\n<section class=\"wp-block-group alignfull has-main-color has-base-background-color has-text-color has-background has-link-color wp-elements-7 has-global-padding is-layout-constrained wp-container-core-group-is-layout-ef74826b wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--xx-large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-eebd7b81 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-container-core-column-is-layout-ad406c26 wp-block-column-is-layout-flow\" style=\"flex-basis:36%\">\n<p class=\"apo-eyebrow wp-block-paragraph\">FAQ<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Your questions about <em>milk collection route optimisation.<\/em><\/h2>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\" style=\"margin-top:var(--wp--preset--spacing--small)\">\n<div class=\"wp-block-button is-style-outline apo-arrow is-style-outline--2\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/apioptim.com\/en\/contact\/\">Discuss my project<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-container-core-column-is-layout-6c6d749c wp-block-column-is-layout-flow\" style=\"flex-basis:64%\">\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\" open><summary>How can milk collection routes be optimised?<\/summary>\n<p class=\"wp-block-paragraph\">API Optim calculates routes taking into account the volumes to collect at each farm, the capacity of the tankers, collection times and milk separation rules. The engine looks for a compartment assignment and visiting order suited to your customers\u2019 constraints.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>Can organic and conventional milk be collected in the same tanker?<\/summary>\n<p class=\"wp-block-paragraph\">Yes, in separate compartments. An incompatibility rule prevents the two grades from sharing a compartment. It can also separate them at vehicle level, if your customer prefers dedicated routes for each stream.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>How do you manage tankers with compartments of different volumes?<\/summary>\n<p class=\"wp-block-paragraph\">Your software describes each compartment with its actual capacity. API Optim uses it to determine the volumes that can be assigned to it. Capacities are expressed in the unit of your choice for each calculation: volume, weight or quantity.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>Does the API take night collections into account?<\/summary>\n<p class=\"wp-block-paragraph\">Yes. Your software sends each farm\u2019s collection times, and drivers\u2019 night work and driving time rules are built into the route calculation.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>How can routes be adapted to collection volumes and frequencies?<\/summary>\n<p class=\"wp-block-paragraph\">For each calculation, send the farms to collect from and their expected volumes. Your business software selects the farms to visit according to their collection frequency, for example every two or three days. API Optim then builds the corresponding routes and compartment assignments.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>Can a collection be added to a route that is already planned?<\/summary>\n<p class=\"wp-block-paragraph\">Yes. The API can insert an operation into an existing route by looking for the best position, or evaluate a route modified by a planner.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>What happens if a collection cannot be scheduled?<\/summary>\n<p class=\"wp-block-paragraph\">The API flags unscheduled operations and can give their likely reasons, such as a missed time window or a farm too far from the route.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>Can API Optim integrate with my milk collection software?<\/summary>\n<p class=\"wp-block-paragraph\">Yes. API Optim works alongside an existing ERP, TMS or business software. You send the data needed for the calculation and retrieve the results in your own environment.<\/p>\n<\/details>\n\n\n\n<details class=\"wp-block-details apo-faq is-layout-flow wp-block-details-is-layout-flow\"><summary>How long does it take to integrate API Optim?<\/summary>\n<p class=\"wp-block-paragraph\">It depends on your software, your data structure and the features to integrate. Our team can review your project and support you through the integration steps.<\/p>\n<\/details>\n<\/div>\n<\/div>\n<\/section>\n\n<section class=\"wp-block-group alignfull apo-dark has-base-color has-main-background-color has-text-color has-background has-link-color wp-elements-8 has-global-padding is-layout-constrained wp-container-core-group-is-layout-40f701bf wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--xx-large);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--xx-large);padding-left:var(--wp--preset--spacing--medium)\">\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-b62929bc wp-block-group-is-layout-constrained\">\n<p class=\"has-text-align-center apo-eyebrow wp-block-paragraph\">Take the next step<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Integrate the optimisation API for <em>milk collection.<\/em><\/h2>\n\n\n\n<p class=\"has-text-align-center has-main-accent-color has-text-color has-base-font-size wp-block-paragraph\">Could your customers\u2019 tankers collect more with a different compartment allocation? Let\u2019s talk about it, starting from your software and your customers\u2019 routes.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-aeb74038 wp-block-buttons-is-layout-flex\" style=\"margin-top:var(--wp--preset--spacing--medium)\">\n<div class=\"wp-block-button apo-arrow\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/apioptim.com\/en\/book-a-demo\/\">Request a demo<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline apo-arrow apo-arrow--external is-style-outline--3\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/api-optim.sinari.com\/doc\/mpt\/docs\/mpt\/\" target=\"_blank\" rel=\"noopener\">Read the documentation<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-text-color has-border-dark-color has-alpha-channel-opacity has-border-dark-background-color has-background is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-group alignwide is-layout-flow wp-container-core-group-is-layout-414b44ad wp-block-group-is-layout-flow\">\n<p class=\"apo-eyebrow apo-eyebrow--plain wp-block-paragraph\">Industries related to milk collection<\/p>\n\n\n\n<div class=\"wp-block-group is-layout-grid wp-container-core-group-is-layout-aaf97638 wp-block-group-is-layout-grid\">\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"92\" height=\"40\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/picto-secteur-combustibles.svg\" alt=\"\" class=\"wp-image-479\" style=\"width:92px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Fuel transport<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">Compartmentalised tankers and bulk liquid products that must never be mixed.<\/p>\n\n\n\n<p class=\"apo-link wp-block-paragraph\"><a href=\"https:\/\/apioptim.com\/en\/fuel\/\">Discover the solution<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"92\" height=\"40\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/picto-secteur-alimentation-animale.svg\" alt=\"\" class=\"wp-image-476\" style=\"width:92px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Animal feed<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">The same farms, supplied by compartmentalised bulk tankers.<\/p>\n\n\n\n<p class=\"apo-link wp-block-paragraph\"><a href=\"https:\/\/apioptim.com\/en\/animal-feed\/\">Discover the solution<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-border-color has-border-dark-border-color has-primary-alt-accent-background-color has-background is-layout-flow wp-container-core-group-is-layout-fc2cdec4 wp-block-group-is-layout-flow\" style=\"border-width:1px;border-radius:20px;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"92\" height=\"40\" src=\"https:\/\/apioptim.com\/wp-content\/uploads\/2026\/11\/picto-secteur-multi-temperatures.svg\" alt=\"\" class=\"wp-image-481\" style=\"width:92px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Multi-temperature transport<\/h3>\n\n\n\n<p class=\"has-main-accent-color has-text-color has-small-font-size wp-block-paragraph\">For packaged dairy products delivered at different temperatures.<\/p>\n\n\n\n<p class=\"apo-link wp-block-paragraph\"><a href=\"https:\/\/apioptim.com\/en\/multi-temperature\/\">Discover the solution<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>Industries \u203a Milk collection Milk collection \u00b7 compartmentalised insulated tankers Add route optimisation to your software for milk collection. Help your customers make full use of their tankers\u2019 capacity, even with compartments of different volumes. API Optim assigns each type of milk to the right compartments and optimises the routes, from the first farm to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-no-title","meta":{"wpai_generated_summary":"","footnotes":""},"class_list":["post-978","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/pages\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":16,"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/pages\/978\/revisions"}],"predecessor-version":[{"id":1106,"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/pages\/978\/revisions\/1106"}],"wp:attachment":[{"href":"https:\/\/apioptim.com\/en\/wp-json\/wp\/v2\/media?parent=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}