Options
Update attribute option
Path parameters
attributeCodestringRequiredExample:
(Required)
<string>optionIdstringRequiredExample:
(Required)
<integer>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
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
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/products/attributes/{attributeCode}/options/{optionId}Delete option from attribute
Path parameters
attributeCodestringRequiredExample:
(Required)
<string>optionIdstringRequiredExample:
(Required)
<string>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
/V1/products/attributes/{attributeCode}/options/{optionId}Retrieve list of attribute options
Path parameters
attributeCodestringRequiredExample:
(Required)
<string>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/products/attributes/{attributeCode}/optionsAdd option to attribute
Path parameters
attributeCodestringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
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
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/products/attributes/{attributeCode}/options