Skip to main content

Detach Product

PUT /v1/product/:id/detach/

Removes a product attachment relationship, detaching a previously required component from its parent product. This endpoint updates the product configuration to remove the specified product from the required components list. Returns the updated product with the attachment relationship removed.

Query Parameters

  • filter[tenant] - Parameter for filter[tenant]

Request Example

PUT /v1/product/:id/detach/?filter[tenant]=685498954146b339e63e71b1

Request Body

{
"required": [
"106c77644024d1394e410021"
]
}

Response Example

{
"id": "product-id-1",
"name": "Example Product",
"required": [],
"updated": "2025-01-02T00:00:00.000Z"
}