Detach Product From Another Product

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}/detach

Authentication

Required: Authorization header with valid token

Path Parameters

ParameterTypeRequiredDescription
idstringYesProduct unique identifier

Request Body

{
  "productId": "uuid"
}

Required Fields

  • productId - UUID of the product to detach

Response

Success

{
  success: true
}

GeneralError

GeneralErrorResponse Schema

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"
  }'