configurable Product Option Repository V1Save Put
PUT {{baseUrl}}/V1/configurable-products/:sku/options/:id
Save option
Request Body
{"option"=>{"attribute_id"=>"<string>", "extension_attributes"=>"<object>", "id"=>"<integer>", "is_use_default"=>"<boolean>", "label"=>"<string>", "position"=>"<integer>", "product_id"=>"<integer>", "values"=>[{"value_index"=>"<integer>", "extension_attributes"=>"<object>"}, {"value_index"=>"<integer>", "extension_attributes"=>"<object>"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
""