v1

latestOpenAPI 3.0.02026-07-241010520.6 KB
Pricing

Update Design Pricing

Update pricing for an existing design.

put/tenants/{tenant_id}/designs/{id}/pricing

Path parameters

tenant_idstring uuid required

The ID of the tenant that the design is part of.

idstring uuid required

The ID of the design to update pricing details for.

Request body

Example request

{
  "pricing": {
    "flat_system_price": 40000,
    "price_per_watt": 1.99,
    "storage_flat_system_price": 8000,
    "heat_pump_flat_system_price": 6000
  }
}

Response

Design Pricing successfully updated.

Example response

{
  "pricing": {
    "flat_system_price": 5000,
    "price_per_watt": 4.3,
    "storage_flat_system_price": 8000,
    "heat_pump_flat_system_price": 8000,
    "pricing_by_component": [
      {
        "name": "Aurora Sample Solar Panel",
        "manufacturer_name": "Aurora Sample Manufacturer",
        "price": 196.35,
        "quantity": 11,
        "component_type": "modules"
      }
    ],
    "incentives": [
      {
        "name": "Solar PV Energy Tax Credit - Personal",
        "incentive_type": "cbi",
        "amount": 25,
        "disbursement": "tax_credit_rebate",
        "duration": 10,
        "cap": 35000,
        "incentive_scope": "local",
        "system_size_basis": "stc"
      }
    ],
    "adders": [
      {
        "id": "6ffee90f-116f-470e-9593-8067b2ded44e",
        "adder_name": "Steep roof surcharge",
        "adder_type": "flat",
        "adder_value": 1000,
        "is_hidden": false,
        "additional_charges": [
          {
            "name": "Processing Fee",
            "percentage": 2.5
          },
          {
            "name": "Service Fee",
            "percentage": 1
          }
        ]
      }
    ],
    "system_price_breakdown": [
      {
        "item_type": "base_price",
        "item_price": 72240,
        "cumulative_price": 73240,
        "subcomponents": [
          {
            "item_price": 1000,
            "quantity": 10,
            "adder_name": "Steep roof surcharge",
            "adder_total": 1000,
            "additional_charges_total": 35,
            "total_with_additional_charges": 1035,
            "additional_charges": [
              {
                "name": "Processing Fee",
                "percentage": 2.5,
                "amount": 25
              }
            ]
          }
        ]
      }
    ],
    "storage_system_price_breakdown": [
      {
        "item_type": "base_price",
        "item_price": 7500,
        "cumulative_price": 7750,
        "subcomponents": [
          {
            "item_price": 1000,
            "quantity": 10,
            "adder_name": "Steep roof surcharge",
            "adder_total": 1000,
            "additional_charges_total": 35,
            "total_with_additional_charges": 1035,
            "additional_charges": [
              {
                "name": "Processing Fee",
                "percentage": 2.5,
                "amount": 25
              }
            ]
          }
        ]
      }
    ],
    "heat_pump_system_price_breakdown": [
      {
        "item_type": "base_price",
        "item_price": 8000,
        "cumulative_price": 8000,
        "subcomponents": [
          {
            "item_price": 1000,
            "quantity": 10
          }
        ]
      }
    ],
    "energy_optimization_price_breakdown": [
      {
        "item_type": "base_price",
        "item_price": 7500,
        "cumulative_price": 7750,
        "subcomponents": [
          {
            "item_price": 1000,
            "quantity": 10,
            "adder_name": "Steep roof surcharge",
            "adder_total": 1000,
            "additional_charges_total": 35,
            "total_with_additional_charges": 1035,
            "additional_charges": [
              {
                "name": "Processing Fee",
                "percentage": 2.5,
                "amount": 25
              }
            ]
          }
        ]
      }
    ],
    "system_price": 79740
  }
}