products/attributes/{attributeCode}/options

products/attributes/{attributeCode}/options

get/V1/products/attributes/{attributeCode}/options

Retrieve list of attribute options

Request
path Parameters
attributeCode
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
[
  • {
    }
]

products/attributes/{attributeCode}/options

post/V1/products/attributes/{attributeCode}/options

Add option to attribute

Request
path Parameters
attributeCode
required
string
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
"string"