Get a Specific Exception

GET /api/exceptions/{exception_id}

This endpoint allows you to retrieve detailed information about a specific product option exception by its unique identifier.

Request Example

GET /api/exceptions/1
Success Response: If the request is successful, you'll receive HTTP/1.1 200 OK and a JSON response with the exception details.

Response Format

{
  "exception_id": "1",
  "product_id": "12",
  "combination": {
    "size": "small",
    "color": "red"
  },
  "position": 10,
  "price": "15.00",
  "stock": 5,
  "active": "Y"
}

Response Fields

Field Type Description
exception_id string The unique identifier of the exception
product_id string The ID of the product this exception belongs to
combination object The specific product option combination this exception applies to
position number The sorting position of this exception
price string The special price for this option combination
stock number The available stock for this option combination
active string Whether the exception is active (Y) or not (N)
Tip: Product option exceptions allow you to set special prices, stock levels, and other parameters for specific combinations of product options (like size+color combinations).