Compare bundle margin with separate sales
ecommerce-profitability_bundle-pricingCompute separate and bundle margins, discount depth, margin delta and the break-even bundle price from caller component and bundle fees. Price $0.02 USDC. POST /api/v1/ecommerce-profitability/bundle-pricing. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"components": "<components>",
"bundle": "<bundle>"
},
"name": "ecommerce-profitability_bundle-pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | bundle, object. Required. | |
| components | Yes | components, array. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | No | bundle. Object. | |
| sources | No | sources. Array. | |
| separate | No | separate. Object. | |
| limitations | No | limitations. Array. | |
| marginDelta | No | marginDelta. Number. | |
| discountDepth | No | discountDepth. Number. | |
| breakEvenBundlePrice | No | breakEvenBundlePrice. Number. |