Get option for configurable product
Get option for configurable product
GET /V1/configurable-products/{sku}/options/{id}
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/configurable-products/{sku}/options/{id}
Response examples (200)
{
"id": 42,
"attribute_id": "string",
"label": "string",
"position": 42,
"is_use_default": true,
"values": [
{
"value_index": "string",
"extension_attributes": {}
}
],
"extension_attributes": {},
"product_id": 42
}
Response examples (400)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}