weight
E-commerceGenerate weight values with units (e.g., '2.5 kg', '1.2 lbs'). For shipping calculations, product specs, and logistics testing.
Example Outputs
2.5 kg0.8 kg5.0 kg15.3 kgAPI Usage
Send a POST request to generate weight data:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "example",
"count": 5,
"fields": [
{
"name": "weight",
"type": "weight"
}
]
}
]
}'Common Use Cases
- Shipping rate calculation
- Product specifications
- Logistics testing
Quick Info
- Field Type
- weight
- Category
- E-commerce
- Parameters
- None required
- Output Format
- JSON, CSV, SQL
Related Types
Generate Weight + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.