Find Extra Option Metafield
API operation: Open the endpoint in Scalar
Use GET /business/{business_id}/extras/{extra_id}/options/{option_id}/metafields/{metafield_id} to retrieve one metafield from an extra option. The operation is ExtraOptionMetafield.find.
The operation requires administrator or business-manager authentication. The controller verifies the complete business-extra-option-metafield chain before returning the record.
See List extra option metafields and Extra attributes (Metafields).
OpenAPI reference
Operation: GET /business/{business_id}/extras/{extra_id}/options/{option_id}/metafields/{metafield_id}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
business_id | integer | Yes | — |
extra_id | integer | Yes | — |
option_id | integer | Yes | — |
metafield_id | integer | Yes | — |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
params | string | No | Comma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields. |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |