post
https://{yourinstance}.makaira.io/smart-bundle
Create a new bundle.
Creates a new smart bundle. Smart bundles allow you to define product groupings with configurable slots and slot connections that automatically find complementary products.
Requires authentication.
Request
POST /smart-bundle
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
title | object | Yes | Multilingual bundle title. Keys are language codes (e.g. {"en": "Complete Outfit", "de": "Komplettes Outfit"}). |
internal_title | string | Yes | Internal display name used in admin lists and searches. |
url | object | No | Multilingual URL for the bundle. Keys are language codes. |
slots | array | No | Array of slot definitions. Each slot specifies the product selection criteria for one position in the bundle. |
slot_connections | array | No | Array of slot connection rules. Defines how products in different slots are related (e.g. matching color or size). |
Example Request
{
"title": {
"en": "Complete Outfit",
"de": "Komplettes Outfit"
},
"internal_title": "Complete Outfit Bundle",
"slots": [
{
"title": {"en": "Main product"},
"datatype": "product"
},
{
"title": {"en": "Matching accessory"},
"datatype": "product"
}
]
}Response
Returns the created smart bundle object including its generated ID.
200OK

