Load the parent option for suboptions
Use the literal option value in params when a suboption response must include its parent ExtraOption. The nested route already supplies option_id; the controller does not require a separate extra_option_id query parameter for this relation.
GET /business/{business_id}/extras/{extra_id}/options/{option_id}/suboptions?params=option
Sanitized structural example:
{
"error": false,
"result": [
{
"id": 172,
"extra_option_id": 53,
"name": "Example choice",
"option": {
"id": 53,
"extra_id": 49,
"name": "Example option",
"extra": {
"id": 49,
"name": "Example extra"
}
}
}
]
}
The example shows relation identity only; the response fields depend on the operation and requested params.
See the extra option suboption model and extra option model.