Pricing

Create a new adder or discount having a monetary value.

post/tenants/{tenant_id}/designs/{design_id}/pricing/adders

Request

  • Base URL
    https://api-sandbox.aurorasolar.com
  • URL
    https://api-sandbox.aurorasolar.com/tenants/{tenant_id}/designs/{design_id}/pricing/adders
  • Auth
    HTTP bearer

Path parameters

tenant_idstring uuid required

The ID of the tenant to create the adder for.

design_idstring uuid required

The ID of the design to create the adder for.

Request body

Example request

{
  "adder": {
    "adder_name": "Steep roof surcharge",
    "adder_value": 1000,
    "quantity": 12.7,
    "eligible_for_cbi": true,
    "additional_charges": []
  }
}

Response

Adder successfully created.

Example response

{
  "adder": {
    "adder_name": "Steep roof surcharge",
    "adder_value": 1000,
    "quantity": 12.7,
    "eligible_for_cbi": true,
    "additional_charges": [],
    "adder_type": "flat",
    "percentage_basis": "net_system_cost"
  }
}

Changes

    • info

      added subschema #1 subschema #2 to the response property allOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response property allOf list for the response status