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

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

delete/V1/products/attributes/{attributeCode}/options/{optionId}
Response samples
true

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

put/V1/products/attributes/{attributeCode}/options/{optionId}
Request samples
{
  • "option": {
    }
}
Response samples
true