The invention provides a caterpillar vending machine. The caterpillar vending machine comprises a goods replenishing unit, m transshipment units, n container units, a detection control unit, a cloud side management platform and a payment system; the goods replenishing unit, the transshipment units and the container units are connected in sequence, and the integrated caterpillar vending machine isformed, wherein m and n are both natural numbers except 0, when n=1, m=1, and when n>1, m=n+1; regarding the m transshipment units and the n container units, when n>1 and m=n+1, the transshipment units and the container units are connected in an alternated and arranged mode, and the last unit is the transshipment unit; when n=1 and m=1, the transshipment units and the container units are of an integrated structure. The caterpillar vending machine solves the problem of a traditional vending machine that manual work is relied on to replenish goods, goods replenishing is troublesome, time and labor are wasted, and the adaptability of vended commodities are poor.