api_commerce_bundle_margin
Read-onlyIdempotent
Calculate per-product bundle cost, discount and contribution margin with fees and customer shipping. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | items; see operation description for units and format | |
| fee_pct | No | fee pct; see operation description for units and format | |
| bundle_price | Yes | bundle price; see operation description for units and format | |
| shipping_cost | No | shipping cost; see operation description for units and format |