ReDoc documentation

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

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

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

Get option for configurable product

Request
path Parameters
id
required
integer
sku
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

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}

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

Save option

Request
path Parameters
id
required
string
sku
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

Request samples
{
  • "option": {
    }
}
Response samples
0
0

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

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

Remove option from configurable product

Request
path Parameters
id
required
integer
sku
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
true