v1

latestOpenAPI 3.0.02026-07-241010520.6 KB
Designs

Update Racking Bill of Materials

Update the racking portion of a design's bill of materials.


Allows creating and overwriting of racking components on a design's bill of materials.

put/tenants/{tenant_id}/designs/{design_id}/bill_of_materials/racking_components

Path parameters

tenant_idstring uuid required

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

design_idstring uuid required

The ID of the design to update the racking bill of materials for.

Request body

Example request

{
  "bill_of_materials": [
    {
      "sku": "XR-1000-168A",
      "name": "Aurora Sample Racking Component",
      "manufacturer_name": "Aurora Sample Manufacturer",
      "quantity": 9
    }
  ]
}

Response

Racking Bill of Materials successfully updated.

Example response

{
  "bill_of_materials": [
    {
      "component_type": "modules",
      "name": "Aurora Sample Solar Panel",
      "manufacturer_name": "Aurora Sample Manufacturer",
      "quantity": 1
    }
  ]
}