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}GET /V1/configurable-products/{sku}/options/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
  "id": "<integer>",
  "attribute_id": "<string>",
  "label": "<string>",
  "position": "<integer>",
  "is_use_default": "<boolean>",
  "values": [
    {
      "value_index": -7808202,
      "extension_attributes": {}
    },
    {
      "value_index": 36675501,
      "extension_attributes": {}
    }
  ],
  "extension_attributes": "<object>",
  "product_id": "<integer>"
}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}PUT /V1/configurable-products/{sku}/options/{id} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 332
{
  "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>"
  }
}66689314Remove 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}DELETE /V1/configurable-products/{sku}/options/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
trueSave 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}/optionsPOST /V1/configurable-products/{sku}/options HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 332
{
  "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>"
  }
}66689314