Defines a new kit: the kit SKU it produces, its components with optional pinned inventory batches, and the assembly instructions, photos and video, as in the Hive app's kitting form. No kit is assembled until a kitting request names the definition; to define a kit and request it in one call, send the definition inline to POST /kitting_requests instead.
Photos are downloaded from the given URLs when the definition is created, so each URL must be publicly reachable. The definition is refused with a 422 when fulfillment is paused for the merchant, when the kit SKU or a component SKU is not the merchant's, when a component repeats the kit SKU or another component, when a pinned batch is not of its component's SKU, when a component's pinned batches do not add up to its quantity_per_kit, or when a photo cannot be downloaded.
The component SKUs one kit is assembled from, in assembly order; each SKU at most once, and never the kit SKU itself
Name of the kit definition; defaults to the kit SKU's name followed by a sequence number
Photos showing how the kit is assembled, downloaded from their URLs when the definition is created
Hive's SKU identifier of the kit SKU the definition produces; it must be one of the merchant's SKUs
- Mock serverhttps://hive-merchant-api.redocly.app/_mock/merchant-api-v2/mapi_v2_oas31/kit_definitions
- Production APIhttps://app.hive.app/merchant_api/v2/kit_definitions
- Staging APIhttps://staging.app.hive.app/merchant_api/v2/kit_definitions
curl -i -X POST \
https://hive-merchant-api.redocly.app/_mock/merchant-api-v2/mapi_v2_oas31/kit_definitions \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"sku_id": 586004,
"instructions": "Place the tea at the bottom and the mug on top, then close the box with the ribbon.",
"video_url": "https://videos.example.com/giftbox-assembly",
"photos": [
{
"url": "https://images.example.com/giftbox-assembled.jpg"
}
],
"components": [
{
"sku_id": 161820,
"quantity_per_kit": 2,
"instructions": "Labels facing up",
"inventory_batches": [
{
"inventory_batch_id": 123456,
"quantity": 2
}
]
},
{
"sku_id": 161821,
"quantity_per_kit": 1
}
]
}'Kit definition created successfully
The component SKUs one kit is assembled from, in the order of the definition
Hive's unique identifier for this kit definition; pass it as kit_definition_id to POST /kitting_requests
Name of the kit definition; when none was given, the kit SKU's name followed by a sequence number
The merchant's SKU identifier of the kit SKU the definition produces
{ "id": 9311, "name": "Christmas gift box 0003", "sku_id": 586004, "sku_code": "GIFTBOX-XMAS", "instructions": "Place the tea at the bottom and the mug on top, then close the box with the ribbon.", "video_url": "https://videos.example.com/giftbox-assembly", "components": [ { … }, { … } ], "photos": [ { … } ], "created_at": "2026-09-01T09:12:44.512+02:00", "updated_at": "2026-09-01T09:12:44.512+02:00" }