Detergent dispensor

The blue latch on the detergent dispensor is broken. Do we have to buy the whole assembly to fix it, or can we just buy the part?
Thanks, very much.

Here are your parts
Replacement parts for WHIRLPOOL KUDS25SHBS0 | AppliancePartsPros.com

If you mean the dispenser cap it is available separately Item 1 in Section 3.