Options
Get option for configurable product
Path parameters
skustringRequiredExample:
(Required)
<string>idstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/configurable-products/{sku}/options/{id}Save option
Path parameters
skustringRequiredExample:
(Required)
<string>idstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"option":{"id":"<integer>","attribute_id":"<string>","label":"<string>","position":"<integer>","is_use_default":"<boolean>","values":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"extension_attributes":"<object>","product_id":"<integer>"}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/configurable-products/{sku}/options/{id}Remove option from configurable product
Path parameters
skustringRequiredExample:
(Required)
<string>idstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
/V1/configurable-products/{sku}/options/{id}Save option
Path parameters
skustringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"option":{"id":"<integer>","attribute_id":"<string>","label":"<string>","position":"<integer>","is_use_default":"<boolean>","values":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"extension_attributes":"<object>","product_id":"<integer>"}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/configurable-products/{sku}/options