ReDoc documentation

configurable-products/{sku}/options/{id}

configurable-products/{sku}/options/{id}

Get option for configurable product

Request
path Parameters
sku
required
string
id
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

get/V1/configurable-products/{sku}/options/{id}
Response samples
{
  • "id": 0,
  • "attribute_id": "string",
  • "label": "string",
  • "position": 0,
  • "is_use_default": true,
  • "values": [
    ],
  • "extension_attributes": { },
  • "product_id": 0
}

configurable-products/{sku}/options/{id}

Save option

Request
path Parameters
sku
required
string
id
required
string
Request Body schema:
required
object (configurable-product-data-option-interface)

Interface OptionInterface

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

put/V1/configurable-products/{sku}/options/{id}
Request samples
{
  • "option": {
    }
}
Response samples
0
0

configurable-products/{sku}/options/{id}

Remove option from configurable product

Request
path Parameters
sku
required
string
id
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

delete/V1/configurable-products/{sku}/options/{id}
Response samples
true