sku
BusinessGenerate realistic product SKU codes with optional prefixes. Formatted like real inventory codes: BLK-SHOE-42-001. Useful for e-commerce and warehouse systems.
Example Outputs
BLK-SHOE-42-001ELC-PHONE-128-PROFRN-CHAIR-OAK-MParameters
| Parameter | Description |
|---|---|
| prefix | Optional SKU prefix |
API Usage
Send a POST request to generate sku 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": "sku",
"type": "sku",
"params": {
"prefix": "PRD"
}
}
]
}
]
}'Common Use Cases
- Inventory management testing
- E-commerce catalog seeding
- Warehouse system testing
- Barcode testing
Quick Info
- Field Type
- sku
- Category
- Business
- Parameters
- 1 parameter
- Output Format
- JSON, CSV, SQL
Related Types
Generate SKU + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.