To update an existing product option exception, send a PUT request to the endpoint with the exception ID in the URL.
PUT /api/exceptions/10
Include the exception details in the HTTP request body according to the specified Content-Type. None of the fields are required.
| Parameter | Type | Required | Description |
|---|---|---|---|
combination |
object | No | The combination of option variants that form this exception |
{
"combination": {
"3": "-1",
"4": "18",
"17": "60"
}
}
This request changes the option variants that form the exception. The combination includes:
combination object, you must specify all options that should be part of the exception. Any options not included in the request will be removed from the exception.
{
"exception_id": "10"
}
| Status Code | Description |
|---|---|
200 OK |
Exception was updated successfully |
400 Bad Request |
Invalid request parameters |
404 Not Found |
Exception with the specified ID does not exist |