The disclosure provides a one-click ordering method for a washing machine and the washing machine. The method comprises: S1, enabling the washing machine to receive a trigger signal; S2, sending an ordering command to a server, wherein the ordering command comprises identity recognition information and an identifier of the trigger signal; and S3, enabling the server to search for commodity attribute information, consignee information and payment manner corresponding to the ordering command, and generate a commodity order after the server receives the ordering command. When receiving the trigger signal, the washing machine sends the ordering command to the server; after reception of the ordering command, the server automatically generates the commodity order; in such a manner, when a commodity is used up, the preset corresponding commodity may be rapidly purchased on the washing machine, the shopping operation of a user is simplified, the shopping time of the user is saved, the shopping efficiency of the user