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
}
FieldTypeDescription
dataarrayList of bundle objects
totalintegerTotal number of bundles
FieldTypeDescription
idstringUnique bundle identifier (the parent SKU’s product id)
namestringBundle name
contentsarrayThe child SKUs the bundle is made up of (see Bundle Content Object below)
FieldTypeDescription
namestringName of the child SKU included in the bundle
StatusDescription
401Invalid or missing API key
500Internal server error