I assume you are referring to detergent for clothes?
This is extracted from the BFPO guidelines:
"Containers of Liquids up to 1 litre are allowed.
Packaging guidelines: Wrap in polythene and seal with tape. Surround with absorbent material and cushioning to prevent breakage"
Basically it is at your risk to send.
Maybe detergent pods would be a better option?