Options

configurable Product Option Repository V1Get Get

get

Get option for configurable product

Path parameters
skustringRequired

(Required)

Example: <string>
idstringRequired

(Required)

Example: <integer>
Responses
chevron-right
200

OK

application/json
Responseobject
get
/V1/configurable-products/{sku}/options/{id}

configurable Product Option Repository V1Save Put

put

Save option

Path parameters
skustringRequired

(Required)

Example: <string>
idstringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
chevron-right
200

OK

application/json
Responseobject
put
/V1/configurable-products/{sku}/options/{id}

configurable Product Option Repository V1Delete By Id Delete

delete

Remove option from configurable product

Path parameters
skustringRequired

(Required)

Example: <string>
idstringRequired

(Required)

Example: <integer>
Responses
chevron-right
200

OK

application/json
Responseobject
delete
/V1/configurable-products/{sku}/options/{id}

configurable Product Option Repository V1Save Post

post

Save option

Path parameters
skustringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
chevron-right
200

OK

application/json
Responseobject
post
/V1/configurable-products/{sku}/options