v1
latestSwagger 2.02026-07-13137761.0 MBAttribute option
Get an attribute option
This endpoint allows you to get the information about a given attribute option.
get/api/rest/v1/attributes/{attribute_code}/options/{code}
Path parameters
attribute_codestring required
Code of the attribute
codestring required
Code of the resource
Response
OK
Example response
{
"code": "black",
"attribute": "a_simple_select",
"sort_order": 2,
"labels": {
"en_US": "Black",
"fr_FR": "Noir"
}
}