Palbase Commerce & Promotions · API
POST
/commerce/variants/{variant_id}/bundle-itemsSet bundle component variants
Set bundle component variants
Called by your server, with the project's secret key.
Path
variant_idstring · requiredPath parameter variant_id.curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/variants/<variant_id>/bundle-items" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{}'Responses
200Set bundle component variants
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation SetBundleItems of commerce's contract.