Body
Required
-
componentVariantId
integer(int32) Required Component variant
-
quantity
integer(int32) Required Quantity
Default value is
1
. -
variantId
integer(int32) Required Variant
POST
/bundle-variants.json
curl \
--request POST 'http://api.example.com/v1/bundle-variants.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"componentVariantId":42,"quantity":1,"variantId":42}'
Request examples
{
"componentVariantId": 42,
"quantity": 1,
"variantId": 42
}
Response examples (200)
{
"componentVariantId": 42,
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"quantity": 1,
"updatedAt": "2025-05-04T09:42:00Z",
"variantId": 42
}