If goods that are delivered are defective a buyer has to reject them immediately (within a reasonable time). He has to notify the seller that he rejects and thereby cancels the contract.
The seller then has the chance to "cure" the problem, that is to send the correct items, or to walk away...