Skip to content

Bundles

Returns every bundle (a parent SKU sold as a kit) configured for your account, together with the child SKUs it’s composed of.

GET/api/v1/bundles
Terminal window
curl -X GET "https://api.prediko.io/api/v1/bundles" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "King's Fury Starter Kit",
"contents": [
{ "name": "King's Fury Beard Conditioner" },
{ "name": "King's Fury Beard Oil" }
]
}
],
"total": 1
}
Field Type Description
data array List of bundle objects
total integer Total number of bundles
Field Type Description
id string Unique bundle identifier (the parent SKU’s product id)
name string Bundle name
contents array The child SKUs the bundle is made up of (see Bundle Content Object below)
Field Type Description
name string Name of the child SKU included in the bundle
Status Description
401 Invalid or missing API key
500 Internal server error