ReDoc documentation

products/attributes/{attributeCode}/options/{optionId}

products/attributes/{attributeCode}/options/{optionId}

delete/V1/products/attributes/{attributeCode}/options/{optionId}

Delete option from attribute

Request
path Parameters
attributeCode
required
string
optionId
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
true

products/attributes/{attributeCode}/options/{optionId}

put/V1/products/attributes/{attributeCode}/options/{optionId}

Update attribute option

Request
path Parameters
attributeCode
required
string
optionId
required
integer
Request Body schema:
required
object (eav-data-attribute-option-interface)

Created from:

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

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