curl --request POST \
--url 'https://api.stateset.com/api/v1/unit-conversion-rules' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"factor": "string",
"from_uom_id": "string",
"product_id": null,
"rule_type": "string",
"to_uom_id": "string"
}'