Open Inventory / Docs
EndpointsManufacturingResourcesIdBom

Reset a variant's bill of materials to its primary item

The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.

DELETE
/resources/{id}/bom

Removes manual BOM overrides for a linked first-class variant while preserving configured component selections. Primary and standalone items cannot use this operation.

Authorization

bearerAuth
headerAuthorizationBearer <inv_ token>

Path Parameters

id*string
Formatuuid

Header Parameters

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Response Body

Reset effective bill of materials

application/json
  1. response
resource*
components*array<>
buildableQuantity*integer
Range0 <= value
inheritance*|null
Example Request
curl -X DELETE 'https://inventory.example.com/api/v1/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/bom'
Example Response
{  "resource": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "quantity": 0,    "trackingMode": "bulk"  },  "components": [    {      "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",      "resourceIds": [        "195224a6-1e4c-49ac-860d-ffd7b0578a56"      ],      "targetSelectionMode": "all",      "allowVariantSelection": true,      "quantityPerAssembly": 1,      "position": 0,      "note": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slotKey": "string",      "origin": "local",      "name": "string",      "sku": "string",      "availableQuantity": 0,      "trackingMode": "bulk",      "cover": {        "url": "string",        "altText": "string"      },      "availableUnits": [        {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "code": "string",          "location": "string"        }      ],      "choices": [        {          "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",          "name": "string",          "sku": "string",          "availableQuantity": 0,          "trackingMode": "bulk",          "cover": {            "url": "string",            "altText": "string"          },          "availableUnits": [            {              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",              "code": "string",              "location": "string"            }          ],          "isPrimary": true        }      ]    }  ],  "buildableQuantity": 0,  "inheritance": {    "primaryResourceId": "78ec449b-98ae-431f-8d08-a3d237c7494b",    "primaryName": "string",    "overrideCount": 0  }}