Options

catalog Product Attribute Option Update V1Update Put

put

Update attribute option

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
optionIdstringRequired

(Required)

Example: <integer>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"option":{"label":"Duis Lorem in sit","value":"velit eu in qui","sort_order":37793088,"is_default":true,"store_labels":[{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]}}
Responses
chevron-right
200

OK

application/json
Responseobject
put
/V1/products/attributes/{attributeCode}/options/{optionId}

catalog Product Attribute Option Management V1Delete Delete

delete

Delete option from attribute

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
optionIdstringRequired

(Required)

Example: <string>
Responses
chevron-right
200

OK

application/json
Responseobject
delete
/V1/products/attributes/{attributeCode}/options/{optionId}

catalog Product Attribute Option Management V1Get Items Get

get

Retrieve list of attribute options

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
Responses
chevron-right
200

OK

application/json
Responseobject
get
/V1/products/attributes/{attributeCode}/options

catalog Product Attribute Option Management V1Add Post

post

Add option to attribute

Path parameters
attributeCodestringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"option":{"label":"Duis Lorem in sit","value":"velit eu in qui","sort_order":37793088,"is_default":true,"store_labels":[{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}},{"store_id":{"value":"<Error: Too many levels of nesting to fake this schema>"},"label":{"value":"<Error: Too many levels of nesting to fake this schema>"}}]}}
Responses
chevron-right
200

OK

application/json
Responseobject
post
/V1/products/attributes/{attributeCode}/options