The Australian Competition and Consumer Commission is celebrating a partial win against the supermarket giants' fuel shopper docket discounts today.

The Federal Court ruled that Woolworths breached its undertaking with the ACCC not to offer supermarket fuel discounts of more than four cents, but that Coles was within the boundaries of the agreement.

The case was centred around the supermarkets linking discounts at their petrol stations to grocery shopping, making it harder for smaller retailers to compete.