Detach product from another product. Detaching product from product means removing the predefined connection between a main product and its attached service product(s), so that the service is no longer automatically suggested or included during booking.
Endpoint
POST /products/{id}/detachAuthentication
Required: Authorization header with valid token
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Product unique identifier |
Request Body
{
"productId": "uuid"
}Required Fields
productId- UUID of the product to detach
Response
Success
{
success: true
}
GeneralError
Example Usage
curl -X POST "https://integration-api.ram.syniotec.com/master-data/v1/product-management/products/123e4567-e89b-12d3-a456-426614174000/detach" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"productId": "456e7890-e89b-12d3-a456-426614174000"
}'