MockHero

weight

E-commerce

Generate 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 kg

API 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

Try it now

Generate weight data instantly in the playground.

Generate Weight + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free